Hi Dialog,
I am using DA14580 PRO kit , i want to execute SPS example code from external SPI flash but here UART TX pin & SPI MISO pin are in same I/O pin (P0_5).
To read the binary file from flash memory and transmit data , P0_5 pin is required.
I can reconfigure that pin from SPI to UART as a software part but it was connected by jumper in the H/W..
And i removed jumper manually and connect it to UART , surely UART tx functionality will get missed.
1.我如何使用大头针这种情况?
OR
2. what i have to follow?
3. What is the procedure i need to follow to flash the fw from external processor via SPI protocol?
Please give your suggestion to avoid this ?
Device:
Hi RatheeshT,
1 & 2) Use a three way jumper, or just connect the three pins together SPI MISO/P05/UART TX, the bootloader will load the binary from the SPI memory and then the downloaded fw will just configure the pin for UART functionallity.
3) I am not sure i get the last question, if you would like to download fw to the 580 via an external processor you will just have to follow the steps that the 580 bootloader goes through. The 580 bootloader goes through different interfaces with different configurations (boot from SPI slave or master), the protocol is documented on AN-B-001.pdf.
Thanks MT_dialog
Hi ,
I am having DA14580-Daughter-Pro-WLCSP34.
Whether It has only one SPI and one UART support or more than one?
it it has more than one , can i go with that interface?
Hi RatheeshT,
The 580 regardless of the package has 2 UART and 1 SPI module, but i dont understand the question and also how many SPI and UART modules the 580 has is not related to the fact that you would like to boot the DSPS example via an external SPI memory.
Thanks MT_dialog
Hi ,
I planned to implement SPI flash and DSPS without using Three way jumpers because sometimes problem will come if you connect all together.
i.e. why i have asked that questions.
So i can go with UART2 for DSPS example.
is it correct ?
Hi RatheeshT,
If you worry about using the same pins for the SPI booting and operating over UART you dont have to change to the UART2 module, you can just re-assign the existing UART pins.
Thanks MT_dialog