ArduCAM / BeagleboneBlack

This a ArduCAM library ported for BeagleboneBlack board
MIT License
14 stars 7 forks source link

BeagleboneBlack Hookup Guide #3

Open jkissl opened 6 years ago

jkissl commented 6 years ago

Is there a guide to how to hook the cam up to the Beaglebone black? I have searched around some and have not come across it. Looking through the code I'm having difficulty with the C syntax (More used to python) in figuring which pis are which.

Thanks in advance!

silentjet commented 6 years ago

Here is no big deal. First: google for beaglebone black pin map Second: check the available devices in your BBB Linux: ls /dev/spi ls /dev/i2c

keep in mind mapping: i2c-0 == i2c0 pins, BUT spidev1.0 == spi0 with cs0 pin spidev2.0 == spi1 with cs0 pin spidev2.1 == spi1 with cs1 pin (yeah, SPI allows multiple connection for slave devices)