STM32F4Discovery: Receiving CAN message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-07-30 10:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-07-30 10:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-01 3:59 AM
Put to Normal mode and then check what CAN_init returns ... in my case, if I put Normal mode and disconnect the CAN transceiver, I get Init_Failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-01 10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-01 11:04 AM
I have a question for you ... in manual (and CAN library), it says CAN Filter Number has to be between 0 and 13 ... you use 14. I found out that if I use a number between 0 and 13, I don't receive any message at all, but if I set it to 14, it accept them (all). Why so?
Cause you're using CAN2, a slaving device, and the default setting of CAN_FMR is that the filter base for the slave is 14. Use CAN_SlaveStartBank() if you want it set to something else. The CAN on the STM32F40x has 28 filters, the defaults assume 14 for each CAN1 and CAN2Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-01 9:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-01 9:56 PM
I still don't understanding the configuration of CAN Filtering . I have manage to understand the CAN list mode filtering but having a problem with Mask mode.
Suppose I want to filter Identifiers from (100 to 150). Can any one tell me the Mask filter settings and Values for both Extended identifier configuration and Standard Identifier configuration. Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-02 4:04 AM
You can find more if you search this forum for:
CAN Baud rate
Try this: // CAN Bitrate CAN_InitStructure.CAN_SJW=CAN_SJW_1tq; // SJW (1 bis 4 möglich)CAN_InitStructure.CAN_BS1=CAN_BS1_14tq; // Samplepoint 72%
CAN_InitStructure.CAN_BS2=CAN_BS2_6tq; // Samplepoint 72%
