Category: STM32F429 Discovery

AT commands parser for ESP8266 32

AT commands parser for ESP8266

Hello everyone, ESP8266 with AT commands software from Espressif is now more stable than every, so I’m thinking to make a “strong” AT commands parser library for STM32 series of microcontrollers. If there well be an interest, I can do a generic library (like FATFS) to make usable on others microcontrollers too. So I’m thinking about these commands: Basic commands for settings up ESP module, including UART settings, Wifi name and more Basic AT commands for setting up ESP mode...

MPU-6050 6-axes gyroscope and accelerometer 1

HAL Library 30- MPU6050 for STM32Fxxx

After MPU6050 library for STM32F4xx series only based on STM32F4xx Standard peripheral drivers, I’ve redesign this library for HAL support over all STM32 series. It has some more features then my first library. It can now read data from MPU6050 (obvious), set interrupts for data ready and motion detection, read interrupts status, set custom data rate for data ready interrupt and set new gyro and accelerometer sensitivities on the fly. More about lib is describe below and on HAL API site. Library...

HAL Library 29- Analog to Digital converter for STM32Fxxx 1

HAL Library 29- Analog to Digital converter for STM32Fxxx

Analog to digital converter library is out. It was a lot of time before I thought why I don’t have this basic library where anyone would use it. Now i exists. This library works on STM32F0xx, STM32F4xx and STM32F7xx based devices. Library Read more about new HAL libraries Features It uses basic polling for ADC complete Supports VBAT reading Does not get high sampling rates Meant for basic use

HAL Library 28- Digital to Analog converter for STM32Fxxx 1

HAL Library 28- Digital to Analog converter for STM32Fxxx

Here it is. After many email about this library, I’ve finally made it. This library works on STM32F0xx, STM32F4xx and STM32F7xx based devices, where DAC is supported. For example, STM32F401 and STM32F411 does not support DAC. Library Read more about new HAL libraries Features It does not use built-in HAL support for generating signals Output is based on user value Independent 2 DAC channel outputs with 12-bit resolution

How to use scanf with USART 3

How to use scanf with USART

I’ve already posted how to use printf (send data to stream) on STM32Fxxx devices. Recently, I received a comment, how to use scanf function to read strings and convert them from USART. Here is a little bit more to do before it will work correct. When you call scanf function, it calls subfunction fgetc, where you return a character. This function is called until it does not return EOF (-1). And it is called very fast. If you check in this function, if...

HAL Library 27- Identification for STM32Fxxx 1

HAL Library 27- Identification for STM32Fxxx

If you wanna take a control on your software (secure your software by selecting package you want, device you want and others) you can identify STM32Fxxx device. This library allows you to read several things from device, like unique ID, flash size, package type, device type and maybe more. I’ve ported my old library to HAL based drivers, which now supports STM32F0xx, STM32F4xx and STM32F7xx series. Library Read more about new HAL libraries Features Read device type with software, Read...