I2Csetup says:
The PICAXE values loaded for 'mode' are:
SLOW 167,147,137 for 16M, 8M and 4M
FAST 9, 4, 3 for 16M, 8M and 4M.
I need to try to get down to a 10khz rate to feed a particularly nasty part that stretches the clock. So 228/227 at 4MHz? Can't try it as I don't have the part yet.
I can't find anything on setting the SSPADD register in the Microchip datasheet.Advanced Technical Information:
Users familiar with assembler code programming may choose to create their own
‘mode’ settings to adjust the i2c communication speed. The mode value is a value
between 0-127 that is the preload BRG value loaded into SSPADD. Bit 7 of the
mode byte is used to set/clear the SSPSTAT,SMP slew control bit.
The PICAXE values loaded for 'mode' are:
SLOW 167,147,137 for 16M, 8M and 4M
FAST 9, 4, 3 for 16M, 8M and 4M.
I need to try to get down to a 10khz rate to feed a particularly nasty part that stretches the clock. So 228/227 at 4MHz? Can't try it as I don't have the part yet.