Post Go back to editing

Ltc2439-1 in SPI communication data output is high first out or low first out?

Read data is 0XF4,0X53,0XFE, how to parse?

[edited by: ljln119 at 3:25 AM (GMT 0) on 14 Jan 2020]
Parents Reply
  • If you look at Table 1 of the data sheet you will see that if the first 4 bits of the output word are 0s, that indicates that the input voltage is below -Full Scale (-0.5*Vref). Let me pick a value that is not railed for an example. 20111111 hexadecimal. According to Table 1, if the first 4 bits are a Hex 2 (0010) then Vin is between 0V and 0.5*Vref. Bits 28 to 5 are the 24-bit conversion result MSB first. Bits 4 to 0 are sub LSBs that can be included if desired or ignored. For simplicity I will ignore the sub LSBs. This results in a 24-bit output code of 008888 hex. Converting that to decimal produces 34952. Dividing that by 2^24 yields 0.0020833015. Multiplying that by the reference voltage (5V) will produce the input voltage, in this case 0.0104165077V.