Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Want to use GPIO as SPI in ROC-RK3328-CC

25

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
25

【Linux】 Want to use GPIO as SPI in ROC-RK3328-CC

Posted at 1/5/2022 17:49:01      View:3044 | Replies:3        Print      Only Author   [Copy Link] 1#
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.
Reply

Use props Report

235

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
235
Posted at 1/13/2022 11:25:17        Only Author  2#
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.
Reply

Use props Report

25

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
25
Posted at 3/18/2022 14:57:26        Only Author  3#
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.
Reply

Use props Report

25

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
25
Posted at 3/21/2022 16:02:40        Only Author  4#
Still waiting for the team to assist in this regard. I have followed up all documentations, but no one works.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list