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.

TDA2PXEVM: Increasing QSPI frequency

Part Number: TDA2PXEVM

Hi,

We are reading/writing data from and to the QSPI shared memory, while reading/writing we observed that we need to add multiple calls to read and write, it is not happening in one go. What might be the reason for this? I have refer the QSPI writer tool available at /ti_components/drivers/pdk_01_10_03_07/packages/ti/boot/sbl_auto/qspiflash/examples/qspi_flash_writer I found that the mode of QSPI is configurable and so we can change the frequency of QSPI. Is there any way I can change frequency of QSPI from my HLOS usecase or any other method to update QSPI frequency?

Thank you!

Regards,

Gayatri

  • Hi,

    Can you elaborate on >> while reading/writing we observed that we need to add multiple calls to read and write, it is not happening in one go ??

    Why do you want to change the frequency of QSPI? suppose if we change the frequency how the above issue will resolved? 

    From which core are you trying read/write from the QSPI memory?

    Thanks

    Gaviraju

  • Hi,

    I am using A15 core to read/write the QSPI memory.

    /*To write data*/

    /******************************************************/

      fd = open("/dev/mtd4", O_RDWR);

     //erase complete sector of mtd4 device

    lseek(fd, -mtd_info.erasesize, SEEK_END);
    read(fd, user_define_structPtr, sizeof(user_define_struct));

    /******************************************************/

    Writing data in above mentioned fashion, where last two lines of lseek & read are called 3 times along with this some wait is added. With this I have inferred that the QSPI required more time to write. The size of user defined struct is 1948 bytes.

    That is the reason i want to increase the QSPI frequency.

    Thank you!

  • Hi,

    I discussed this issue internally they are not suggesting to change the QSPI frequency. For more information please find the snapshot of our discussion.

    Thanks

    Gaviraju