I use LIS2DS12 This is my init function void LIS2DS12_Init(void)
{
uint8_t ctrl_1 = 0x72; //0111 for 6.4kHz ODR [7:4], 00 for 2g [3:2], 1 for high frequency available[1], 0 for BDU not activated [0]
uint8_t ctrl_2; // [6] for soft_reset, [1] for ...
Hey everyone, I am working with the ADXL 354 eval board with an STM32H745data sheet ADXL354 : https://www.analog.com/media/en/technical-documentation/data-sheets/adxl354_adxl355.pdfdata sheet eval boad: https://www.analog.com/media/en/technical-docum...
Hi everyonethis is my code for reading X axis ADXL355 accelerometer thanks to STM32h745.But when I run it, i keep being stuck if the HAL-SPIèTransmitReceive Can you help me ?
Hi everyone, I am trying to use an accelerometer with my STM32h745 board thought SPI.DO you have any idea where I can find library for thus accelerometers ?And how to use the SPI protocole with STM32H745 :)
Is this function I don't understand what should be *ctxint32_t __weak lis2ds12_read_reg(const stmdev_ctx_t *ctx, uint8_t reg,
uint8_t *data,
uint16_t len)
{
int32_t ret;
if (ctx =...
this what i get when i analyse my signals :when the thing I am supposed to send is {10001111, 0} not So the first clock tick is not supposed to be here because the count of clock rise is 17 when it supposed to be 16