Support for the SenseBox MCU with SAMD21 board. More...
Support for the SenseBox MCU with SAMD21 board.
SenseBox is a do-it-yourself kit for stationary and mobile sensor stations.
SenseBox board is based on the Atmel SAMD21G18A microcontroller. See Atmel SAMD21.
BOARD=sensebox_samd21
with the make
command.hello-world
application: To access the STDIO of RIOT, a FTDI to USB converted needs to be plugged to the UART/Serial 1 pins on the board.
I2C port is enabled by default. To disable it use I2C_DISABLE
. To re-enable use I2C_ENABLE
.
XBEE1 and XBEE2 ports are enabled by default. To disable any of them use XBEEn_DISABLE
. To re-enable use XBEEn_ENABLE
.
On the board there is a reset circuit for this ports that delays the reset signal from the enable signal for about 300ms. Because of that a delay has been introduced in the board_init
function, so that any SPI device connected to the ports is reset before use.
The pin configuration for the SX127X radio on the boards/sensebox_samd21/include/board.h** file assumes that it will be connected to the XBEE1 port. If a different configuration is needed please modify this file.
The pin configuration for the mSD-Bee module radio on the boards/sensebox_samd21/include/sdcard_spi_params.h** file assumes that it will be connected to the XBEE2 port. If a different configuration is needed please modify this file.
There is only one interrupt pin on the XBEE headers. This means that interrupt pins DIO0 and DIO1 from the LoRa Bee are multiplexed through an OR gate.
This has the following limitations:
Files | |
file | board.h |
Support for the SenseBox MCU with SAMD21 board. | |
file | gpio_params.h |
Board specific configuration of direct mapped GPIOs. | |
file | periph_conf.h |
Configuration of CPU peripherals for SenseBox MCU with SAMD21. | |
file | sdcard_spi_params.h |
SD card configuration for SenseBox MCU with SAMD21 board. This configuration considers that SD is connected to the XBEE2 port. | |