Execution Speed of 18M2 Chip

pmgant

New Member
According to the FAQ a 4 MHz PICAXE chip will execute about 1000 BASIC commands a second. As the 18M2 can operate with a 32 MHz clock does this mean 8,000 BASIC commands a second?

P M Gant
 

hippy

Ex-Staff (retired)
Yes, at 32MHz the PICAXE will execute 8 times more instructions per second as at 4MHz.

The 1000 per second figure is just a ballpark figure and depends on which instrucations. There's previous forum discussion on "PICAXE instruction timing" and the like.
 

pmgant

New Member
OK, thanks. I want to use the 18M2 to drive a DAC so all the chip will be doing is outputting a series of eight-bit numbers. Your reply means roughly 40 lines will be executed in 5mS which is way more than I need.

P M Gant
 
Top