Thunderboard Sense BSP

Detailed Description

BSP for Thunderboard Sense and Thunderboard Sense 2.

Modules

BAP - Barometric Pressure Sensor
Driver for the Bosch Sensortec BMP280 pressure sensor.
BOARD Module for Thunderboard Sense
Board hardware control, configuraton and miscellaneous functions.
BOARD Module for Thunderboard Sense 2
Board hardware control, configuraton and miscellaneous functions.
CCS811 - Indoor Air Quality Sensor
Driver for the Cambridge CMOS Sensors CCS811 gas and indoor air quality sensor.
HALL - Hall Effect Sensor
Driver for Hall effect sensor.
ICM20648 - 6-axis Motion Sensor Driver
Driver for the Invensense ICM20648 6-axis motion sensor.
IMU - Inertial Measurement Unit
Inertial Measurement Unit driver.
MIC - Microphone Driver (ADC)
Driver for the Knowles SPV1840LR5H-B MEMS Microphone.
MIC - Microphone Driver (I2S)
Driver for the Invensense ICS-43434 MEMS Microphone.
SI1133 - Ambient Light and UV Index Sensor
Driver for the Silicon Labs Si1133 Ambient Light and UV sensor.
SI7021 - Relative Humidity and Temperature Sensor
Driver for the Silicon Labs Si7021 I2C Humidity and Temperature Sensor.
Utility Functions
Utility functions.

BOARD Error Codes

#define BOARD_OK 0
#define BOARD_ERROR_I2C_TRANSFER_TIMEOUT 0x01
#define BOARD_ERROR_I2C_TRANSFER_NACK 0x02
#define BOARD_ERROR_I2C_TRANSFER_FAILED 0x03
#define BOARD_ERROR_PIC_ID_MISMATCH 0x04
#define BOARD_ERROR_PIC_FW_INVALID 0x05
#define BOARD_ERROR_PIC_FW_UPDATE_FAILED 0x06
#define BOARD_ERROR_NO_POWER_INT_CTRL 0x10
#define BOARD_ERROR_I2C_BUS_SELECT_INVALID 0x11
#define BOARD_ERROR_I2C_BUS_SELECT_FAILED 0x12

Macro Definition Documentation

#define BOARD_ERROR_I2C_BUS_SELECT_FAILED   0x12

I2C bus selection failed

Definition at line 59 of file board.h .

#define BOARD_ERROR_I2C_BUS_SELECT_INVALID   0x11

Invalid I2C bus selection

Definition at line 58 of file board.h .

Referenced by BOARD_i2cBusSelect() .

#define BOARD_ERROR_I2C_TRANSFER_FAILED   0x03

I2C transaction failed

Definition at line 52 of file board.h .

#define BOARD_ERROR_I2C_TRANSFER_NACK   0x02

No acknowledgement received

Definition at line 51 of file board.h .

#define BOARD_ERROR_I2C_TRANSFER_TIMEOUT   0x01

I2C timeout occurred

Definition at line 50 of file board.h .

#define BOARD_ERROR_NO_POWER_INT_CTRL   0x10

Power and Interrupt Controller not found

Definition at line 57 of file board.h .

#define BOARD_ERROR_PIC_FW_INVALID   0x05

Invalid PIC firmware

Definition at line 54 of file board.h .

#define BOARD_ERROR_PIC_FW_UPDATE_FAILED   0x06

PIC firmware update failed

Definition at line 55 of file board.h .

#define BOARD_ERROR_PIC_ID_MISMATCH   0x04

The ID of the PIC is invalid

Definition at line 53 of file board.h .

Referenced by BOARD_init() .