![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
xav27 Guest
|
PIC16F767 and EX_PWM |
Posted: Thu Apr 01, 2004 5:57 am |
|
|
Hello,
I'm having a project with a PIC16F767 (wich have 3 PWM)
PIC16F767 (28PDIP 8192 Program Memory, 368 SRAM, 25 I/O, 16 Interrupts, 11 channels 10 Bit A/D, 2 Comparators, 3 PWM, SPI, I2C, USART )
PCWH V1.387
ICD control programm V2.7
Since this PIC is not recognised by ICD, I have made the change in "Device Editor" and set the good ID 0EA1 and enable the ICD support.
Now its work good for downloading to Target hex file using ICD-S.
As I want to test its feature step by step, I tried to compile EX_PWM.C for the PIC16F767. Compilation OK, when I run the program RS232 OK but the cpu stop and does'nt show any AD conversion result (and nothing on PWM1).
Does someone can help me ?
Do I have to change something else in "Device editor" menu or is there a change to do in software due to this particular PIC ???
Thanks in advance.
Xavier |
|
![](templates/subSilver/images/spacer.gif) |
Ed
Joined: 08 Dec 2003 Posts: 1
|
Compiler bug with ADC configuration on the 16F767 |
Posted: Sat Apr 03, 2004 5:17 am |
|
|
I am using PCM 3.187. When I moved to the 16F767 from the 16F88, my ADC code stopped working, with the call to read_adc() now not returning.
Dumping the ADC configuration registers, the compiler does not appear to be correctly setting this up for the 16F767. I have reported this last week to CCS, who have investigated this, and have now imformed me a fix will be available in the next compiler release (3.189 I guess as 3.188 has just been release before I had notification of the fix). |
|
![](templates/subSilver/images/spacer.gif) |
xav27 Guest
|
PIC16F767 and ADC |
Posted: Mon Apr 05, 2004 2:14 am |
|
|
Thanks Ed for the answer.
Xavier |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|