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.

PROCESSOR-SDK-AM64X: OSPI driver question

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: TMDS64EVM

Hi, 

I am running ospi example code on default  board  TMDS64EVM.  flash type is S28HS512T.

According to the TRM,  we can config the ospi to use  Dicrect Access Controller,  12.3.2.4.9 OSPI Direct Access Controller

However, in ti firmware SDK,  it only provides  "OSPI_writeDirect" in flash_nand_ospi.c.    eg: C:\ti\mcu_plus_sdk_am64x_09_01_00_41\source\board\flash\ospi\flash_nand_ospi.c

does it mean  OSPI_writeDirect   can only use in   nand flash?   in demoboard, we have nor flash. right?

can you provide an example to use OSPI_writeDirect    in  nor flash?

Thanks

  • Hi Jun,

    I have noted your question.

    OSPI_writeDirect() should work with NOR flash parts.

    I would suggest you to use the API directly for the NOR flash write direct operation and let me know if you run into some troubles.

    Looking forward to your response.

    Regards,

    Vaibhav