We want our design to boot from 24 bit SPI flash into SDRAM. We also use four SPI devices at run time. We don't need the LCD controller. We want to be able to upgrade the firmware in the flash at runtime OTA.
This is the plan - we'll see what you make of it. We will use two EBSR.PPMODE modes 1 and 5. We connect the boot flash to the mode 1 SPI pins and the 4 other devices to the mode 5 SPI pins.
At boot time the bootloader queries both PPMODE 1 & 5 configurations so it should (yes?) find the mode 5 boot flash and boot from it. Normally we run with the PPMODE in mode 1 but when we upgrade the firmware, we switch to mode 5, reset the SPI peripheral and upgrade the firmware.
The real question I have is this. In mode 1 the pins that connect to the 4 SPI device chip selects are the SPI peripheral CS0-CS3 signals. In mode 5 these same pins are connected to four of the LCD controller signals (LCD_CS0_E0, LCD_CS1_E1, LCD_RW_WRB,LCD_RS) which are all strobe outputs.
So, can I manage the clock gating/reset/programming of the LCD controller so that these four signals remain a steady logic high?
Thanks in advance
John Mackinnon