Dialog Semiconductor customer support - 14580 spi flash https://support.dialog-semiconductor.com/resource-keywords/14580-spi-flash en Connecting two spi device https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/connecting-two-spi-device

Hi

I'm using spi to connect two devices (one sensor and the spi flash) to DA14580. The CS_pin connected to the two devices are different. The work flow is that the read data from the sensor and store the data to the flash every minute. The problem is that both of the two devices are connected by spi. The current solution is that read the sensor first and when the data needs to be writen to the flash, release the spi connection to the sensor and init the spi connection to flash and after writing to flash, init the connection to sensor and start to read the data from sensor. So is that possible to make them working simultaneously?

Thank you very much for your help!

Keywords: 
Device: 
Wed, 02 Nov 2016 02:55:25 +0000 ericzhao 4865年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/connecting-two-spi-device#comments