boards/u-blox/ubx_evkannab1/doc/index.rst
.. zephyr:board:: ubx_evkannab1
u-blox EVK-ANNA-B11x ####################
Overview
The u-blox ANNA-B1 Evaluation Kit hardware is a Bluetooth low energy module based on the Nordic Semiconductor nRF52832 ARM Cortex-M4F CPU and has support for the following features:
ADC (Analog to Digital Converter)GPIO (General Purpose Input Output)I2C (Inter-Integrated Circuit)MPU (Memory Protection Unit)NVIC (Nested Vectored Interrupt Controller)PWM (Pulse Width Modulation)RTC (nRF RTC System Clock)SPI (Serial Peripheral Interface)UART (Universal asynchronous receiver-transmitter)WDT (Watchdog Timer).. figure:: img/EVK-ANNA-B112.jpg
EVK ANNA-B1
More information about the ANNA-B1 module and the EVK-ANNA-B1
can be found at ANNA-B1 product page_ and
EVK-ANNA-B1 product page_.
.. zephyr:board-supported-hw::
The numbering of the pins on the module and EVK do not follow the GPIO
numbering on the nRF52832 SoC. Please see the ANNA-B1 Data Sheet_ for
information on how to map ANNA-B1 pins to the pin numbering on the
nRF52832 SoC.
The reason for this is the u-blox module family concept where different modules share the same pinout and can be interchanged.
Programming and Debugging
Applications for the ubx_evkannab1/nrf52832 board configuration can be
built and flashed in the usual way (see :ref:build_an_application
and :ref:application_run for more details); however, the standard
debugging targets are not currently available.
Build and flash applications as usual (see
:ref:build_an_application and :ref:application_run for more details).
Here is an example for the :zephyr:code-sample:hello_world application.
Open a terminal program to the USB Serial Port installed when connecting the board and listen for output.
Settings: 115200, 8N1, no flow control.
Then build and flash the application in the usual way.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: ubx_evkannab1/nrf52832 :goals: build flash
Refer to the :ref:nordic_segger page to learn about debugging boards
containing a Nordic Semiconductor chip with a Segger IC.
Testing the LEDs and buttons in the EVK NINA-B11x
There are 2 samples that allow you to test that the buttons (switches) and LEDs on the board are working properly with Zephyr:
.. code-block:: console
samples/basic/blinky samples/basic/button
You can build and flash the examples to make sure Zephyr is running
correctly on your board. The button and LED definitions can be found in
:zephyr_file:boards/u-blox/ubx_evkannab1/ubx_evkannab1_nrf52832.dts.
Note that the buttons on the EVK-ANNA-B1 are marked SW1 and SW2, which are named sw0 and sw1 in the dts file. Also note that the SW1 button and the green LED are connected on HW level.
References
.. target-notes::
.. _ANNA-B1 product page: https://www.u-blox.com/en/product/anna-b112-open-cpu .. _EVK-ANNA-B1 product page: https://www.u-blox.com/en/product/evk-anna-b112 .. _Nordic Semiconductor Infocenter: https://infocenter.nordicsemi.com .. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html .. _ANNA-B1 Data Sheet: https://www.u-blox.com/en/docs/UBX-18011707