PWM on rock64
#1
I want to connect a strip of neopixels to the rock64 for a project.  I plan on using this: https://github.com/jgarff/rpi_ws281x

Physical pin 33 on the pi header is open so I want to use that.  That means I need PWM.  Is that pin able to do that on the rock64 or is that on a different pin?  Do I still need to disable onboard audio or is the a raspberry pi thing?  What DMA channels are available/unused?

If these should really be multiple threads, let me know and I'll break it up.  I didn't want to risk spamming the forums with multiple posts for one issue.
  Reply
#2
(11-24-2018, 12:06 AM)Mentaluproar Wrote: I want to connect a strip of neopixels to the rock64 for a project.  I plan on using this: https://github.com/jgarff/rpi_ws281x

Physical pin 33 on the pi header is open so I want to use that.  That means I need PWM.  Is that pin able to do that on the rock64 or is that on a different pin?  Do I still need to disable onboard audio or is the a raspberry pi thing?  What DMA channels are available/unused?

If these should really be multiple threads, let me know and I'll break it up.  I didn't want to risk spamming the forums with multiple posts for one issue.

Working on the same project. Haven't seen anyone get hardware pwm working on the Rock64. See Leapo's library for example of soft pwm, https://forum.pine64.org/showthread.php?tid=5902
Doesn't work fantastically for LEDs though. I've been able to minimize the flicker by performing very slow transitions, and only operating on 1 or 2 channels at a time, but it's still occasionally noticeable.
  Reply
#3
Video 
just tested basic soft pwm using C instead of python. Much better for leds. No noticeable flicker.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Armbian for Rock64 pineadmin 31 18,734 Yesterday, 09:35 AM
Last Post: Wizzard
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 113 55,849 05-02-2021, 04:48 AM
Last Post: mara
  openwrt for the rock64 wilsonYan 7 5,041 04-23-2021, 01:37 AM
Last Post: wilsonYan
  Setting a MAC on Rock64 U-Boot kiriakos 2 356 03-23-2021, 04:51 AM
Last Post: kiriakos
  Getting from zero to spidev on ROCK64? MikeInMass 0 185 03-22-2021, 10:31 AM
Last Post: MikeInMass
  NextCloudPi image for Rock64, NC version 13.0.2. nachoparker 11 10,653 03-15-2021, 02:59 PM
Last Post: kiriakos
  DietPi OS for ROCK64 MichaIng 11 2,968 03-10-2021, 11:00 AM
Last Post: MichaIng
  Linux Images (ROCK64) pineadmin 164 142,812 02-12-2021, 10:14 AM
Last Post: useful64
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 31 22,498 12-21-2020, 08:17 AM
Last Post: hermes73
  RetroPie on Rock64 Luke 40 27,932 10-31-2020, 07:12 AM
Last Post: BigSkyEntertainment

Forum Jump:


Users browsing this thread: 1 Guest(s)