Hi everyone,
My MCU is K64, how to set the register?
And after I disable the interrupt, when I read CAN RX mailbox, there was a error, so FlexCAN only can work at interrups mode?
Thanks a lot.
BRs
Li
Hi Jie:
Well if you are using interruption configuration you will certainly have to read data when interruption rises, but if you do not want to use this scheme consider polling.
Have a great day,
Perla Moncada
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi Moncada,
Yes, I don't want to use interrupt, but after I disable interrupt, there was error when I read data from CAN, So I though there maybe some registers that I should set to polling mode.
Is there such register?
Another question, I want the new data overwrite the old one automatically, is it available?
thank you for your response.
BRs,
Jie
Hi Jie,
I would recommend to use CodeWarrior with embedded Processor Expert software, which provides CAN_LDD component.
In the typical usage CAN_LDD provides interrupt mode and polling mode application demo.
More detailed info, please check CAN_LDD help file.
Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------