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
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