Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

Software

MCU config tool

https://www.st.com/en/development-tools/stm32cubemx.html

...

To get the value from the STM32 simply clock out 8x8 clock pulses. It dose not matter if there is data on the MOSI line.

Example

Front_right = (dataIn[0]<<8) + dataIn[1];
Front_right = (1 / (Front_right * 0.000007629948)) / 2; // 1/(count * sec/count) we have two magnets per wheel so divide everything by 2 and you get Hz

...

Hardware

Guidelines: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj0qp_xh8_1AhVOKBoKHYoyAdoQFnoECBUQAQ&url=https%3A%2F%2Fwww.st.com%2Fresource%2Fen%2Fapplication_note%2Fdm00112257-getting-started-with-stm32l0xx-hardware-development-stmicroelectronics.pdf&usg=AOvVaw37RwynR9X34bcA7xiW6fb1

...