Tool/software: TI-RTOS
Hello everyone.
We are using:
- AM654x IDK
- processor_sdk_rtos_am65xx_5_03_00_07
We want to:
- read/write to the ospi flash that is on the eval board (MT35XU512ABA1G12-0SIT) using single I/O instructions (as if the flash were spi one)
- read/write to a qspi flash that is on our custom board
We did:
- started with the sdk example project (C:\ti\processor_sdk_rtos_am65xx_5_03_00_07\demos\rtos_template_app\am65xx\evmAM65xx\A53\template_app\)
- successfully imported ospi test code for am65 (C:\ti\pdk_am65xx_1_0_4\packages\ti\drv\spi\test\ospi_flash\src\main_ospi_flash_test.c)
but we were not able to write to/read from ospi flash in single lane mode.
We believe that driver (C:\ti\pdk_am65xx_1_0_4\packages\ti\board\src\flash\nor\ospi\nor_ospi.c) is made to work only with ospi flash using octal instructions - that is, the driver IS NOT generic.
Questions:
- Should we use ospi driver or qspi driver to communicate with a qspi device connected to the OSPI0 interface of the AM65x processor?
- When will the ospi driver become generic (so that we can communicate with a qspi flash)?
- What kind of changes in driver must someone make, in order to communicate with a qspi device?
- Is it possible to get some example code for AM65xx where a spi or qspi flash is being used?
Thank You very much in advance,
Dusan