Tagged: not_stm32f401

Locked OTP Bytes 6

Library 49- One-Time programmable (OTP) bytes on STM32F4

STm32F4xx devices have OTP (One-Time-Programmable) bytes. They can be used for permanent store of configuration data for your device. Bytes are structured in 16 data blocks where each block has 32 data bytes of available memory. There is also 17th block with 16 bytes of data. His “work” is to store information about states of data block, because you can lock each block forever even if it is totally empty. Important notes: When you write data to specific OTP location...

Library 45- Interface backup SRAM on STM32F4 7

Library 45- Interface backup SRAM on STM32F4

Almost all (except STM32F401/STM32F411) STM32F4xx MCUs have internal backup SRAM, which stores data, if power is at least on Vbat, or main voltage is active. These MCUs have internal 4-kBytes of SRAM. It is on location where if you read “too much” you can make a HardFault error and this is something you don’t want. So be careful when you are doing with this ram. Backup SRAM can be also used as EEPROM, if your Vbat battery is always active, so...