Поиск контакта GPIO с поддержкой ШИМ-канала

Подскажите кто-нибудь, как можно было бы реализовать передачу значения напряжения с ШИМ-канала Jetson TX2 на драйвер моторов L298N? Я пока только знакомлюсь с данной платой и нужна помощь :(
Я прочитал на одном из форумов, что есть PWM на колодке J15, но она задействована под нужны вентилятора.
Хотелось бы узнать:

  1. есть ли пин с ШИМ-каналом на колодке J21?
  2. если есть, то как его активировать и задавать значение duty_cycle (желательно на python)?
  3. если нет такого пина, то как быть?

Hello,

This topic belongs in the Jetson category, I have moved it over for you.

1 Like

Hi ltimofei20,

Are you using the devkit or custom board for TX2?
What’s your current Jetpack version in use?

You could modify pinmux spreadsheet or use Jetson-IO to modify pinmux register for PWM usage.
And refer to the following thread to use PWM and configure duty cycle through sysfs.
Strange behaviour with Jetson Nano DevKit PWM signal - #5 by WayneWWW

Note that you can find your L4T (“Linux for Tegra”) release via:
head -n 1 /etc/nv_tegra_release

That release is tied to the JetPack release (JetPack is an installer, L4T is what gets flashed, and that in turn is Ubuntu plus NVIDIA drivers). If you show L4T release then JetPack release will also be known.

It is also important to know if it is an NVIDIA developer kit or if it is a separately sold module with a third party manufacturer’s carrier board.

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