Device tree setting problem

Hi 

  Iam use nRF7002-DK, SDK v2.5.2, I try to set high seed SPI as master and connect with BMP280 sensor,I generate overay file for spi4 connect BMP280 sensor,for this resource in nrf5340_cpuapp_common.dts connect mx25r64 NOR flash first, as below picture, can I coonect two resource on this SPI4 or remove this NOR flash to other SPI resouce?If connect two on same SPI or remove the NOR falsh to other SPI resource, what the side effect happen for change setting? 

Best Regards

      Tina

Parents
  • Hi Tina

    Yes, it's possible to switch the SPI instance the MX25 uses if you'd like. But is there a specific reason you want the SPI4 instance for the BMP280 sensor? The app core has 5 SPI instances available (SPI0-SPI4) and either of these can be used for the BMP280. If you run both on the same instance, they won't be able to operate at the speed you'd like, so I'd strongly recommend moving either the MX25 or the BMP280 to its own SPI instance.

    Best regards,

    Simon

Reply
  • Hi Tina

    Yes, it's possible to switch the SPI instance the MX25 uses if you'd like. But is there a specific reason you want the SPI4 instance for the BMP280 sensor? The app core has 5 SPI instances available (SPI0-SPI4) and either of these can be used for the BMP280. If you run both on the same instance, they won't be able to operate at the speed you'd like, so I'd strongly recommend moving either the MX25 or the BMP280 to its own SPI instance.

    Best regards,

    Simon

Children
Related