IMASK1 or IMASK2 in FlexCAN Modul

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMASK1 or IMASK2 in FlexCAN Modul

642 Views
mkrug
Contributor II

Hi,

I was playing around with the FlexCAN Modul of a Kinetis K60. Beside that I found it not so easy to understand the overall functionality (is there a general user manual for FlexCAN?) I was not able to find the difference of IMASK1 and IMASK2 register (respectively IFLAG1 and IFLAG2). The '1' Version of the registers seem to have the functionality for the FIFO mode. However I do not use that mode. Does that mean the '1' and '2' versions are equal?

The only difference I reallized is that if I access the '2' version of the corresponding registers my application crashes with something like bus error I guess (have not verified that yet - it just jumps to the collecting 'CPU interrupt' of Processor Expert).

Best Regards

Markus

Labels (1)
0 Kudos
2 Replies

417 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

In fact, the K60 120MHz used FlexCAN module IP could support up to 64 message buffer, while K60 120MHz each FlexCAN module just use 16 message buffer.

So customer only could use the low 16-bit of CANx_IMASK1 register and low 16-bit of CANx_IFLAG1 register.

Wish it helps.

B.R.

Ma Hui

417 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I am checking with this issue. I will go back when I got the updated info.
Thank you for the patience.

B.R.

Ma Hui

0 Kudos