如何让所有BBB的GPIO引脚在Widows CE中运行? [英] How to get all of BBB's GPIO pins work in Widows CE?

查看:106
本文介绍了如何让所有BBB的GPIO引脚在Widows CE中运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我从以下网址下载了BeagleBone Black的Windows CE:

I downloaded a Windows CE for BeagleBone Black from:

https://beaglebonebsp.codeplex.com/发布/查看/ 613051

https://beaglebonebsp.codeplex.com/releases/view/613051

GPIO还有一个很好的C#程序。

There is also a good C# program for GPIOs.

我在我的BBB上运行它,但只有10个引脚工作,其他人都不行!

I ran that on my BBB, but just 10 pins work, and the others do not work!

你知道是什么原因吗?

提前致谢

推荐答案

原因是其他引脚默认分配给其他功能..比如PWM或串口。

The reason is that the other pins are allocated for other function by default ..like PWM or serial ports.

每个IO引脚根据引脚多路复用器的设置方式,可以采用多种不同功能之一,GPIO只是这些功能中的一种。您可以通过为该特定引脚重新编程多路复用器寄存器来更改哪个功能。默认情况下,
只有一些在加电时被指定为GPIO。

Each IO pin can take on one of many different function depending on how the pin multiplexer is set up, GPIO is just one of these functions. You can change which function by reprogramming the multiplexer register for that particular pin. By default only some are assigned as GPIO on power up.

有关详细信息,请参阅TI的AM335X TRM。

See the TI's AM335X TRM for more information.

 


这篇关于如何让所有BBB的GPIO引脚在Widows CE中运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆