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.

TMDS243EVM: The OSPI sample source in the SDK does not work.

Part Number: TMDS243EVM
Other Parts Discussed in Thread: SYSCONFIG, , AM2432

Dear support team,

The OSPI sample source in the SDK does not work.
How do I get the OSPI sample source to work?

【Supplementary Information】
     SDK                    :mcu_plus_sdk_am243x_09_00_00_30
     SysConfig           :sysconfig_1.17.0
     Sample Source   :ospi_flash_io_am243x-evm_r5fss0-0_nortos_ti-arm-clang
     Evaluation Board:TMDS243EVM
     Unclear point      :A long time loop is executed in the while statement of the Flash_norOspiWaitReady function in flash_nor_ospi.c.

Best regards,

Hiroyuki Tamaki

  • Hello Tamaki-san,

    I was not able to replicate the issue you are observing. Could you please provide the following:

    • are you currently using devboot/noboot mode or xSPI bootmode? 
    • What is the current PLL settings based on the position of the SW2.[3:1] switches on the board? 
    • how are you launching the example?

    Best,

    Daniel

  • Hi Daniel Bermudez,

    I will answer your question below.

    "are you currently using devboot/noboot mode or xSPI bootmode?"
      OSPI BOOT MODE is used.

    "What is the current PLL settings based on the position of the SW2.[3:1] switches on the board? "
      PLL REF CLK is set to 25MHz.

    "how are you launching the example?"
      The following procedure was used to launch the example.
        1. Start CCS and import ospi_flash_io_am243x-evm_r5fss0-0_nortos_ti-arm-clang.
        2. Open the ccxml file and set Board or Device to AM2432_ALV.
        3. Set MAIN_Cortex_R5_1_0, DMSC_Cortex_M3_0, and BLAZAR_Cortex_M4F_0 to Bypass in the ccxml file.
        4. Build the software.
        5. Click Run > Debug F11.
        6. Click Resume(F8).

    Best regards,

    Hiroyuki Tamaki

  • Hi Daniel Bermudez,

    I am sorry.

    I do not know the cause, but the OSPI sample source worked correctly.

    Thank you so much for your support.

    Best regards,


    Hiroyuki Tamaki

  • Hi Tamaki-san,

    I'm glad the example worked for you. I suspect the problem could have come from the flash not being in the reset state upon running the example. Please feel free to post another question if you run into more issues

    Best,

    Daniel