AnsweredAssumed Answered

Re: i.MXRT1064 CANFD.  If the CAN message buffer payload for a region (0 or 1) is set to 8bytes, 16Byte or 32Byte or 64Byte, which affects the # message buffers, how is indexing into RXMASK registers affected?

Question asked by Paul Roberts on Dec 11, 2019
Latest reply on Jan 5, 2020 by Kerry Zhou

Re: i.MXRT1064 CANFD.  If the CAN message buffer payload for a region (0 or 1) is set to 8bytes, 16Byte or 32Byte or 64Byte, which affects the # message buffers, is indexing into RXMASK registers affected?   If so, is there a table showing the mapping?

 

Suppose for example:

1) I select 64Byte payload size for region 0 which gives me a total of 7 message buffers for region 0.  (MB0 through MB6?)

2) I select 16Byte payload size for region 1 which gives me a total of 21 message buffers for region 1.  (MB7 through MB27?)

3) Now suppose I want to set the RXMASK for "MB5", or for "MB27"?  Which   FLEXCANx_RXIMRnn registers do I use? 

4) Does similar mapping apply to the bits in FLEXCANx_IMASK1, FLEXCANx_IMASK2?

Outcomes