Hi,
I'm mainly working in HW mode, serial interface with my microcontroller TM4C1294. So far, I'm getting output from the ADC so I can say my connections are at least correct.
My question is can I update the Configuration register in the beginning of my initialization code, then switch to Hardware mode afterwards? (my guts and understanding say I can)
I want to update the reference voltage in configuration register (Bits 9-0) so that I can make the input voltage range smaller say +-2.5V.
So in terms of hardware connection, I would have most of the pins connected as if I were running in HW mode.
I've tested this concept; however I run into problems:
1.) The TM4C1294 ucontroller only send 16bit data at time; hence I can't configure all 32bits in the Config Register. Any one knows how to send 32bits continuously (32 clock cycles) using TM4C1294?
As a result, I keep reading 0000h from CH_A.
2.) If I send two 16bit data frame to the SDI pin, does it update the CONFIG register?