Firefly Open Source Community

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.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1