Hi,sir!
I run candemo from \keil\arm\boards\keil\mcbstm32\can\can.uv2, and select simulator mode, then run, I cannot see any information in can communication window,but the can_primer_2009sp.pdf said can message with id of 0x21 will be appear in the can communication window.
Anybody can give me advice? I am very interested in Can bus, and want to use it in my project.
Thanks!
Hello David Wang,
Please check after you started your simulation session if Periodic Window Update under View is enabled.
Best Regards, Martin Guenther
yes. Periodic window update is enable.
the application said can rx and tx are working at interrupt mode, but in fact, the main() source code is working at polling mode.
Do you have any video demo about can bus communication?
Can interface works in interrupt mode. Please check file can.c. There you find the interrupt handler for TX and RX.
Simulation works fine for me. Which version of uVision are you using?.
After you started uVision. Please select Target Simulator, build project and start Debugger. This works for me.
UV4-mdk4.11
Yes, I select simultor mode. but it cannot work!
View all questions in Keil forum