Hi, I get an error message in Great Cow Graphical Basic if I set the INTOSC to 31KHz. The message says that this frequency is not supported but the data sheet does indicate this frequency can be used and would allow me to run the chip at the lowest possible power. The chips I was working with are the: 10F322, 10LF322, 10F320, and 10LF320. There may be other chips that could have a similar problem. If I select 250KHz things work fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I get an error message in Great Cow Graphical Basic if I set the INTOSC to 31KHz. The message says that this frequency is not supported but the data sheet does indicate this frequency can be used and would allow me to run the chip at the lowest possible power. The chips I was working with are the: 10F322, 10LF322, 10F320, and 10LF320. There may be other chips that could have a similar problem. If I select 250KHz things work fine.
Dave. thanks for finding the error. Seriously. It will be fixed in the next release.
Meanwhile, do this edit DAt for the chip. So, like, 10F322.dat in the chipdata folder and add the text in bold below. And, support will be added.
--- find this text.
'This constant is exposed with only the first parameter (if more than one)
IntOsc=16, 8, 4, 2, 1, 0.5, 0.25, 0.125
'31kSupport is exposed as Chip31Kconfig, Chip31Kregister, Chip31KValue
31kSupport=INTOSC,OSCCON,0
--- put before this text.
'This constant is exposed as ChipPins
Pins=8**
Last edit: Anobium 2022-05-26