c - I2C initialization as a master on K22F -


i'm working arm frdm-k22f microprocessor , want see waveform on oscilloscope while initializing i2c master. problem after generated code wrote code in main.c check master bus see if it's busy , if not decided transmit data , show on oscilloscope. unfortunately seems bus busy , doesn't enter if condition. there me issue?

thanks,

do have pull-ups on i2c bus lines? if not, bus busy.


Comments