DA14580 spi flash's pin assignment

Learn MoreFAQsTutorials

2 posts / 0 new
Last post
Simon WANG
Offline
Last seen:2 years 8 months ago
Joined:2016-08-16 07:57
DA14580 spi flash's pin assignment

Dear Sir,

I have changed the pin assignments for the flash which runs the program.
下面的列表是映射。
SPI_CS P0_3 --> P0_2
SPI_CLK P0_0 --> P2_1
SPI_DO P0_5 --> P0_3
SPI_DI P0_6 --> P0_4

I only change the pin assignments in user_peripheral.h and I also find there is no reference for these SPI PIN definitions.

After downloading the program through SmartSnippets (SPI Flash pin Configuration has been adjusted accordingly), the program seems not be able to run.
Could you tell me the mechanism for DA14580 to load the program codes from different pin allocation and a different flash?
What else should I do in the coding.

Best regards,
Simon

Device:
MT_dialog
Offline
Last seen:1 month 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi Simon Wang,

Hi Simon Wang,

I dont fully understand the question, anyway as far as i can tell you are trying to boot from SPI pins that are not supported from the ROM bootloader, the 580 can only boot from a specified pair or pins (that functionallity is fixed and defined by the bootloader and cannot be changed) the port/pin pairs are described in the AN-B-001 - Booting from serial interfaces.pdf so would recommend to check this document first.

Thanks MT_dialog