Hello Dialog Semiconductor team,
I am using a DA14580 dev kit pro to SPI flash program a custom board, utilizing a DA14586 microcontroller. My custom board has access to VPP, 3.3 V, GND, P0_4 (TX), P0_5 (RX), SPI_CLK, SPI_EN, SPI_DI, SPI_DO, and RST. From this post and this post, I see that the users are using SWDIO and SWCLK to program SPI flash.
What connections must I make from the DA14580 dev kit pro to my custom board (utilizing a DA14586) to program SPI flash? Do I need access to SWDIO and SWCLK? Or can I program SPI flash using SPI_CLK, SPI_EN, SPI_DI, SPI_DO?
Thank you, Dominic