How to control fine PWM on AI64?

Hello @ALEX_PARK ,

The weekend was okay. Finally…rest. Anyway, in the new image (Bookworm), there are two pins that are listed as ehrpwm on the /boot/firmware/overlays/ files that one can add in w/ the /boot/firmware/extlinux/extlinux.conf file.

From my knowledge, this does not specifically mean that the other PWMSS pins are not ehrpwm enabled but maybe they are not.

I do not know right now what to make of it.

Seth

P.S. BeagleBone cape interface spec — BeagleBoard Documentation

I will test again and see if I cannot get better results like we discussed earlier last week.

Update

Here is the Bookworm page on this forums w/ the ehrpwm peripheral access overlays:

Another Update and Ideas…

  1. I have all my PWM overlays enabled which includes the ehrpwm overlays at P9.25/P8.37.
  2. Do you think testing PWM1 and then ehrpwm at P9.25 will encounter different results on the oscilloscope?
  3. If I encounter different results, I will reply w/ that info. and add photos in the mix.

I had some issues w/ the software on my oscilloscope. Bugs. I should report them to Rigol. I had to erase every form of source from Rigol to get rid of the pop-up installs. Blah.

Anyway, I can test right now even though I need to learn the divisible part of my connections w/ the Rigol in mind. Updates on the way. Also, the link I posted can get you about 200MHz loops from the PRU…

1 Like