Where is CLKFREQ set?
J^3
Posts: 121
Sorry for the newb question, but I am assuming the user still has control of the PLL and whether or not the prop is using an external crystal or the internal RC Oscillator. I looked into propeller.h and found the macro clkset, but couldn't find where it is being used.
Thanks in advance.
Thanks in advance.
Comments
I know what you are getting at. The symbols are hardcoded in the address space, so the loader just sets them based on the hardcoded locations.
Sometimes an exact explanation can cloud the bigger picture. While they are hardcoded locations, the mechanism is the same for all config variables from the user/programmer perspective.
Thanks for the replies.
Based on the above, my understanding is that the CLKFREQ gets set in the board configuration file. Is this correct? Also, what if I want to use a current board configuration, but want to run the clock at a different speed? Do I have to edit the board configuration file or can I do it in the code?