Author |
Message |
Topic: PWM Trouble - PIC24EP512GU810 with CCS |
affonso.industra
Replies: 2
Views: 6601
|
Forum: General CCS C Discussion Posted: Fri Mar 22, 2013 12:07 pm Subject: PWM Trouble - PIC24EP512GU810 with CCS |
The problem was fixed using:
setup_compare(1, COMPARE_PWM_EDGE | COMPARE_TIMER2 | COMPARE_TRIG_SYNC_TIMER2);
The CCS support asked me to add COMPARE_TRIG_SYNC_TIMER2 and it works fine!
... |
Topic: PWM Trouble - PIC24EP512GU810 with CCS |
affonso.industra
Replies: 2
Views: 6601
|
Forum: General CCS C Discussion Posted: Thu Mar 21, 2013 12:04 pm Subject: PWM Trouble - PIC24EP512GU810 with CCS |
Hello,
I'm facing some troubles to put PWM module of PIC24EP512GU810 to work: it works fine, but I can't change its frequency!!
Here is the code:
#include <24EP512GU810.h>
#fuses HS,NO ... |
Topic: Trouble with PIC24EP512GU810 and PCD Compiler |
affonso.industra
Replies: 8
Views: 11841
|
Forum: General CCS C Discussion Posted: Fri Feb 01, 2013 10:16 am Subject: Trouble with PIC24EP512GU810 and PCD Compiler |
It is likely CCS isn't ready for this chip. I never could get the CCS debugger to work with this chip even with a simple flash a led test project. It is is a bit cumbersome to get this chip oscillatin ... |
Topic: Trouble with PIC24EP512GU810 and PCD Compiler |
affonso.industra
Replies: 8
Views: 11841
|
Forum: General CCS C Discussion Posted: Thu Jan 31, 2013 12:14 pm Subject: Trouble with PIC24EP512GU810 and PCD Compiler |
Doing some tests I noticed that after I2C stops working, which occur after a reset condition, I2C only starts working again after a new power up. It seems to be impossible to put I2C working again wit ... |
Topic: Trouble with PIC24EP512GU810 and PCD Compiler |
affonso.industra
Replies: 8
Views: 11841
|
Forum: General CCS C Discussion Posted: Thu Jan 31, 2013 10:29 am Subject: Trouble with PIC24EP512GU810 and PCD Compiler |
First, try enabling BROWNOUT in the fuses. There is an erratum for this chip, which _requires_ this to be set....
Might be your problem.
Come back if this doesn't improve things.
Best Wishes
... |
Topic: Trouble with PIC24EP512GU810 and PCD Compiler |
affonso.industra
Replies: 8
Views: 11841
|
Forum: General CCS C Discussion Posted: Thu Jan 31, 2013 9:37 am Subject: Trouble with PIC24EP512GU810 and PCD Compiler |
Hello,
My name is Alex and I'm developing a firmware for PIC24EP512GU810 using PCD compiler from CCS.
I'm facing some troubles with I2C using PCD compiler: my code works fine, but when I reset t ... |
|