Category Archives: STM32

How to use 3 channels of the ADC in DMA mode using CUBE-MX and ATOLLIC

– For develop this project the use the NUCLEO_L031K6 (32 pin Nucleo Board), CUBE-MX and ATOLLIC. We assume that you have familiarity with this tools, in other case see our dedicate tutorials to CUBE-MX and ATOLLIC. For more info see … Continue reading

Posted in STM32 | Comments Off on How to use 3 channels of the ADC in DMA mode using CUBE-MX and ATOLLIC

DC motor with Honeywell Hall sensor (it’s used like an encoder)

– In the image below there is a low cost DC motor (in my case is a 24 Vdc motor). This is a typical DC motor used for automate a gate, shutters, etc. For more info click here.  

Posted in STM32 | Comments Off on DC motor with Honeywell Hall sensor (it’s used like an encoder)

STM32 GPIOs interrupt & Atollic

– The GPIOs has 16 interrupt lines. All pins with same number are connected to line with same number. They are multiplexed to one line. Each line can trigger an interrupt on rising, falling or rising_falling edge on signal. For … Continue reading

Posted in Atollic, STM32 | Comments Off on STM32 GPIOs interrupt & Atollic

STM32 & IO-LINK

The STM HW kit proposed for the IO-Link is: STM32 + L6360 or L6362A For more info click here  

Posted in STM32, Uncategorized | Comments Off on STM32 & IO-LINK

STM32 – RTC calendar and time for Atollic

This tutorial show how to configure the STM32 RTC for reading Date and Time. This example is based on NUCLEO-L476RG and use the ST-LINK Virtual Com to show on the PC the Date and Time. More info are here.

Posted in Atollic, STM32 | Comments Off on STM32 – RTC calendar and time for Atollic

How to interface the rotary encoder to STM32 (CUBE-MX + ATOLLIC)

The Key Rotary Encoder are most used encoder for general purpose MCU applications. The generic schematic of this type of encoder is show below. For more info see here.

Posted in Atollic, STM32 | Comments Off on How to interface the rotary encoder to STM32 (CUBE-MX + ATOLLIC)

KeeLoq application over SPIRIT1 + S2-LP and STM32

– STM has released the examples for interface the KeeLoq to SPIRIT1 & S2-LP & STM32 For more info see here.  

Posted in S2-LP, Spirit1, STM32, Sub1GHz, WireLess & Networking | Comments Off on KeeLoq application over SPIRIT1 + S2-LP and STM32

STM on GITHUB.COM

STM release a lot of example for MEMS, Smartphone application, STM32 also on the GITHUB.COM For more info see here.  

Posted in Algorithms, C - C++, IoT, MEMS, STM32 | Comments Off on STM on GITHUB.COM

ATOLLIC – How to generate .exe – .bin – etc file extension

For more info click here.

Posted in Atollic, STM32 | Comments Off on ATOLLIC – How to generate .exe – .bin – etc file extension

STM32L4 SMPS

– STM32L4 SMPS new packages for a lower power consumption • Provide the possibility to get a lower power consumption while using current STM32L4 • Possibility to supply externally the voltage core (bypass) • Ordering code is ending with –P … Continue reading

Posted in STM32, STM32L4, STM32L4+ | Comments Off on STM32L4 SMPS