Hi,
In the Data sheet for the LPC55S2x/LPC552x, it mentioned in Chapter 7.9:
> Supports flash programming through In System Programming (ISP) commands over
following interfaces: USB0/1 interfaces using HID Class device, UART interface
(Flexcomm 0) with auto baud, SPI slave interfaces (Flexcomm 3 or 9) using mode 3
(CPOL = 1 and CPHA = 1), and I2C slave interface (Flexcomm 1)
It clearly mentions that SPI Slave programming is possible through Flexcomm 3 or Flexcomm 9, which is useful because my application could make use of this feature. However, the data-sheet only shows 9 Flexcomm channels, Flexcomm 0 to Flexcomm 8. There is no Flexcomm 9 channel.
Is this an error with the data-sheet, or is the Flexcomm 9 channel only present on some of the soon-to-be released devices in the family?
Solved! Go to Solution.
Hello @sachin_patel,
You're right, I think this is a problem with the reference manual. Looking in the ISP chapter, this mentions that the SPI interfaces used are the FC3 and the HS_SPI that correspond to the FC8.
I will report this to the documentation team, thanks for your feedback.
Best Regards,
Alexis Andalon
.
Hello @sachin_patel,
You're right, I think this is a problem with the reference manual. Looking in the ISP chapter, this mentions that the SPI interfaces used are the FC3 and the HS_SPI that correspond to the FC8.
I will report this to the documentation team, thanks for your feedback.
Best Regards,
Alexis Andalon
Thanks for confirming @Alexis_A . This should help with my design.
On a separate note, can the ISP programming support programming only parts of the device flash? Or is it required to reflash the entire device over this interface?
Hello @sachin_patel,
Yes, you can write/read sections of the memory. For more information, I will suggest taking a look at the blhost tool (link).
Best Regards,
Alexis Andalon