Hardware Reference
In-Depth Information
# From http://elinux.org/CircuitCo:MiniDisplay_Cape
# Datasheet:
# https://www.crystalfontz.com/products/document/3277/
ST7735_V2.1_20100505.pdf
bone# wget http://elinux.org/images/e/e4/Minidisplay-example.tar.gz
bone# tar zmxvf Minidisplay-example.tar.gz
bone# cd minidisplay-example
bone# make
bone# ./minidisplay-test
Unable to initialize SPI: No such file or directory
Aborted
WARNING
You might get a compiler warning, but the code should run fine.
The MiniDisplay uses the Serial Peripheral Interface (SPI) interface, and it's not initial-
ized. The manufacturer's website suggests enabling SPI0 by using the following com-
mands:
bone# export SLOTS=/sys/devices/bone_capemgr.*/slots
bone# echo BB-SPIDEV0 > $SLOTS
Hmmm, something isn't working here. Here's how to see what happened:
bone# dmesg | tail
[ 625.334497] bone_capemgr.9: part_number 'BB-SPIDEV0', version 'N/
A'
[ 625.334673] bone_capemgr.9: slot #11: generic override
[ 625.334720] bone_capemgr.9: bone: Using override eeprom data at
slot 11
[ 625.334769] bone_capemgr.9: slot #11: 'Override Board
Name,00A0,Override \
Manuf,BB-SPIDEV0'
[ 625.335026] bone_capemgr.9: slot #11: \Requesting part number/
version based \
'BB-SPIDEV0-00A0.dtbo
[ 625.335076] bone_capemgr.9: slot #11: Requesting firmware \
'BB-SPIDEV0-00A0.dtbo' \
for board-name 'Override Board Name', version '00A0'
Search WWH ::




Custom Search