yyts 发表于 2020-12-23 16:30:00

树莓派4,最大可以到5个UART或5个SPI吗?

默认好像都是只有一个,不够用,可以用两个UART,两个SPI吗?手册上写的应该是可以支持,有用过的吗?

yyts 发表于 2020-12-23 16:55:44

找到了,系统里面有自带一个readme文件,正在测试。

Name:   uart2
Info:   Enable uart 2 on GPIOs 0-3. BCM2711 only.
Load:   dtoverlay=uart2,<param>
Params: ctsrts                  Enable CTS/RTS on GPIOs 2-3 (default off)


Name:   uart3
Info:   Enable uart 3 on GPIOs 4-7. BCM2711 only.
Load:   dtoverlay=uart3,<param>
Params: ctsrts                  Enable CTS/RTS on GPIOs 6-7 (default off)


Name:   uart4
Info:   Enable uart 4 on GPIOs 8-11. BCM2711 only.
Load:   dtoverlay=uart4,<param>
Params: ctsrts                  Enable CTS/RTS on GPIOs 10-11 (default off)


Name:   uart5
Info:   Enable uart 5 on GPIOs 12-15. BCM2711 only.
Load:   dtoverlay=uart5,<param>
Params: ctsrts                  Enable CTS/RTS on GPIOs 14-15 (default off)

armku 发表于 2020-12-23 17:10:15

纯属好奇,楼主用什么语言开发?

yyts 发表于 2020-12-23 17:40:59

armku 发表于 2020-12-23 17:10
纯属好奇,楼主用什么语言开发?

c , python,.net core 都有,也会web相关的,vue之类的。

liandao 发表于 2020-12-24 07:21:50

https://elinux.org/RPi_BCM2711_GPIOs
BCM2711 GPIO functions

yyts 发表于 2020-12-24 18:04:33

liandao 发表于 2020-12-24 07:21
https://elinux.org/RPi_BCM2711_GPIOs
BCM2711 GPIO functions

谢谢,你这个更全。
页: [1]
查看完整版本: 树莓派4,最大可以到5个UART或5个SPI吗?