Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years ago.
Increase Speed I2c2 to 1Mbit/seq
Hi everybody,
I'm using the platform LPC1768 for an extress test for a chip. According with the mbed's spec for LPC1768 in the SDA2/SLC2, can't be configured like an Fast Mode Plus, to get 1Mbit/sec, it's possible just with SCA0/SLC0, if I'm not wrong. But, Does it exist any way to increase the speed in SDA2/SCL2 until 1Mbit/Sec?
I have seen in the manual that the registers SDADRV0 AND SCADRV0 should be enabled, but it doesn't make difference, i suppose that it's just for I2C0.
Thanks,
Carlos
1 Answer
11 years ago.
On the LPC1768: Just try putting it on baudrate of 1mbps. I believe the Nucleo ones really have special settings for 100, 400 and 1000 kbit/s (at least their functions have), but on the LPC1768 just a baudrate divider is used, so you can also do it at 238kbit/s if you like.
In the past I have succesfully used it at 1mbit/s with the regular mbed I2C ports. That said, if you have a scope available it would be a good idea to verify waveform integrity at those speeds.