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.

MCU-PLUS-SDK-AM263X: Warning in ePWM

Part Number: MCU-PLUS-SDK-AM263X

Hi

When I try to add many GPIO and PWM I got this performance warning.

My question is that if I suppress this warning, what should be the consequences?

The other question is that If there is any way to use more GPIOs? since I need 102 GPIOs in total.

BR

Saman

  • Hi Saman

    We have 144 GPIO Pins in AM263x total.

    And the EPWMs - 64 are also embedded in these 144 Pins.

    And I see you have other peripherals configured as well like LIN, CAN, SPI.

    Do you have a architecture map or an excel sheet with all these peripherals linked to the GPIO pin to make sure there is no duplication?

    You might have already used up the GPIO pins and may be its duplicating.

    The Am263x data sheet has data on what each GPIO Pin supports.

    Regarding the performance warning, Could you tell me when you started getting this warning? I have not faced this issue.

    Would it be possible to share any reproducing steps?

    Do let me know if this helps.

    Thanks & Regards

    Sri Vidya

  • Hi,
    The warning started to appear when I tried to add more GPIOs.

    The steps are something like this:

    Add 4 MCANs

    Add 5 SPI

    Add 2 LIN

    Add 5 ADC

    Add 85 GPIOs

    Add PWMs

  • Hi Saman

    I am able to resolve the warning by choosing the hardware pin instead of using the ANY.

    I will check if this with internal team and get back to you on this

    Thanks & Regards

    Sri Vidya 

  • Hi Saman,

    The warning is there to let the user know that, due to the high number of signals, the algorithm that determines the optimal pinmux solution will cause a higher load on your host machine cpu. When an instance or pin option is set to "Any" the algorithm will attempt to calculate all possible pinmux solutions and determine the best fit (heavy cpu load and possible tool performance impacts). By manually setting an instance or pin option, you take away any variability and the tool no longer needs to compute all possible permutations of the pinmux configuration. Suppressing this notification has no impact on device development, however, if you have an older/slower host machine, CPU's may likely get bogged down and inclusion of additional pins will exacerbate the issue.

    Best Regards,

    Zackary Fleenor