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,
in MDK 3.40 Xtal is <undefined>.How can I solve this problem?
As mentioned already:
Hans Schneebauer said:Please remember that XTAL is a virtual register in the µVision simulator. It has no influence on your code and therefore your application
You need to define the clock-tree setup in your application. I suggest using STCube to do that. Please see our examples how to do that.