Title: Want to use GPIO as SPI in ROC-RK3328-CC [Print This Page] Author: zainiboi21 Time: 1/5/2022 17:49 Title: Want to use GPIO as SPI in ROC-RK3328-CC Dear Team, I'm using Roc-rk3328-CC Board fro utilizing its GPIOs to make use of SPI pins. I am unable to find a proper solution to my problem because i tried multiple methods like: https://github.com/Leapo/Rock64-R64.GPIO , https://github.com/rm-hull/spidev-test , https://github.com/chenphilip888/roc-rk3328-cc-python-gpio and many more as well. Let me know what is the best solution to my issue as i am using Ubuntu 18.04 in my board. Thanks.Author: 895816513 Time: 1/13/2022 11:25
Is the pin you want to use a multiplexed SPI pin, and if so, you can use SPI. If it is just an ordinary gpio pin, our team does not have a related solution if we want to simulate it as an SPI pin.Author: zainiboi21 Time: 3/18/2022 14:57
i have already enabled uart, and i2c on it and these both are working fine. but i am unable to find a proper solution to enable SPI on my board.
no, it is mentioned that it is an spi pin. having csn0 and CE as well on the data sheet. Author: zainiboi21 Time: 3/21/2022 16:02
Still waiting for the team to assist in this regard. I have followed up all documentations, but no one works. Author: Angelahayes Time: 1/16/2025 16:38
I understand your struggle with the Roc-rk3328-CC board's GPIOs and SPI pins. Have you tried using the Python library from the community? It could simplify the process. It reminds me of the pacman 30th anniversary game that brings nostalgia while troubleshooting; sometimes, you just need to find the right path! If anyone has a straightforward guide or solution, please share!
Author: katata Time: 10/1/2025 12:46
Hey! That's a tough one, trying to get those GPIOs to act like SPI on your ROC-RK3328-CC. I hope you find a breakthrough soon! It sounds like you need some serious precision, almost like trying to get a perfect combo in Fruit Ninja without hitting any bombs!Author: Louisville Time: 10/23/2025 12:13
Hey! That sounds like a tricky situation. I remember wrestling with GPIO configurations on a similar board. Sometimes, the hardware limitations can be frustrating. Have you considered checking if the kernel is correctly recognizing the SPI controller, or if there's a device tree overlay that might be interfering? If all else fails and you want to take out that anger from your system, maybe try playing Solar Smash to relax. Good luck finding your solution!
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)