SPI Bus BMP280 Pressure Sensor

Having added a Serial Peripheral Interface (SPI) driver, it was tested with a widely available and inexpensive board module that uses the Bosch BMP280 barometric pressure / temperature sensor. Here is a link for a typical example, but there are many alternative sources: Amazon link. You may also need some suitable cabling, such as female-to-female ribbon cable (example here) and a soldering iron to connect the pin header.

If this sensor is connected, the uboot-driver-example test application will use it (see Using the U-Boot Driver Library).

The wiring connections using the MaaXBoard's 40-pin GPIO connector are as follows, accompanied by some reference photographs.

GPIO PinSensor Pin
17VCC
19SDA (MOSI)
20GND
21SDO (MISO)
23SCL
24CSB (SSO)

SPI GPIO view SPI GPIO view SPI sensor top view SPI sensor bottom view