IMASK1 or IMASK2 in FlexCAN Modul

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

IMASK1 or IMASK2 in FlexCAN Modul

743件の閲覧回数
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

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

518件の閲覧回数
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

518件の閲覧回数
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 件の賞賛