Port Pin configuration for two SPI devices connected to DA14580 in DEV mode

5 posts / 0 new
Last post
SilasValera
Offline
Last seen:4 years 3 months ago
Joined:2016-06-12 21:55
Port Pin configuration for two SPI devices connected to DA14580 in DEV mode

Hello,
I am using BASIC DEV KIT FOR DA14580 and SDK 5.0.3
I would like to connect two SPI devices to DA1480 device and use digital outputs (CS and IO) and UART for the debug. The DA14580 will always be in the master mode - reading/writing to the two SPI devices. Refering to the document AN-B-001- booting from serial interfaces : P0 is used to scan for the boot devices. What connection configuration should I use to avoid any conflict during the boot sequence for the development mode?

提前谢谢!

Silas

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi SilasValera,

Hi SilasValera,

The only problem i can think of in using the two SPI flash on the same pins is the fact that when booting all the pins of the 580 are configured as input pull down, and remain that way, until the peripherals are initialized by your source code. That could lead to two memories responding to the 580 during the booting sequence. The most safe way to connect two memories is to use different ports for the each memory.

Thanks MT_dialog

SilasValera
Offline
Last seen:4 years 3 months ago
Joined:2016-06-12 21:55
Sorry I did not add this -

Sorry I did not add this - the two SPI devices are RTC and a display - which will only be activated by CS from two port pins. There is only one flash which is on the DEV kit board. - what will be the best connection configuration?
或in the case where one SPI and one I2C devices (not flash) are connected to DA14580 ?

Sorry again for confusion
thanks
Silas

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi SilasValera,

Hi SilasValera,

As soon as there is no interfierence (devices talking over the same bus at the same time) between the SPI devices and the SPI flash where the 580 is going to boot from, you should be ok. The pins after you ve run the code are configurable in whatever functionallity you would like.

Thanks MT_dialog

SilasValera
Offline
Last seen:4 years 3 months ago
Joined:2016-06-12 21:55
非常感谢MT_dialog !

非常感谢MT_dialog !
I will run some test set up and see how it goes.

Thanks
Silas