Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 05:23:51 17:23


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC16F1507 & PBP3: missing some register support?  (Read 6571 times)
0 Members and 1 Guest are viewing this topic.
enzine
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 643
-Receive: 57



« on: February 18, 2012, 09:26:13 21:26 »

Hello friends,
I'm working on a project for low frequency synthesis.
A recently introduced pic (PIC16F1507) contains a 20-bit  Numerically Controlled Oscillator (NCO) that greatly simplify such a project.
The micro PIC16F1507 is supported by the PBP3 (not earlier versions) and with your help  Wink  I'm writing the code for this project.
Much to my surprise I noticed that all its instructions for use of the registries of NCO were not accepted by the compiler!
I did not find any mention of this lack in the WEB.
The analysis of the file PIC16F1507.PBPINC has confirmed that ALL THE REGISTERS ASSOCIATED WITH NCO MODULE  are not present.
I was able to edit this file and now the code is compiled correctly.
My question is this:
this is an exception / error or it may be that other pic is partially supported by the PBP?

P.S.
Sorry for my English but I am of the Latin countries!   Cheesy Cheesy Cheesy Cheesy

PP.SS.
If it can be useful to someone, I'll be happy to post the file PIC16F1507.PBPINC modified.

Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4639

Thank You
-Given: 823
-Receive: 4194


There is no evidence that I muted SoNsIvRi


« Reply #1 on: February 19, 2012, 12:53:28 00:53 »

did you try PSD, as it looks like it supports the NCO resisters.
PSD also seems to have a better following.
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
enzine
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 643
-Receive: 57



« Reply #2 on: February 19, 2012, 11:09:47 11:09 »

did you try PSD, as it looks like it supports the NCO resisters.

when you say "PSD ", you mean Proton Development Suite?
If yes, this does not seem to support the pic16f1507.
The only basic compiler that supports this pic seems to be PBP3.
Am I wrong?

Ciao
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« Reply #3 on: February 19, 2012, 11:28:36 11:28 »

when you say "PSD ", you mean Proton Development Suite?
If yes, this does not seem to support the pic16f1507.

PDS supports the pic16f1507 (from version 3.5.2.9)

Edit:
but Proteus does not (yet)
« Last Edit: February 19, 2012, 11:46:17 11:46 by zuisti » Logged
joator
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 247
-Receive: 7



WWW
« Reply #4 on: February 19, 2012, 11:35:16 11:35 »

Yes enzine you are wrong  Smiley

Try the Mikroelektronika's Basic Compiler, it does support the PIC16F1507 among many PIC devices

http://www.mikroe.com

//joator
Logged

//Joator
enzine
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 643
-Receive: 57



« Reply #5 on: February 19, 2012, 11:47:22 11:47 »

The PDS is supported the the pic16f1507 (from version 3.5.2.9)

PDS supported microchips:

http://www.protonbasic.co.uk/content.php/1878

16f1507 not present!



What am I doing wrong?

Posted on: February 19, 2012, 12:45:14 12:45 - Automerged

Yes enzine you are wrong  Smiley

Try the Mikroelektronika's Basic Compiler, it does support the PIC16F1507 among many PIC devices

//joator

Thank you joator,
I will try this compiler

Ciao

Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #6 on: February 19, 2012, 01:06:53 13:06 »

That link isn't correct

Quote
Changes made to Beta version 3.5.2.9
Additions
Added signed variables SByte, SWord and SDword:
SByte can hold a value between -128 to 127
SWord can hold a value between -32768 to 32767
SDword can hold a value between -2147483648 to 2147483647
This is a major change in the compiler's operation and means that existing programs
using Dword variables as signed will need to change them to SDword as Dword
variables are now unsigned.
Added support for devices: 16F1503, 16F1507, 16F1526, 16F1527, 16F1847 and
12LF1840T48A
.
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC