lpcware

using i2c engine in interrupts

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by nicob on Thu Feb 03 02:15:59 MST 2011
[FONT=Arial]Hi folks,[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]I am developping on a LPC1111. I am using the i2c engine from the example and it works smoothly.[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]Although, when I'm calling the "[SIZE=2]I2CEngine();" [SIZE=3]function in a timer- or external-interrupt, the i2c-bus will not work properly. I guess it has something to do with the clock.[/SIZE][/SIZE][/FONT]
[FONT=Arial][SIZE=2][SIZE=3][/SIZE][/SIZE][/FONT]
[FONT=Arial][SIZE=2][SIZE=3]Does anybody know, what I have to do to make it work?[/SIZE][/SIZE][/FONT]
[FONT=Arial][SIZE=2][SIZE=3][/SIZE][/SIZE][/FONT]
[FONT=Arial][SIZE=2][SIZE=3]Cheers[/SIZE][/SIZE][/FONT]
[FONT=Arial][SIZE=2][SIZE=3]nicob[/SIZE]
[/SIZE][/FONT]

Outcomes