FRED_SUN
Joined: 28 Jul 2008 Posts: 7
|
dsPic30 can bus interrupt |
Posted: Thu Jun 11, 2009 10:42 am |
|
|
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 :
Code: |
enable_interrupts(INT_CAN2);
delay_us(2000);
sleep(SLEEP_IDLE);
disable_interrupts(INT_CAN2); |
What can I do next?
Thanks!
Fred Sun |
|