Hii I am using Adas1000 for acquiring ecg signal.
I am using stm32f030 microcontroller for configuring registers through spi communication.
I am configuring only for ecg frame for 3 electrode system(LA,RA,LL) neglecting respiration,pacemaker and so on registers.
I was able to configure individual registers like ECGCTL,CMREFCTL and FRMCTL.I also checked the value of these registers which I have configured by reading these registers individually.
But when I was trying to get the whole frame after writing 0x40000000, I can get only zeros as values for lead1,lead2 and lead3 registers.
My registers configurations:
FRMCTL - 0x8A1FFE00.
ECGCTL - 0x81E000E2
CMREFCTL - 0x85E0010E
ECGCTL-0x81E000E6 // For conversion enable.
My ready bit is always busy.I have to disable it to get frame values. I am getting only zeros. Please help me !!!
I'm going to move this question into the proper forum for support. Someone should help you out shortly.
Hii Brandon, I have received no replies yet.I am still stuck in that problem. Waiting for the response!!
When the device is initiatlly powered up it will take some ms before the ADC conversiion data is ready. How long have you read for? Are you using the DRDYb pin? or watching the bit in the header?
when you say ".I have to disable it to get frame values." what do you mean?
Thank you ,
I am coming to say that ready bit is always in high state.It does not becomes Low.I was able to read value only if I neglect the bit.I am not using drdy pin.I am checking through header.
I am able to read paceampth register value as 0x242424 to ensure proper spi communication and clock synchronisation.
I have also checked Avdd,Iovdd - 2.8v(approx)and Adcvdd-1.8v test points.Everything is fynn.I am providing my ecg signals through simulator.My output is
192 00 00 00
17 00 00 00
18 00 00 00
19 00 00 00
As I configured only for 4 words in the frame.
My opstat value is 3.
I need help please!!
I am having the same problem. I was able to read data from the ADAS1000, but from one day to another it's not working anymore.
Using an SPI sniffer I can see that the data is transmitted, I can also read the registers which store the correct data, but the conversion registers 0x11 following all output 0x00.
I also used another chip, which also doesn't work. Funnily I didn't change my software programme nor did I change anything else on the PCB.