This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM243: SPI Flash vs XIP Mode

Part Number: LP-AM243

Hello! Just checking my understanding of the AM243--If I attach serial NOR Flash to the OSPI interface, I will be able to execute software from Flash without having to copy the code to SRAM, correct? This is the main benefit to XIP mode?

Additionally, is there any specific requirement for the flash being attached to the device? I know that executing from flash will be considerably slower than execution from SRAM. Is there a reason why the LP uses SPI flash but does not use XIP mode?

For industrial communication projects, is there any recommendation for booting from flash? (Parallel flash, XIP mode with SPI, no XIP mode with SPI, etc) 

Thank you!

  • Hi Ryan,

    You are correct about the XIP on flash. However, the main reason for attach external flash to AM243x is to save the application in the non-volatile storage, so that the AM243x can boot from on power up. Since the AM243x comes with 2MB on-chip memory, most likely it is enough for entire application to run in on-chip memory. The XIP on flash is not needed. The largest industrial communication stack takes less than 1MB of on-chip memory, so it still leaves more than 1MB memory for user application.

    Best regards,

    Ming