PWM example from AAeon SDK fails to set PWM
Hello
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 ... !?
Comments
-
Again I reply to my own question with a partial answer and I reformule my question:
When setting the BIOS to Intel Linux the PWM doesn't fail anymore - why do I need to set to Intel Linux while being in Windows 10 ????? -
Any information about base Unit Value and Duty Cycle value of the PWM ? ms frequency Hz kHz us ?????
-
Ok some scope measurements give the following results on PWM0 measurements:
Base Duty freq High time Low time Periode
1 7F 75kHz 6.7us 6.7us 13.4us
A 7F 757 kHz 640ns 640ns 1.32us
A 3D 757 kHz 980ns 140ns 1.32us
7F 7F 9.5 MHz 20-25ns 20-25ns 109ns
0 3D 0 0 infini InfiniWhen trying the same on PWM1 (even with Intel Linux in the BIOS) the Message Set PWM failed reappears !
I think these are some BIOS problems or driver problems or problems within the sample software you should debug at AAEON ?!
Best regards
Martin
-
Did you get a response on this? or are you still waiting?
-
no response yet
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral