Dear all,
I have the MCP3021 AD converter on the I2C0 port on the DLPC350 for reading out the LED temperature (NTC). We have access through the TI Lightcrafter GUI (with USB connection to the host) and are able to read out the conversion values from the AD converter:
I2C0 (Master) Read/Write Control
Addressing Mode 7-Bit
Clock Rate (Hz) 100000
Device Address (Hex) 0x9A
Write Data (Hex)
Read Data (Hex)
Bytes to Read 2
Pressing RETURN gives us the two bytes from the AD converter in the Read Data (Hex) field of the GUI.
Now we would do this through the DLPCs I2C1 interface to our host processor. And we are a little bit confused about how this should work with the I2C0 Master Port Control Command in the DLPC.
We write the information into the 0x7B register through I2C1 port with an i2C write command, but we didn't get the response with the two bytes read from the AD converter. Could you give us an advice how to use the I2C0 Master Port Control Command? Many thanks for your support.
Best regards,
Hagen