Author |
Message |
Topic: dsPic30 can bus interrupt |
FRED_SUN
Replies: 0
Views: 2643
|
Forum: General CCS C Discussion Posted: Thu Jun 11, 2009 10:42 am Subject: dsPic30 can bus interrupt |
I am working on dspic30f5011, I setup can bus interrupt, but it can not wake up when the can bus send data in, I do not know why? My code is :
enable_interrupts(INT_CAN2);
delay_us(200 ... |
Topic: How many setting can I change when I use CCS CANBUS SOLUTION |
FRED_SUN
Replies: 0
Views: 1929
|
Forum: General CCS C Discussion Posted: Fri Feb 20, 2009 5:33 pm Subject: How many setting can I change when I use CCS CANBUS SOLUTION |
Hi,
I am working on CANBUS with CCS CANBUS package, it works between two of my boards, but it never works when I try to read some information from the ODB II of a truck. I have already set the baud r ... |
Topic: transforms between signed and unsigned data |
FRED_SUN
Replies: 3
Views: 5056
|
Forum: General CCS C Discussion Posted: Fri Jan 30, 2009 5:02 pm Subject: transforms between signed and unsigned data |
Hi,
I need to do pid calculate in the interrupt, a signed int32 data, div by 60000, it take too long. I use make8() to take 2 hi bytes, then use make16 to make a 16bit data, but how can I handle it? ... |
Topic: how can I change the baud rate in CAN bus KIT |
FRED_SUN
Replies: 1
Views: 2971
|
Forum: General CCS C Discussion Posted: Tue Dec 09, 2008 3:23 pm Subject: how can I change the baud rate in CAN bus KIT |
We buy the CAN BUS kit for our project, but it only works in 125k baud rate, now we need to run it at 500k, what can I do? the file for baud rate setting is:
void can_set_baud(void) {
... |
Topic: Brownout setting |
FRED_SUN
Replies: 5
Views: 5829
|
Forum: General CCS C Discussion Posted: Tue Jul 29, 2008 10:46 am Subject: Brownout setting |
You might want to check the new K-series chips (like 18F25K20) they have the brownout reset under software control with many options, like automatically disabling it when sleeping, etc.
...though i ... |
Topic: Brownout setting |
FRED_SUN
Replies: 5
Views: 5829
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2008 4:55 pm Subject: Brownout setting |
You probably can't.
Tell us what chip?.
On most, the brownout setting, is a fuse only setting, and cannot be changed, once the chip is running.
Turning brownout 'off' in sleep, rather spoils the po ... |
Topic: Brownout setting |
FRED_SUN
Replies: 5
Views: 5829
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2008 2:38 pm Subject: Brownout setting |
Hi,
I need to set BROWNOUT in order to make sure it will work fine when I change battery. But in sleep mode, BROWNOUT cost about 40 uAmp, how can I set NOBROWNOUT before it go to sleep, and recover i ... |
|