Tagged: stm32f401

Library 58- Dynamic strings on STM32F4xx 0

Library 58- Dynamic strings on STM32F4xx

Have you ever been in position where you need to store some string informations just for a small amount of time? Did you reserve ram memory before you worked with strings? If you did it like that, than this library might be a solution for you. This library was designed directly for a purpose where you need to store your information for a few time. For example, getting some string informations from your sensor, USART, etc. It uses malloc and...

How to properly set clock speed for STM32F4xx devices 71

How to properly set clock speed for STM32F4xx devices

I see that you have problems with your devices when you don’t know even (and you don’t even ask) on which speed your device is actually running. Speed of your device depends on PLL settings or clock source you have selected for system core clock. In most cases system core clock’s source isĀ PLL output. To get proper value, you check ALWAYS first these settings when something is not working. Because I’m tired of questions that something is not working but...

STM32F4 identification example result 5

Library 44- STM32F4 unique ID and flash size

STM32F4xx devices have some parts in memory, which are read only and store some information about device. You can use them to protect your program if it is stolen from memory, or to tell programmer/debugger which device is connected with and detect flash size. This library covers 4 things you can read from device: Device signature Device signature is something that you probably want to know when you are working with some device. This feature returns you 16-bit length device...

Overclock STM32F4 device up to 250MHz 21

Overclock STM32F4 device up to 250MHz

Let’s test what STM32F4xx devices can do. I have all “4 speedĀ families” at home so why not to try it how fast we can go. By default, for those who don’t know max frequencies for STM32F4xx devices, they are in list below: 84MHz: STM32F401 MCUs, including Nucleo-F401 board 100MHz: STM32F411 MCUs, including Nucleo F411 board 168MHz: STM32F405/7 and STM32F415/17 MCUs, including STM32F4-Discovery board 180MHz: STM32F427/29 and STM32F437/39 MCUs, including STM32F429-Discovery board Ok, we have everything provided, let’s test how far...