2024-05-29 01:57 AM
Hey everyone,
I am working with the ADXL 354 eval board with an STM32H745
data sheet ADXL354 : https://www.analog.com/media/en/technical-documentation/data-sheets/adxl354_adxl355.pdf
data sheet eval boad: https://www.analog.com/media/en/technical-documentation/user-guides/EVAL-ADXL354-355-UG-1030.pdf
I have configured the pin PA0-C for the ADC.
I have connected all the pin as indicate in the datasheet (exept the VDDIO and GND of the RANGE and Mode because if i do so, the thing is not working at all) but the output is always the maximum (if my ADC is configured as 8 bit, the accelerometer returns 255)
If I move nothing change. So I connected the GND of MODE and RANGE and I have value (again if I connect the VDDIO of RANGE and MODE, it is not working at all) but my acceleremeter become really really hot (not brun but...)
Can you help me with that ?
Thanks ;)
2024-05-29 02:22 AM
Please post a schematic (aka "circuit diagram") - it's a far more effective way to show connections than trying to use text!
Some good, clear photos may also help.
@fru999 wrote:I have configured the pin PA0-C for the ADC.
How have you configured them? Please give full details.
@fru999 wrote:I have connected all the pin as indicate in the datasheet (exept the VDDIO ;)
Are you sure that's valid?
VDDIO is the supply for the digital interface - so it won't be able to communicate without it.
You should confirm this with Analog Devices - support links on their Product Page:
https://www.analog.com/en/products/adxl354.html
@fru999 wrote:but the output is always the maximum (if my ADC is configured as 8 bit, the accelerometer returns 255);)
Is that because the ADXL354 is actually outputting "maximum", or is it because your STM32 is not correctly reading the value?