cancel
Showing results for 
Search instead for 
Did you mean: 

I use mcu (stm32l452rct6) + sensor("ADI" ADXL355). the interface is SPI. How to read sensor data???

RLiu.11
Associate II
 
4 REPLIES 4

That will be described in the sensor documentation:

https://www.analog.com/en/products/adxl355.html

The sensor neither knows nor cares what microcontroller you use - so the reading process won't be specific to STM32.

Or are you asking how to use the SPI controller on the STM32?

Or both?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

how to use the SPI controller on the STM32L452

This is an emergency project.

i know i should use cubemx to config spi interface.

but how to do ?? ( use cubemx)

So that'll be in the standard ST documentation ...

0693W00000NsHTFQA3.png

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.