Tool/software:
We use AM275-AWE-SDK_11.00.00.17. According to freertos_sdk_am275x\source\board\flash\ospi\flash_nor_ospi.c, there is only
Tool/software:
We use AM275-AWE-SDK_11.00.00.17. According to freertos_sdk_am275x\source\board\flash\ospi\flash_nor_ospi.c, there is only
Hi,
Thanks for the precise question.
I understand your requirement.
So, when using a NOR Flash more precisely an OSPI/QSPI NOR Flash, it is always recommended to perform DAC reads as DAC reads are much faster compared to INDAC reads.
Currently for a NOR Flash, in the SDK when you run the sample example named as "OSPI_FLASH_IO", you would see the Flash_read and Flash_write API calls.
Flash_read leads to calling the read Direct API.
Flash_write leads to calling the write Indirect API.
Currently this is what the supported combination is and recommended as well from TI's SW offering point of view.
Moreover, to know the reason why DAC writes are not supported please read the following: RE: AM6421: Does OSPI support DMA?
PLEASE NOTE:
In order to use read Indirect you would just need to replace the API call of read direct with read Indirect where it is called, no additional modification would be required apart from this. Please keep in consideration the recommendation I provided above as well.
Thanks,
Vaibhav
Actually I already tried replace OSPI_readDirect with OSPI_readIndirect, but when replaced, the thread died.
My code