Skip to main content
SLam.1
Visitor II
March 31, 2022
Solved

Can I set eMIOS0 ch 16 to be a PWM channel?

  • March 31, 2022
  • 1 reply
  • 1407 views

I am working with a SPC582B60E1 64 pin Flat pack chip. I am trying to program GPIO11_INT24_PWM16_CAN4SYS1_RX_WKPU pin 53 as a PWM output. But I am not sure if it is even possible. I consulted the SPC5 LLD Drivers for RLA components document for PWM low level driver and in that section of the document has a diagram showing the physical and logical channels. I took a screen shot and attached it for reference.

It shows that that of the eMIOSx channels, that channels 8, 16 and 24 do not have PWM Drivers. So does this mean it is not possible to set channels 8, 16 or 24 as a PWM channel? If they can be set to a PWM, could you include a code snippet to set it up? Thanks,

Steve Lam

This topic has been closed for replies.
Best answer by Erwan YVIN

Hello Slam ,

Sorry for the late answer,

You can not configure the LLD driver as PWM Channel 8,16 or 24.

Normally , it is possible. (cf screenshot)

PWM driver is as example.

i recommend to update it or to create your LLD driver.

Best Regards

Erwan

0693W00000NpTBCQA3.png 

1 reply

Erwan YVIN
Erwan YVINBest answer
ST Employee
May 6, 2022

Hello Slam ,

Sorry for the late answer,

You can not configure the LLD driver as PWM Channel 8,16 or 24.

Normally , it is possible. (cf screenshot)

PWM driver is as example.

i recommend to update it or to create your LLD driver.

Best Regards

Erwan

0693W00000NpTBCQA3.png