This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MISO pin acting weird

I am using SPI communication to transfer data from an ADC (ADS1220) to my nrf52382, then to the mobile app via bluetooth. The ADC is the slave. The NRF is the master. So MISO (pin 9) is the ADC output which should be digital pulsed output. But no matter what my analog input, the output is fixed to a DC 3.3 V signal (seen on an oscilloscope). 

The MOSI pin (pin 8) on the other hand shows a pulsed output (which it should maybe considering I am transferring commands from nrf to adc? ). My clock pin (7) and DRDY (10)  and SPI_SS_PIN (6)  seem to work correctly.

I don't think it's the ADC that is behaving this way because I have used SPI to communicate between my board and ADC before and it works fine (this was an SPI example code without the ble transfer though). So I tried a few things: 

  1. I defined NFCT_PINS_AS_GPIOS in the project preprocessor settings 
  2. I tried configuring MISO as NO PULL input (the sdk_config.h file defines it as pulled up by default). 
    I still got a fixed DC 3.3V on the pin 
  3. I tried configuring MISO as PULL DOWN, and this stopped the ADC functioning entirely (I stopped seeing the clock signal as well.)

Is there anything else I could try in the software to fix this pin status? I want it to show the ADC output which should vary with analog input... 
I am working on a custom made pcb, with SDK 15.2 and IDE Embedded Studio. My project is time sensitive so I would appreciate early responses a lot!! Thanks 

Parents Reply Children
No Data
Related