2023-01-31 06:26 AM
Hello all,
I would like to put the CAN2 interface into operation on a NUCLEO STM32F466RE board. For this purpose I have programmed an example in which a BYTE array HELLO is to be sent in the loopback.
If I now pass the TxHeader Struct to the HAL_CAN_AddTxMessage() method, this method is executed without error. The signal recording on the TX pin also shows a data transmission. It's just not the data I expected.
My data from the TxHeader cannot be entered in the mailbox register. It looks like the registers are locked, although all mailboxes report that they are free.
What else can I do wrong at this point?
What else could be the reason that the mailbox cannot be written to?
Greetings
Michael
Solved! Go to Solution.
2023-02-02 02:05 AM
Hello,
Thank you for the feedback. Indeed SRAM2 is a slave and it was the reason why it was not working.
As it was solved please "Select as best" the comment that answered your question. This will help other users to find that answer faster.
Thanks