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.

TMDSCNCD263: QSPI flash functionality over DMA

Part Number: TMDSCNCD263

Hello,

I have a working bootloader, for all flash functionalities, i have use Flash driver API and working fine.

But consuming more time when flashing large application.

Now i would like to use DMA, instead of Flash APIs.

Could you please share any application note on QSPI & DMA or any example.

Kind regards,

Hari

  • Hi ,

    But consuming more time when flashing large application.

    Do you mean programing / Flash_write takes more time than expected ?

    Now i would like to use DMA, instead of Flash APIs.

    In case of write, I think we have not yet enabled the support for the same. I need to check if that is really feasible or not.

    Could you please share any application note on QSPI & DMA or any example.

    We have DMA enabled in the syscfg for Flash_read APIs. Writes, I need to recheck if that is feasible or not.

    Best Regards,
    Aakash

  • Hello Aakash,

    Do you mean programing / Flash_write takes more time than expected ?

    Yes.

    In case of write, I think we have not yet enabled the support for the same. I need to check if that is really feasible or not.

    Okay, Please let me know.

    We have DMA enabled in the syscfg for Flash_read APIs. Writes, I need to recheck if that is feasible or not.

    Please share me the reference.

    Kind regards,

    Hari

  • Hi ,

    Writes cannot be supported via DMA because even if Memory Map Mode is enabled for Write, after each page write, the controller needs to poll for the write to complete and only after completion of write, the new DMA transfer will start. This cannot work in AM263x device.

    I hope this answers your question. If you check examples such as QSPI_DMA_IO you will find the DMA enabled in the syscfg.

    Best Regards,
    Aakash