Propeller-2 EVAL Board
JonTitus
Posts: 193
in Propeller 2
What is the default processor cycle time (frequency) for the Prop-2 IC on the EVAL Board?
Specs indicate a 20-MHz crystal, but measurements here indicate a 25-MHz cycle frequency. I am using the Prop-2 Smart-Pin (%00100 mode) pulse/cycle output mode. A value of 500 for a pulse period works out to a 20-usec pulse duration, so 500 counts/(20*10E-6 sec) = 25*E+6, or 25 MHz. --Jon
Specs indicate a 20-MHz crystal, but measurements here indicate a 25-MHz cycle frequency. I am using the Prop-2 Smart-Pin (%00100 mode) pulse/cycle output mode. A value of 500 for a pulse period works out to a 20-usec pulse duration, so 500 counts/(20*10E-6 sec) = 25*E+6, or 25 MHz. --Jon
Comments
It's not very well defined. When the processor boots it enters "RCFAST" mode, which is nominally 20 MHz but can drift considerably (so it can end up being anything between 20 MHz and 25 MHz; 22 MHz is common, but it sounds like yours is at the high end of the range).
In practice you'll normally want to use the "hubset" instruction to set a specific operating mode and frequency. Some language runtimes will do this automatically for you, but in assembly language you'll have to issue the hubset yourself.
Btw, I measured this across many chips by entering TAQOZ ROM, selecting a pin I'm probing, and typing $8000_0000 NCO which sets up the smartpin in NCO mode to output sysclock/2.
RCSLOW on the other hand changes quite a lot with temperature
On revB I've found RCSLOW almost always bang-on 20kHz. I even set TAQOZ to 3Mbd @200MHz and then switched to RCSLOW and had it running at 300bd very slowly, and left it like that overnight, no problems. Still works but Really Computes SLOWly