spi communication error for others SDK version expect 2.6.1

hi team,

i am  working external adc  with the help spi communication, now adc  working fine with the SDK version 2.6.1 ,  if  will make or  change any other   SDK version like Ex: version 2.9 then i am getting timeout error   in initial stage only  , but the same program and configuration working fine with 2.6.1 

thank you 

Parents Reply Children
  • Hi priyaka thanks for reply, here i am using same spi lines for external adc and lora protocol which belongs spi2 the only difference

    Is that for external  adc  i am handling cs pin from adc hardware here i am uploaded dts  file for lora protocol and configuration i did for external adc in source code

    Thank you

  • Hi Yahsaswni,

    Sorry for the delay. This could be because with newer SDK updates, there are stricter checks which require proper DTS entries. So I guess maybe you could try to define the ADC as SPI device although you are controlling the CS manually. 

    Also, please make sure that even though you have the ADC and LoRa share the same SPI bus, their initializations are not clashing, i.e. maybe initialize once and communicate with it before the other initializations takes places. Newer SDKs have a stricter control for these issues.

    -Priyanka

Related