Explore related resources

Find more information about the topics in this Learning Path:

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I know when a Jupyter cell has finished running?
Jupyter shows In[*] while a cell is running. When complete, it changes to In[N], where N is the execution count.
Where do the training samples come from and what files should I expect?
You’ll collect accelerometer data from the STM32 board and save it as CSV files. The notebook discovers these CSV files from the samples_dir location and loads them for training.
What input shape does the neural network expect and how are labels prepared?
The example model uses an input shape of (3, stride), representing three accelerometer axes over a time window. Labels are one-hot encoded using tf.keras.utils.to_categorical with the class count derived from the unique labels.
What features are extracted before retraining the model?
The process computes the mean and standard deviation for each accelerometer axis and saves these as features. You then train a model on these feature vectors instead of the raw time-series samples.
Which options should I use in STM32CubeMX to set up the project and import the model?
Use the Board Selector to choose the B-L475E-IOT01A board, then set the project name and location in Project Manager. Import the trained model using STM32Cube.AI within STM32CubeMX, and continue with Pinout & Configuration.

Share

Tell others about this Learning Path.

Return to Embedded and Microcontrollers