I am connecting to an ADS1292R via spi with an LPC4088 chip.
SPI mode is 1. CLK idles LOW, the data is set in Rising Flank and is Read in Falling Flank of clock cycle.
I have been able to read ID number correctly with 0x73 value.
Also I have read all the Register after reset and the values are the same as in the datasheet.
The problem is that if i READ or WRITE ANY register when i restart conversions the STATUS byte wont be correct anymore. As we know the status byte starts with 1100 and NOT EVEN THAT STAYS correct.
My tests done were:
Scenery 1,Sending SDATAC RDATAC START AND RESET routines:
1-TURN ON MY PCB (custom PCB that is working with older uC and the same ADS1292R chip),
2-Provide RESET> hardwareSTOP (start pin to 0)> provide SDATAC Command
3- Provide RDATAC > hardwareStart( start pin to 1)
Result, the chip still working and im getting status byte correct and changing values in channel 1 and 2. is this noise in channel due reset condition of CH1 and CH2?
Scenery 2 Reading Registers one or more:
1-Provide STOP and SDATAC
2- read one or more registers, values obtaine are correct as per datasheet
3-Provide RDATAC and START
STATUS BYTE CHANGED, channels no longer vary values
Scenery 3 Writing Registers one or more, and NO READING ANY REGISTER:
1-Provide STOP and SDATAC
2- write CONFIG1 register with vale of 0x01 which configures 250 SPS
3-Provide RDATAC and START
4- check this changes by measuring DRDY which correctly has 4 ms between falling edges of end of conversion
In this case the change has been made but the STATUS byte is starting with 0100 and the channels wont change anymore
So i conclude that any read or write to registers i am doing are wrong or something is wrong. I assume the SPI communications is ok since i can read ID and status on Reset configuration correctly.
I have used ADS1292r in this pc with another uC and the same software same timings, so i cant find what it is
Please i need help.