This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

The question of CAN Initialization(the function of dcaninit()).

Other Parts Discussed in Thread: HALCOGEN

Hi...

 

I have two questions.

 

RM48 have a three of CAN modules. each of CAN have 64 mailBoxs(SPNU499).

HalCoGen generated a Code of can.c(or dcan.c).

File of can.c have a function of dcaninit() .

The function of dcaninit() initializes dcan1 and dcan2 mailBoxs1~64, But initializes dcan3 mailBoxs1~32.

 

1. No Problem of initializing of dcan3 mailBoxs1~32 ?

2. I have used just to six mailboxs(dcan1,2 and 3 of mailBox1,2). So, Does dcaninit() initializes six mailboxs ? or initializes 64*3 mailboxs ?

 

Thank you, TI.