Category Archives: Atollic

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 – 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)

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

Atollic debug configuration for quick DOWNLOAD and RUN

– Sometimes we need to download the SW and RUN it to quickly for see the result. This tutorial explain how to do this. After you are sure to have a standard debug that working fine, now you are ready … Continue reading

Posted in Atollic, STM32 | Comments Off on Atollic debug configuration for quick DOWNLOAD and RUN

ATOLLIC new tips and tricks

_ We published a new tips & tricks for ATOLLIC that are: How to create a new project in ATOLLIC – How to share your ATOLLIC project – How to import a .ZIP project in Atollic

Posted in Atollic, STM32 | Comments Off on ATOLLIC new tips and tricks

How to use ADC in Interrupt mode

– In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. There are several … Continue reading

Posted in Atollic, STM32 | Comments Off on How to use ADC in Interrupt mode

TIMER Counter – for example for reading an Input button

– Counting Modes Normally a basic timer counts from zero to a given Period value. General purpose and advanced timers can count in other different ways, as reported in Table below. For reading more, click here.  

Posted in Atollic, STM32, STM32F4 | Comments Off on TIMER Counter – for example for reading an Input button

How to manage two UART (USART2 and USART1) under Interrupt

There are different possibility to use the UART under Interrupt, for instance use PRINTF but this mode use a loot of code or, more efficiency is to use the Call Back. In this example we use the Call Back modality. … Continue reading

Posted in Atollic, STM32 | Comments Off on How to manage two UART (USART2 and USART1) under Interrupt

How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC

This example show the way to implement the printf on STM32 NUCLEO board for send data via USB to the PC. All is done by using the ATOLLIC TrueSTUDIO PRO for STM32 that is free. More ingo are here.

Posted in Atollic, printf, STM32 | Comments Off on How to implement “printf” for send message via USB on STM32 NUCLEO boards using ATOLLIC