AM263P4-Q1: CCS SysCfg generates wrong "Selected Mode" entries in pinmux.csv?

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: AM263P4, SYSCONFIG

Tool/software:

Hi,

I am experimenting with creating a first pinout for a new project based on AM263P4. To establish this first possible pinout, I am using CCS version 20.2 (see screenshot #1).

Now, I need to fwd the selected pinout config in CSV/Excel format to my colleagues for schematic design and I noticed that the generated pinmux.csv shows what seems to be the wrong "Selected Mode" function for the configured pins?
This happens to many other pins as well. It seems only the first of the possible alternative functions is shown in this list whenever the pin is selected to be used?

Steps to reproduce:
1. Create new project, e.g. hello_world_cpp_am263px-cc_r5fss0-0_nortos_ti-arm-clang
2. Add one MCAN instance to example.syscfg
3. Set MCAN instance to MCAN4 -> uses G1/J2 pins which don't have MCAN as first alt. function in the list.
4. check pinmux.csv. Shows EPWM9_A/EPWM9_B as Selected Mode (should be MCAN4_RX/TX - alt func 4) - see screenshot #2.

Thanks, I'm hoping for a fast resolution as it would save me a lot of time and would help to avoid manually copying all pin information.
Valentin

--------------


#1


#2

  • Hi ,

    Can you please replace the pinmux.csv.xdt file inside "source/sysconfig/drivers/.meta/pinmux" with this one? 

    Note that .meta is a hidden folder so you might need to change your view to see it.

    Let us know if this is what you want.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/pinmux.csv.xdt

    P.S. We haven't thoroughly tested this on our entire SDK till now. The fix can be pushed in our upcoming release.

    Thanks and Regards,

    Sudeshna

  • Hi, thank you very much!
    Unfortunately, I cannot find the path you are referring to.

    The CCS base folder doesn't contain any folder named source. Searching for *.xdt also doesn't show any pinmux.csv.xdt. I only seem to find a summary.csv.xdt but this has completely different content.

    Could you please extend the path reference based on CCS installation folder?

    Thanks!
    Valentin

    Edit:

    found it in C:\ti\mcu_plus_sdk_am263px_10_02_00_15\source\sysconfig\drivers\.meta\pinmux

    Will try!

    Edit 2:
    I believe this goes in the right direction but something is still off.

    I am experimenting with GPIO21 (Pin LIN2_RXD / B8). If I tick "GPIO Peripheral" box (I assume to connect pin to ball and activate GPIO mode), I see the pin still listed as "LIN2_RXD":


    But if I deactivate the box, the diff view now shows that it was in fact correctly listed as "GPIO21" before. I checked, the downloaded CSV file does not show GPIO21.

    Also, the diff view seems to be comparing against a hidden, old version where Selected Mode is working ocrrectly but in the displayed result, it is not.

    Getting there ... :)

  • Hi ,

    For me it appears to be working as expected. Is it possible to share your syscfg file so that we can also reproduce at our end?

  • Hi,

    ok it seems I had to also restart CCS for the fix to work. I did not do that yesterday as I was working on a pinout.
    Now, after a fresh start, all seems to be working fine!

    Thanks a lot for your help!
    Valentin