Hello,
in the RT1020 Reference Manual is a list of pre-defined LUT indices
The example project flexspi_nor_polling_transfer only specifies the READ LUT. In another configuration file I got from NXP support for a Macronix flash there is also the write enable LUT entry and OPI mode LUT entry specified.
Kind regards,
Stefan
已解决! 转到解答。
Hi Stefan,
1. The first 5 LUT item is used by ROM API. Since ROM API is not opened to customer, you can change them in application. The first 2 item in LUT is read command. Other commands are not needed. Because ROM boot only use these 2 command to start NOR flash code.
2. You needn't care about it. Few SPI NOR flash has this command.
3.ROM will save all LUT items provided by user into a global variable other than load it into LUTn register directly. The first sequence of LUT register (LUT0) is always reserved as READ.
Regards,
Jing
Hi Stefan,
1. The first 5 LUT item is used by ROM API. Since ROM API is not opened to customer, you can change them in application. The first 2 item in LUT is read command. Other commands are not needed. Because ROM boot only use these 2 command to start NOR flash code.
2. You needn't care about it. Few SPI NOR flash has this command.
3.ROM will save all LUT items provided by user into a global variable other than load it into LUTn register directly. The first sequence of LUT register (LUT0) is always reserved as READ.
Regards,
Jing
Hello Jing Pan,
thank you very much for your helpful answer!
I think this is some information which would be worth to be added to the reference manual. Maybe you can forward it to the correct department.
Kind regards,
Stefan