We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
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?
Hello David Wang,
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.
Best Regards, Martin Guenther
UV4-mdk4.11
Yes, I select simultor mode. but it cannot work!
I open the Can:communication and Can:controller windows, and the status bar on the bottom shows " Simulation" and t1: timer is changing ,but I cannot see any message in the CAN:Communication window.
Do I need to check those bits on CAN:Controller window?
Ok, I read the source code and konw how it work. thanks.
but I cannot see any mesasge!
Can you record a video how to run this demo and send it to me? davidwang1969@yahoo.com.cn.