The purpose of this demo application is to show you the usage of the FlexCAN module
configured to use CAN FD and Enhance RXFIFO using the S32 RTD API.
- This demo application requires two boards, or single board connected with CAN tool.
- CAN FD is enabled with bitrate 500/2000 kbps
- MB0 is configured to transmit either std. or ext ID
- MB1 is configured to receive ext ID 0xFACE and MB2 to receive std ID 0x1
- Enhanced RXFIFO is enabled and 3 enhanced RXFIFO filter elements (filter + mask scheme) are defined
ext ID 0xABCD with mask 0x1FFFFFFF
std ID 0x123 with mask 0x7FF
std ID 0x456 with mask 0x7FF
- DMA is used to read enhanced RXFIFO, watermark is set to 5
- Callback function is used as well to handle TX and RX process in MBs and
Enhanced RXFIFO after DMA complete 5 reading of RXFIFO
------------------------------------------------------------------------------
Test HW: S32K3444EVB-Q172
MCU: PS32K344EHVPBS 1P55A
Compiler: S32DS.ARM.3.5
SDK release: S32K3_RTD_4_0_0_D2311
Debugger: Lauterbach
Target: internal_FLASH