Other Parts Discussed in Thread: HALCOGEN
Hi,
I want to know how configure CAN's registers without Halcogen.
How to know if the messageBox is in RX or TX.
Thanks in advance
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.
Hi Matheo,
The messageBOX1 can be configured as either TX or RX, not both.
To configure the message object 1 location CAM message RAM, the Interface Register sets IF1 or IF2 has to be used to access to the message object in Message RAM.
For example:
canREG1->IF1MSK = 0x........;
canREG1->IF1ARB = 0x......;
canREG1->IF1MCTL = 0x......;
canREG1->IF1CMD = 0x......;
canREG1->IF1NO = 1U; //message object 1