I2C ROM drivers

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by rocketdawg on Mon Nov 18 17:51:24 MST 2013

there is no documentation regarding the correct values to place in num_bytes_send and num_bytes_rec

I need to send
    address, command, data0, data1
and send/receive
   address, command, (address w/read) receive data0, data1

I do not know if the num_bytes_send should include the address byte or not, looks like it should via LPCOpen sample with i2c_master_transmit
but the same sample shows that a read does not include the address when doing a i2c_master_receive

a bit confusing given no documentation.