cancel
Showing results for 
Search instead for 
Did you mean: 

In full duplex mode of spi, observed same data on MISO and MOSI when we are only receiving data from ADC.

Bhushan
Associate II

Hi,

We are using ADS1292 to get the ADC samples and we had successfully read the 7000 sample with the help of imx6 processor, STM32F4 discovery board.

But now our project requirement changed and we have to use STM32F030R8 controller.

In initial stage, we are use the “STM32F030R8T6 Nucleo kit�? with same ads1292 board which was working fine with imx6 and STM32F4.

So we tried to repeat the same process to configure and read the ADC samples though the ADC1292, but after reading few correct samples value DRDY pin automatically set to high and ADS1292 will never make it low during current running process to indicate the data is ready.

We are using sampling rate of 500sps, internal reference of 4.033-v reference, PGA gain setting for channel 2 is set to default (i.e. 6),and SPI clock rate set to 1 Mbps.

Below are our observed issues:

We observed that, During continuous sample reading what ever the data received on MISO pin is same transmitting on MOSI pin.We are using only "HAL_SPI_Receive_IT()" API to get the ADC samples and not using any transmit call during reception of data from ADC.

Our requirement is to collect the 7000 samples from ADC board,but due to this issue ADC board will get reset and stop sending data to the controller after few samples.

Same ADC board is working fine with STM32F4 Discovery board and we are getting samples continuously.

Please provide the solution on same.

Best Regards,

Bhushan Bute

0 REPLIES 0