STM32 of Can bus receiving dual FIFO using method

Source: Internet
Author: User
We can see from the following block diagram that the stm32f013 has two receive FIFO

Image: 1.png

But the actual use of how to let the two FIFO is used, the solution is here,
1. stm32f103 has 0-13 total of 14 filter groups, each of which can be bound to a specified FIFO.

Image: 1.png

Image: 2.png

2. In particular, it is important to note that the reception of FIFO0 and FIFO1 corresponds to different interrupt entrances, remember.
respectively is

DCD Usb_lp_can1_rx0_irqhandler; USB Low priority or CAN1 RX0
DCD Can1_rx1_irqhandler; CAN1 RX1
=========================================================================================
The screenshot below is a simple example block diagram that assigns a filter to a different FIFO


Total Score

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.