FlexCAN Message Filtering

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FlexCAN Message Filtering

804件の閲覧回数
juanigevo
Contributor I

Hello,

I'm developing an application on one of the Cortex-M4 using flexCAN.

Using the "flexcan_interrupt_transfer" from the SDK as a base for my development a question about ID filtering arised. I'm using standard ID and data frames, nothing out of the ordinary. At this point I am able to filter a single ID or let all ID pass. However, I'd like to know if it is possible to filter determined ranges of ID. The software I'm doing is for a device controller that sends and receives messages to and from a bunch of other devices (CAN nodes), so I want to filter all the messages that my device is supposed to receive from the other devices and not all of the spectrum of ID (from 1 to 2047).

Also, I'd like to know if it is possible to assign a Message Buffer to a determined range of ID, for example, ID 1 to 100 to Rx MB 1, ID 101 to 200 to Rx MB 2, and so on.

Thanks in advance,

Juan

ラベル(1)
0 件の賞賛
返信
1 返信

792件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may try by modifying the rxIdentifier value to the ID you expect to receive from.

Best regards,
Aldo.

0 件の賞賛
返信