STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Nucleo L476RG - Turn on LED

I am using a NUCLEO-L476RG development board, I am learning to write GPIO drivers for STM32 family I am implementing a simple logic in which I need to turn on an LED when a push button is pressed.I have a strange issue: The Bread board LED turns ON w...

0693W00000JNq9WQAT.png
Tbone1 by Associate II
  • 2564 Views
  • 8 replies
  • 0 kudos

How to convert old code to use FPU ?

Hi I am trying to optimise my gait generation code for my robot. I use a lot of float operations . I want to use FPU to accelerate computing. As an experiment I am using the following taskTickType_t start = xTaskGetTickCount(); while( i<100000000) ...

0693W00000JMnPeQAL.png
SSRIN.1 by Associate III
  • 1845 Views
  • 7 replies
  • 0 kudos

Would it be possible to calibrate the M48T12 memory using an STM32?

Hello,The M48T12 memory outputs a test signal at 512Hz, with a deviation of 0.001Hz.I tried to read this deviation using a 24MHz sampling logic analyzer, but there was still a fluctuation in the reading of the thousandths of a Hz.I think maybe a 100M...

by Not applicable
  • 1098 Views
  • 7 replies
  • 0 kudos

NOR flash mass erase hangs STM32H753?

Just got a weird problem with a NOR flash, memory mapped on FMC, address 0x60000000.The model is IS29GL128, 16 MB. Most of the code borrowed from eval. board examples.Basically it works (write, read, erase). But during mass erase the systick interrup...

Pavel A. by Super User
  • 708 Views
  • 2 replies
  • 0 kudos

Resolved! Same codebase across multiple projects

HelloI'm using STM32cubeide with STM32LI have several applications that are based on the same code base.What are the good solution(s) to handle this common code with stm32cubeide?I can consider several solutions, one application = one project or one ...

po221 by Senior
  • 1753 Views
  • 7 replies
  • 0 kudos

STM32F4 FLASH MEMORY CHECKSUM SELF CHECKING

Hi, @Community member​ @TDK​ I am working on the STM32F4 to implement the FLASH MEMORY CHECKSUM SELF CHECKING to determine if data and program in FLASH have been corrupted and if so not to run the user program.Any information regarding implementation...

ZMohd.7 by Associate III
  • 1635 Views
  • 2 replies
  • 0 kudos

Resolved! Generating a delay using "wasted" instructions

Hi All,Using an STM32F429 and reading online documentation I have come frequently to this code used for generating delays in Ms if the SYSCLK is 16Mhzvoid delayMs(uint32_t n) { int i; for (; n > 0; n--) for (i = 0; i < 3195; i++) ; }I...

VVarg.1 by Associate II
  • 5814 Views
  • 14 replies
  • 0 kudos

Resolved! Strange DAC behaviour on STM32H743VIT6 Hi to community! I have a strange problem with DAC. Whatever settings (buffer on/off, dma mode, data format or allignment, speed, etc) i am not getting simple output results that are expected. Thanks in advance!

Code is too simple, else is initiated by CubeMx, using latest CubeIde. Board is DevEBox.#define buf_size 512uint16_t data[buf_size]={};for(uint8_t i=0;i<(buf_size/4);i++)data[i]=4095;HAL_TIM_Base_Start(&htim6);HAL_DAC_Start_DMA(&hdac1, DAC_CHANNEL_1,...

Mixer by Associate II
  • 1936 Views
  • 4 replies
  • 0 kudos