It is known that SPI flash integrated internally on DA14583, and the internal SPI interface pin is P2_0, P2_3, P2_4 P2_9. Is it safe to use P2_3 and P2_4 anytime and may be use for input, output, or input then output such as I2C's SDA pin in our custom board on DA14583 platform? How about P2_0 and P2_9 in the same situation? In a other word, is that some constraints when using these GPIOs after Booting? Thanks a lot.
Keywords:
Device:
Hi huastone,
After the booting procedure is over, and the 583 is running the firmware, you can reconfigure your pins as you like. I dont see any restriction in doing this, the only problem occurs while the 583 is booting, and there might be interfierence from other devices that might be enabled at the time and transmitting over the same SPI line. Had a quick test with switching the these ports to PWM mode and booting from flash, the device booted and functioned properly.
Thanks MT_dialog
Dear MT_dialog,
Thank you a lot. Is the booting procedure over when the PC run into main_func() function entry in file arch_main.c?
Best Regards.
Hi huastone,
Yes, the booting procure is over when the bootloader finishes uploading the image from the spi to the 580's sysram.
Thanks MT_dialog
Dear MT_dialog,
Thank you very much!