Hi Dialog_Team,
We are using DA14586 in a custom board design. We have a DA14580DEVKT.
Our requirment is to program the flash memory of the DA14586 IC.
What are the pin connections needed from the development kit for uploading program into the flash memory?
Regards,
Mark
Device:
Hi Mark,
You can program the on-chip flash of the DA14586 either via UART or JTAG.
For the JTAG interface, the required connections are:
J5 Pin 1 (VBAT_580) - > Vcc of the custom board.
J5 Pin 2 (GND) - > to the ground of the custom board.
J5 Pin 25 (TMS) - > SWDIO pin of custom board.
J5 Pin 27 (TCK) - > SW_CLK pin of custom board.
For the UART interface, the required connections are:
J5 Pin 1 (VBAT_580) - > Vcc of the custom board.
J5 Pin 2 (GND) - > to the ground of the custom board.
J5 Pin 12 (UTX) - > on the RX pin of the custom board.
J5 Pin 14 (URX) - > on the TX pin of the custom board.
J5 Pin 3 - RST - > to the RST pin of the custom board.
** If the custom board already has a power supply (battery etc. ) then powering it through the DK is not required.
In order to program the SPI flash, you should use the Flash programmer from the SmartSnippets Toolbox. You will also need to configure correctly it correctly in the ”Board Setup“:
Please see Section 9 and 15 from the user manual - links are provided below:
http://lpccs-docs.dialog-semiconductor.com/UM-B-083/tools/Board_Setup.html
http://lpccs-docs.dialog-semiconductor.com/UM-B-083/tools/SPIFlashProgrammer.html
For the DA14586, the SPI flash is connected to the following pins (according to datasheet)
P2_0/SPI_CLK
P2_3/SPI_EN
P2_4/SPI_DO
P2_9/SPI_DI
Thanks, PM_Dialog