BBB的Cape的基本情况网上说的很详细,我觉得比较好的是一个兄弟的blog(http://blog.csdn.net/wyt2013?viewmode=contents),其中的如何使用GPIO/AD/SPI/I2C及 为BBB制作专属自己的cape(一)-(四),这几篇博文都涉及到cape的事。可以仔细的“研读”,注意是“研读”而非“阅读”,因为中间有“魏来之路”这位兄弟的学习历程,中间有点曲折,值得一读。感谢这位兄弟的分享精神,非常佩服。
其实说到Cape主要涉及到几个主要的问题:
1、什么是Cape,它有什么标准?(可以参考SRM)
2、arm linux 3.x如何管理硬件?--扁平设备树,设备树重载。
3、如何管理Cape?--动态加载,文件IO
一、什么是Cape,它有什么标准?
Cape就是Beaglebone/BeagleBone Black的扩展功能板,如果你使用过PC104,你很容易理解Cape,BBB相当于PC104的CPU模块,而PC104外围AD模块、计数器模块就是它的Cape。
官方的解释如下:
The capes are products of the BeagleBoard.org community, which means they were designed by developers just like you and, although a variety of capes exist today, we can’t wait to see what cool new cape concepts come next. You have the chance to put your thinking cap on and tell us what we’ve missed by conceptualizing and designing your own cape plug-in board!(Capes是BeagleBone.org的产品线,通过capes,你可以开发你想要实现的功能,虽然今天有很多的capes已经完成,但是我们期待看到有更cool的新cape不断产生