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.

AM2634: AM263x-lp

Part Number: AM2634

Hi Team,

I am seeing the below error, when I run the updated example code, attached is the code. Kindly please check and let me know your inputs.mcspi_loopback_am263x-lp_r5fss0-0_nortos_ti-arm-clang.zip

[Cortex_R5_0] ASSERT: 0.12s: soc/am263x/soc_rcm.c:SOC_rcmGetModuleClkDivVal:1418: (inFreq % outFreq) == 0 failed !!!

  • Hi Ravichandra,

    I was able to import and build your attached CCS project along with the MCU+ SDK for AM263x 08.05.00.24. It runs fine on AM263x LP. Here is the screen capture:

    The error reported in your post looks like a SysFW error. It may be caused by the incompatible version of the SysFW of the SBL_NULL flashed in the QSPI flash of your AM263x LP.

    Please import and rebuild your CCS project with the MCU+ SDK 08.05.00.24 or 08.06.00.34 for AM263x. Update your QSPI flash of AM263x LP with the pre-built SBL_NULL binary file for the corresponding MCU+ SDK release.

    Best regards,

    Ming

  • https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/AM263x_5F00_lp_5F00_SPI_5F00_Issue.salHi Ming,

    Thank  you for the kind response. Yes after updating the flash, I don't see errors anymore. I tried to capture the SPI data and I see the below issue, due to which our device BQ79600 is waking up. Can you please check this on your side.

    1) MOSI keeps low when CS becomes high

    2) I see data on MISO when I am sending series of 0x0 on MOSI

    Thanks,

    Ravi

  • Hi Ravi,

    1) Both D0 (MOSI) and D1 (MISO) are pulled low in syscfg, so it is normal it stays low even after CS becomes high.

    2) I did not see anything on D1 (MISO). Attached please find my Saleae capture on SPI0_CS0(J2-18), SPI0_CLK(J1-7), SPI0_D0(J6-55) and SPI0_D1(J6-54) on the AM263x LP.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/AM263x_5F00_lp_5F00_SPI_5F00_Issue_5F00_Ming.sal

    The above BMS command looks normal to me.

    Best regards,

    Ming

  • Hi Ming,

    Thank you, after changing the D0 to pull up I see the MOSI line going high before the CS pin goes high. But I see the output voltage from the 3V3 pin is low  its around 2.2V

  • Hi Ravi,

    Did you connect the ground for the Saleae? Are you connecting any other devices to the AM243x LP?

    If you do, please disconnect all the devices from AM243x LP and test again.

    Best regards,

    Ming