Hello,
I was wondering, has anyone (users and/or the IOIO inventor) experimented
with modifying the I2C clock rates below and beyond the currently supported
rates (100KHz, 400kHz, 1MHz)?
I have a device that can only run at 10KHz . . . I updated line 129 in the
i2c.c IOIO firmware source (static const unsigned int brg_values[] = {
0x063D, 0x25, 0x0D }; //first element updated from 0x9D for 10KHz),
compiled and downloaded the firmware. Using the correct enum RATE value, I
received about 100KHz on my oscilloscope showing the incorrect clock rate
not the new 10KHz. I also built another firmware version updating all of
the brg_values to 0x063D to ensure that the changes were being passed
properly and I confirmed that when I set the TWI rate to 1MHz for instance,
I also receive 100KHz.
Does the internal clock runs at 32 MHz? Any possible issues with modifying
these values? I don't see anything in the PIC24 datasheet showing that I am
limited to these three clock rates. Can anyone confirm?
Thanks for your help and assistance.
Best,
Rich
--
You received this message because you are subscribed to the Google Groups
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.