Will anybody be able to review my Keil code attached here which is simple code of writing "0" and "1" to pin 0, bank 0 (configured as output)?When I debug my code, it gets stuck at line 221 of code inside function "I2C_WriteAccelReg". If I use function "I2C_MasterTransferBlocking" ( inside function "I2C_WriteAccelReg"), the code get stuck at line 952 of driver "fsl_i2c.c"
I2C code for review.zip
You now have three threads on this!
It would be easier to keep it all together in one place"
Did you manage to look at my code?
View all questions in Keil forum