A121 Integration using STM32CubeIDE 1 Introduction In this document there will be a short guide with example on how to generate a project and setup the Acconeer software in STM32CubeIDE. The MCU board used as an example in this guide is a Nucleo-L476RG. We will show how to connect an XE121, including the A121 radar sensor.
A121 Integration using STM32CubeIDE 2 Getting Started with STM32CubeIDE This section will cover how to setup a project in STM32CubeIDE, and make sure that the code works with the Acconeer software. Start STM32CubeIDE and click “Start new STM32 project”. The option is also available under “File STM32Project”.
Figure 10: GPIO Configuration 2.6 XE121 Sensor Selection The XE121 board has support for adding up to 4 extra A121 sensors by using FFC cables and XS121 boards. The selection of which sensor to communicate with is done in the acc_hal_integration_xe121_multi_sensor.c file.
A121 Integration using STM32CubeIDE 2.8 SPI Configuration To make the SPI interface work properly with the Acconeer software you might need to set the Prescaler (for Baud Rate) and Data Size. Press the SPI you are using and under the Configuration menu you can change parameters. Under “Basic Parameters” you can find that “Data Size”...
• integration • rss In the “doc”-folder you can find reference documentation of the Acconeer software. The “examples”-folder contains example programs and their header-files. The “rss”-folder contains two subfolders called “include” and “lib”. The “lib”- folder contains the Radar System Software (RSS) and the “include”-folder contains the header-files needed to use RSS.
Or there is simply not enough memory. Are you using FREERTOS? Make sure that the thread that is handling the Acconeer software has enough stack size to be able to run the software.
A121 Integration using STM32CubeIDE Figure 16: SPI transfer example Note that the A121 enable signal must be set high at least 2 ms before the SPI transfer. Figure 17: A121 Enable Signal 6.4 UART Problems In order to verify the prints over UART we use picocom in Ubuntu: $ picocom -- imap lfcrlf -- baud 115200 / dev / ttyACM0 We also had to make sure, in main.c, that the baudrate and word length is correct:...
7 Disclaimer The information herein is believed to be correct as of the date issued. Acconeer AB (“Acconeer”) will not be responsible for damages of any nature resulting from the use or reliance upon the information contained herein. Acconeer makes no warranties, expressed or implied, of merchantability or fitness for a particular purpose or course of performance or usage...