PWM example from AAeon SDK fails to set PWM

Martin Mayr
Martin Mayr New Member Posts: 54

When using the SDK from AAEON and trying the PWM.exe from the release directory I allways get Failed to set PWM message whatever PWM I use and whatever PWM values I want to set ...
In my BIOS the HAT Configuration is as follows:
LPSS HSUART #2 Support Disabled
SPI#1 Disabled
SPI#3 Disabled
I2C #1,2,6,7 all disabled
GPIO / PWM0 Selcetion [PWM0]
GPIO /PWM1 Selcetion [PWM1]
GPIO /PWM3 Selcetion [PWM3]
GPIO /I2S5 Selection [GPIO]
HD-Audio [Disabled]
GPIO / I2S2 Selection [GPIO]
GPIO / Speaker [GPIO]

all GPIO s are defined as Output and all with Low in the BIOS

except :

GPIO 19 (Pin16) PWM3

GPIO25 (Pin32) PWM0
GPIO13 (Pin33) PWM1

....ExHAT Pins all to Input defined ...

So I expected with this configuration to be able to set a frequency to the PWM port ... but the PWM.exe allways says :

Set PWM Failed

Unfortunately sometimes the whole UP2 freezes with this message ... Only way to liberate it is by power off / power on ... !?