How to use Cortex-R5 to make a pwm by AON gpio not use Orin?

Hi,

We are using AGX Orin Devkit, now we need to make a 1.8V pwm wave. AGX Orin Devkit 40Pin Header pwm are 3.3V.

We want to use SPE AON GPIO to generate a pwm wave, can you give some samples about how to use spe aon gpio to generate a pwm?

Hello,
For GPIO sample in SPE firmware, you can take a look at “rt-aux-cpu-demo-fsp/doc/gpio.md” in SPE source code.
Something to remind.

  1. Only GPIOs in AON cluster are available in SPE firmware.
  2. Please check the datasheet, and some GPIOs are also 3.3.
  3. To simulate PWM with GPIO pin, the frequency may not be able to reach very high. You can make some test first.

br
ChenJian

Okay, thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.