CAN interrupt callback while using FreeRTOS. As ususal ,I'm trying to access the CANRxFrame through RX callback interrupt, but while using freeRTOS , the interrupt is not getting generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-09 2:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-09 6:50 AM
Hello prashanth ,
Have you enable the CAN interruption and set the corresponding IO Settings ?
You should use the debugger and check the status of your CAN IP.
Best Regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-09 6:56 AM
Hello Erwan,
Thanks for your prompt response.
Now, it is working fine.
Actually, there was some mismatching in pin mapping while code generation. That's why both transmit and receive APIs aren't working correctly.
I've another question here, where can I find the piece of code, in which the data pointer to CAN0TX and CAN0RX are mapped to PB[0] & PB[1]? This could help me even understand better.
Thanks in advance.
Prashanth Mohan.
