losing lsb w/ tlc0831 a TI adc
nick bernard
Posts: 329
ADC tech doc -> focus.ti.com/lit/ds/symlink/tlc0831.pdf
my sx routine isnt picking up the last bit from the adc
does anyone have any idea why?
the sentence is 10 bits with the first two bits ignored followed by a byte of analog data
the data i get ranges from 0 to 128
GET_ADC:
LOW CS0
SHIFTIN DAT, CLK, MSBPRE, analog_0\2
SHIFTIN DAT, CLK, MSBPRE, analog_0
HIGH CS0
LOW CS1
SHIFTIN DAT, CLK, MSBPRE, analog_1\2
SHIFTIN DAT, CLK, MSBPRE, analog_1
HIGH CS1
RETURN
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
my sx routine isnt picking up the last bit from the adc
does anyone have any idea why?
the sentence is 10 bits with the first two bits ignored followed by a byte of analog data
the data i get ranges from 0 to 128
GET_ADC:
LOW CS0
SHIFTIN DAT, CLK, MSBPRE, analog_0\2
SHIFTIN DAT, CLK, MSBPRE, analog_0
HIGH CS0
LOW CS1
SHIFTIN DAT, CLK, MSBPRE, analog_1\2
SHIFTIN DAT, CLK, MSBPRE, analog_1
HIGH CS1
RETURN
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax