lpcware

LPCOpen i2c blocking interrupt mode

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by neilt6 on Tue Jul 23 11:16:45 MST 2013
Hey guys. I'm not sure I understand the point of the interrupt mode for LPCOpen's i2c driver. I had assumed if the i2c driver was in interrupt mode, calls to Chip_I2C_MasterSend() would be non-blocking. But they appear to still block for the duration of the transfer. I'm trying to send out 1KB updates to an OLED display, and I can't have them tying up the micro for long periods of time while they transfer. Maybe I'm doing something wrong...

Outcomes