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.

66AK2G12: Can EDMA transfers be used with QuadSPI?

Part Number: 66AK2G12
Other Parts Discussed in Thread: SYSBIOS

Tool/software:

Hi,

I am currently selecting parts for a new product and would like to use DMA for data transfers to and from a serial FLASH memory connected to a QSPI.

Although 66AK2G12 is equipped with Quad SPI, the technical reference states that DMA not supported.

However, there is no mention that it does not support EDMA, so I thought that I might be able to use EDMA.

Is this incorrect?

Which page in the Technical Reference should I look at for this?

  • Hello 

    We do recommend K2G family for new development. We are no longer refreshing the Linux SDK for this and do not support the existing TI RTOS/SYSBIOS SDKs as captured on the following FAQ

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1071334/notice-regarding-processor-sdk-ti-rtos-for-am335x-am437x-omap-l13x-c674x-k2g-devices

    I would recommend evaluating newer devices.

  • Thanks for the answer !

    However, due to company circumstances, we were asked to make use of existing hardware and software assets as much as possible, and the serial flash memory portion needed to be changed in order to increase the memory size.

    With that in mind, I'd like an answer to the question posed earlier.

    > Although 66AK2G12 is equipped with Quad SPI, the technical reference states that DMA not supported.

    > However, there is no mention that it does not support EDMA, so I thought that I might be able to use EDMA.

    > Is this incorrect?

    Which page in the Technical Reference should I look at for this?

  • EDMA transfers can be used for QSPI On K2G if the interface is enabled in DAC (Direct addressing mode). If you look at the source code for SBL software in Processor SDK or the QSPI RTOS driver, you will find unit test cases that leverage DMA operation for faster booting and read.

    Source : pdk_k2g_1_0_15\packages\ti\drv\spi\soc\dma\v1 

    Configuration enabling EDMA: K2G_PRSDK61\pdk_k2g_1_0_15\packages\ti\drv\spi\soc\k2g\SPI_soc.c

    Library: pdk_k2g_x_x_xx\packages\ti\drv\spi\lib\k2g\a15\release

    the driver support DMA mode for both A15 and C66x. 

    As Mukul has indicated, we can`t offer more support on the RTOS SDK offering for this device but hopefully, you have enough to confirm the DMA operation with QSPI on k2g to proceed.

    Thanks and Regards,

    Rahul 

  • Rahul, thanks for your reply!
    I'll check the information you provided first.

  • Let me confirm one thing.
    Is the sample code you provided a program that "runs an execution program while reading it from a QSPI-connected flash at startup"?
    If so, is it possible to use EDMA only for data transfer from a QSPI-connected flash?
    I don't need to execute the program code in the flash.
    I apologize for not explaining the purpose of this.

    Thanks and Regards,

    H.Ito

  • the EDMA implementation is to use EDMA to copy data from QSPI flash to DDR memory. or onchip memory. This is not used for Execute in place. 

    Did you run the example on the TI EVM and have any follow up questions on the functionality of the example code?

    Thanks and Regards,

    Rahul Prabhu