Part Number: USB-TO-GPIO
Hello,
I'm trying to understand the syntax from the manual correctly. I'm trying to transmit some information to a DAC in the format below.
As you can see, the data I'm trying to transmit is 14 bits separated into two bytes. I'm trying to transmit 0x26C to the device address 0x0E. Looking at the reference guide for the USB-TO-GPIO and the interface below:
I'm trying to understand the proper way to format this. Device address is simple enough, just being 14. For data, I'm a little confused on the format, since it's a 14-bit transmission separated into two bytes. Would it be best to separate these into bytes, 0x02 and 0x6C, or can the program handle leaving the data as 0x26C (0x02 and 0x6C combined)? Essentially, what I'm asking is do I have to make two separate writes or will the program handle that for me? Lastly I'm confused on the "Cmd" entry. I'm simply looking at section 3.10, "Generic I2C Write Command and Response" as attached, would the Cmd field be 1C?