- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
1,After programming max10, use the PWM . However, it does not work and the oscilloscope does not show any waveform changes. Confirm oscilloscope no problem.
(use the aero board Expand I/O)
a,Program: top.jam OR AERO1_FPGA.jam
https://github.com/intel-aero/intel-aero-fpga/tree/master/aero_sample/output_files intel-aero-fpga/aero_sample/output_files at master · intel-aero/intel-aero-fpga · GitHub
b.Operate: jam -aprogram *.jam
jam -averify *.jam
(* = top or AERO1_FPGA)
spi_xfer -b 1 -c 1 -d 5097 -w 2
(test pwm0)
https://github.com/intel-aero/meta-intel-aero/wiki/95-(References)-FPGA 95 (References) FPGA · intel-aero/meta-intel-aero Wiki · GitHub
c,PWM0 pin:
pin Name:FPGA_GPIO_05 / (FPGA pin: N1)
I download the https://github.com/intel-aero/intel-aero-fpga/tree/master/aero_sample Sample FPGA configurations and open the project found the pin.
pin location according to https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar... https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar...
2,Is my operation wrong? Or burn the wrong document? Or other mistakes? Can you give more accurate and detailed documentation? (About intel aero FPGA)
Or give effective advice and help.
Thank you for your assistance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi tallent_you,
Thank you for your interest in the Intel Aero Platform. Let me try to setup the FPGA to output PWM as you mentioned and get back to you. At the moment, this is all the documentation that is available for the FPGA on Aero.
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi tallent_you,
I was not able to setup the PWM output, let me check with the engineering team and get back to you as soon as possible. I apologize for the inconvenience.
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thank you for your responsible attitude. Hope that the problem can be solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi tallent_you,
I was able to get PWM output with the following information. We are working on documenting this on the wiki and should be there soon.
To use PWM, you will need to flash the AERO1_FPGA.jam:
https://github.com/intel-aero/intel-aero-fpga/blob/master/aero_sample/output_files/Aero1_FPGA.jam https://github.com/intel-aero/intel-aero-fpga/blob/master/aero_sample/output_files/Aero1_FPGA.jam
Use the following commands to configure PWM0 & PWM1
FPGA_GPIO_06 (PWM0)
# set frequency
spi_xfer -b 1 -c 1 -d 5097 -w 2
spi_xfer -b 1 -c 1 -d C398 -w 2
# set duty cycle
spi_xfer -b 1 -c 1 -d 28B1 -w 2
spi_xfer -b 1 -c 1 -d 61B2 -w 2
FPGA_GPIO_05 (PWM1)
# set frequency
spi_xfer -b 1 -c 1 -d 5099 -w 2
spi_xfer -b 1 -c 1 -d C39A -w 2
# set duty cycle
spi_xfer -b 1 -c 1 -d 28B3 -w 2
spi_xfer -b 1 -c 1 -d 61B4 -w 2
# Enable PWM on FPGA_GPIO_05 & FPGA_GPIO_06
spi_xfer -b 1 -c 1 -d 0395 -w 2
spi_xfer -b 1 -c 1 -d 8096 -w 2
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
the intel aero does only support two PWMs. Only two PWM pins are exposed. We will here modify the jam file to support 8 PWM and a PPM RC input as well

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page