Low-Level Software; Figure 23. Aekd-Aicar1 Software Architecture - ST AEKD-AICAR1 User Manual

Evaluation kit for car state classification
Table of Contents

Advertisement

4.3.1

Low-level software

This is the lower layer of the software architecture. It is responsible for interfacing the MCU with the other boards.
This layer includes:
AEK-CON-SENSOR1 AutoDevKit component APIs
AI sensing node neural network API
AEK-LCD-DT028V1 AutoDevKit component API
4.3.1.1
AEK-CON-SENSOR1 AutoDevKit component APIs
The
AEK-CON-SENSOR1
software (STSW-AUTODEVKIT). The library is written in MISRA C. The target software is generated automatically
according to the code generation and pin allocation paradigm included in the
can be easily adapted to any ST MEMS sensor, even if not directly supported by the software library.
To configure the
procedure below.
Step 1.
Go on [SPC58ECxx Platform Component RLA] in the project explorer and add a new [AEK-CON-
SENSOR1 Component RLA] from the list.
Step 2.
Press on the allocation button to make the
Step 3.
Use the PinMap editor to verify that all the relevant pins have been allocated (four for the SPI and two
for the interrupts).
Step 4.
Use the [Board Viewer] for information on how to connect the MCU board to the sensor board.
Then, the application uses the following available
Refer to the
4.3.1.2
AI sensing node neural network API
For detailed information on this API, see
UM3053 - Rev 1
Figure 23.
AEKD-AICAR1 software architecture
MEMS sensor drivers are included in a component that belongs to the
AEK-CON-SENSOR1 AutoDevKit
To initialize the MEMS sensor board: void init_mems()
To configure the
AIS2DW12
>configure_sensor(&ais2dw12_0, power_mode_12bit, continuous, _25Hz, _2g,
low_pass_1_and_2_odr_div_20);
To get acceleration values: ais2dw12_0.methods->get_accelerations(&ais2dw12_0,
&accelerations);
AEK-CON-SENSOR1 user manual
Section 3.2
component for the
AEKD-AICAR1
AutoDevKit
automatically allocate all the required MCU pins.
AEK-CON-SENSOR1
accelerometer: ais2dw12_0.methods-
for further details.
.
UM3053
Software architecture overview
AutoDevKit
AutoDevKit
design flow. The drivers
application, follow the
APIs:
page 24/39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AEKD-AICAR1 and is the answer not in the manual?

Questions and answers

Table of Contents