StigOfTheDump
Senior Member
Hi again
I was experimenting with my 28x2 module (firmware B.2) and the scope looking at timings for different commands. This is the old module that was on special offer in December.
I accidentally used setfreq 8 instead of setfreq m8. It seemed to go at 4 times the speed. The number was irrelevant setfreq 0 was the same as setfreq 32.
I can't find anything in the manual regarding this. It seems the maximum speed for the 28x2-5V is 8MHz internal or 32MHz external.
setfreq em16 and setfreq em32 seem to run at the same speed as setfreq 8, with the code I have posted.
It's my first time experimenting with the external resonator so I might just be mis-understanding the settings.
Not part of any project, just curious as to the behaviours I am getting. I can see that the goto command is causing the low C.1 to be twice the length of the high C.1, but cannot figure out why the em16 and em32 are the same.
Thanks for any advice
I was experimenting with my 28x2 module (firmware B.2) and the scope looking at timings for different commands. This is the old module that was on special offer in December.
I accidentally used setfreq 8 instead of setfreq m8. It seemed to go at 4 times the speed. The number was irrelevant setfreq 0 was the same as setfreq 32.
I can't find anything in the manual regarding this. It seems the maximum speed for the 28x2-5V is 8MHz internal or 32MHz external.
setfreq em16 and setfreq em32 seem to run at the same speed as setfreq 8, with the code I have posted.
It's my first time experimenting with the external resonator so I might just be mis-understanding the settings.
Code:
'setfreq m8.bas
'28x2 module firmware version B2
setfreq m8
main:
high C.1 '2200us
low C.1 '4400us
goto main
Code:
'setfreq 8.bas
'28x2 module firmware version B2
setfreq 8
main:
high C.1 '550us
low C.1 '1100us
goto main
Code:
'setfreq em16.bas
'28x2 module firmware version B2
setfreq em16
main:
high C.1 '550us
low C.1 '1100us
goto main
Code:
'setfreq em32.bas
'28x2 module firmware version b2
setfreq em32
main:
high C.1 '550us
low C.1 '1100us
goto main
Thanks for any advice