Tool/software:
Hi,
I am working on the ADS1258 and I have questions about the Register Write Command.
First, I am sending a register write command (the first three bits are "011"=Register Write Command) in order to configure the SINGLE-ENDED inputs I want to be active (the address in the Command Byte I am sending is "0100" making register MUXSG0 ="00000001"... which means I want Channel AIN0 to be active), this having the Multiple Register Access MUL='0' which means I want to configure only that AIN, so I am sending as Command "01100100", and as Register Data "00000001"
Then, keeping the Multiple Register Access MUL='0', I want to configure AIN8 as active, so I am sending as Command "01100101" (address for register MUXSG1) and as Register Data "00000001", and one of the following occurs
- It is configured correctly, with AIN0 and AIN8 active
- The MUXSG1 register is configured incorrectly, leaving all the AINs in this register (AIN8 to AIN15) as active, MUXSG1 = "11111111"
Analyzing this problem, I have reached the part of the communication with the ADC by SPI, and I understand that the same SPI bus is used for the communication to configure the ADC and to read the converted data... and I have seen that I am trying to configure it when the converted data is being communicated by the SPI
My question is: Is there a time rule in which I must wait after the SPI is being used as a communication for converted data to use it later as a configuration communication? or vice versa, wait after a configuration to read the converted data?
It seems to me that my problem is on this side, since sometimes it is configured correctly and other times it is not.






