How to set I2C correctly?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by masterboy on Mon Dec 16 04:25:35 MST 2013

Can someone describe in detail the procedure to correctly calculate and set the registers for I2C? The chip (lpc812) run at 12 Mhz crystal and I need to set the I2C clock to 400 kHz. I do not understand what is written in UM.