Community
cancel
Showing results for 
Search instead for 
Did you mean: 
臻尤
Beginner
1,136 Views

Is there any more detailed documentation on INTEL AERO's FPGAs?

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  

spi_xfer -b 1 -c 1 -d C398 -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.

0 Kudos
5 Replies
idata
Community Manager
61 Views

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
idata
Community Manager
61 Views

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
臻尤
Beginner
61 Views

Thank you for your responsible attitude. Hope that the problem can be solved.

idata
Community Manager
61 Views

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
pcroc
Beginner
61 Views

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

Reply