Nordic Thingy:52
chip:nrf52, chip:nrf52832
The Thingy:52 (PCA20020) is a prototyping platform build around the nRF52832 from Nordic.
Peripheral Support
Peripheral Support NOTES
UART Buttons LEDs NFC IMU (MPU-9250) Low power accelerometer (LIS2DH12) Pressure and temperature (LPS22HB) Humidity and temperature (HTS221) Color sensor (BH1745NUC) Gas sensor (CCS811) Microphone (MP34DB02) Speaker Battery monitoring Yes No No No No No No No No No No No No
Serial Console
At default serial console is available with Segger RTT driver. For access to the RTT console use this commands:
JLinkGDBServer -if SWD -device stm32h743zi -speed 16000
sudo socat -d -d PTY,link=/dev/ttyRTT0,raw,ignoreeof TCP:127.0.0.1:19021,reuseaddr
minicom -D /dev/ttyRTT0
An alternative option is to use the P4 connector and connect an external UART converter:
Pin Signal Notes
P0.02 UART0 TX P4 header P0.03 UART0 RX P4 header
For this you need to select the following options in your configuration:
CONFIG_NRF52_UART0=y
CONFIG_UART0_SERIAL_CONSOLE=y
Configurations
Each configuration is maintained in a sub-directory and can be selected as follow:
tools/configure.sh thingy52:<subdir>
Where <subdir> is one of the following:
nsh
Basic NuttShell configuration (console enabled on Segger RTT channel).
Flash & Debug
Both flashing and debuing is possible only with an external debug probe.