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
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 113 55,504 05-02-2021, 04:48 AM
Last Post: mara
  openwrt for the rock64 wilsonYan 7 4,971 04-23-2021, 01:37 AM
Last Post: wilsonYan
  Setting a MAC on Rock64 U-Boot kiriakos 2 337 03-23-2021, 04:51 AM
Last Post: kiriakos
  Getting from zero to spidev on ROCK64? MikeInMass 0 174 03-22-2021, 10:31 AM
Last Post: MikeInMass
  NextCloudPi image for Rock64, NC version 13.0.2. nachoparker 11 10,570 03-15-2021, 02:59 PM
Last Post: kiriakos
  DietPi OS for ROCK64 MichaIng 11 2,896 03-10-2021, 11:00 AM
Last Post: MichaIng
  Linux Images (ROCK64) pineadmin 164 142,302 02-12-2021, 10:14 AM
Last Post: useful64
  Armbian for Rock64 pineadmin 26 18,488 12-25-2020, 11:07 PM
Last Post: lanefu
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 31 22,311 12-21-2020, 08:17 AM
Last Post: hermes73
  RetroPie on Rock64 Luke 40 27,824 10-31-2020, 07:12 AM
Last Post: BigSkyEntertainment

Forum Jump:


Users browsing this thread: 1 Guest(s)