Other Parts Discussed in Thread: TMDSHSECDOCK-AM263, SYSCONFIG
Tool/software:
Hello E2E Experts,
Good day
am attempting to increase the number of PWM pins available to me on the AM263Px control card EVM through the use of pin multiplexing. I have been unable to do so, and I am unsure if it is a software issue that I am overlooking. I am using the TMDSHSECDOCK-AM263 for probing and debugging. CCS has been updated to the latest software version. I am able to get PWM signals on the dedicated PWM pins on the EVM (EPWM4_A, for example), but not on the pins that need to be configured as PWM through multiplexing. I will use EPWM28_A as an example, and the solution can likely be extended to other pins. The following is what I have attempted so far.
According to the datasheet, EPWM28_A is not a dedicated PWM pin, but is available by setting BALL M16 (pin 131) to Mode 5. This is shown below in the screenshots of the documentation for the EVM.
Pinout:
Multiplexing Options:
I then try to implement this in Code Composer Studio. In the "syscfg," I set up an instance of EPWM28 and select the pin that matches the documentation (M16). Checking the ti_pinmux_config.c file, I see that the auto generation correctly selects pin mode 5 to use it as a PWM pin.
Auto Generated Pin Mux Code:
All the other settings (EPWM Time Base, EPWM Counter Compare, EPWM Action Qualifier, EPWM Dead-Band, etc...) are all identical to my EPWM0 instance, which I am able to get working. On the TMDSHSECDOCK-AM263 board, I am probing pin 131 (header J24_6). As of now, I am not receiving any PWM signal output. One concern that I have is that on the dock board, it labels pin 131 as GPMC0_A7, and not ICSS_MII0_TXD0 as it does on the EVM. Even in the EVM documentation, there is a difference between "Package Signal Name" and "Pinlist" for M16. I would assume that the pinouts (pin 131) should be the same between the dock and control card.
I was under the impression that all the pin multiplexing would be done in the syscfg and not in the application code. Is this correct, or is there something that I am missing?
Regards,
TICSC