MINI-M4 for STM32 is a small development board containing an STM32F415RG microcontroller. It has an inbuilt CAN controller making it easier to interface with CAN communication. It collects data from a sensor and transfers it
through the CAN bus. Due to its small form factor while having ample number of analog pins it can be used in a very compact environment.
The board is equipped with a 16 MHz SMD crystal oscillator, and a 32.768 kHz crystal which can be used for the internal RTCC module for timing purposes during the CAN communication. The board comes preprogrammed with a fast USB HID bootloader, so no external programmers are needed for development. It operates on 3.3V power supply. An on-board voltage regulator allows the board to be powered directly from the USB cable.
CAN is internationally recognized protocol developed specifically for cars in order to reduce the complicated wiring into simple 2-wire bus. It is a multi-master, multiple access protocol, with the ability to self-diagnosis to correct the errors in the data. Using the stm32 we can program the priority of each message by adjusting the binary message identifier. It can also form a robust data error checking and fault confinement system. It takes into the account the electronic noises present during the transfer of the data through the cyclic redundancy check (CRC).