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

Nano second Precision using a hardware timer on STM32L4S5ZI

Hi,I am working with STM32L4S5ZI MCU and I have a custom board with the same.I am evaluating the hardware timer and as part of my project I need time in nano seconds for some time constrained work. Right now I am using Timer3 and below is my sample c...

SJant.1 by Associate III
  • 4017 Views
  • 17 replies
  • 0 kudos

Resolved! how to jump out of while()?

hey thereI have the code belowuint32_t startTime = HAL_GetTick(); while (HAL_GetTick() - startTime < 5000) { for (int i = 0; i < 3; i++) { if (strstr(InputMSG, answerSearch[i])) { resault = 1; break; } } }wh...

Ala by Senior
  • 818 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G0B1 release date and compatibility

HiCurrently we are using the STM32G071 MCU, but we will running out of flash memory soon, so we looking for an alternative. I've seen that a bigger G0x1 (STM32G0B1) will be available in the second half of this year. Are there more details available f...

Marco.R by Senior
  • 2217 Views
  • 5 replies
  • 0 kudos

Interface CAN with STM32f4 and STM32f091

HII am trying to interface Stm32f407board with cjmcu2551 transceiver with tcan1051V module and stm32f091cct6.the clock rate for both controllers(APB1 for CAN=25Mhz) with prescalar=5, time segment1=8 and time segment 2=1 with baud rate 500kbps. i am n...

PJose.1 by Associate II
  • 999 Views
  • 3 replies
  • 0 kudos

Does ADC regular conversion in DMA mode and ADC injected conversion in interrupt mode work together using HAL driver? STM32F303

Hello,I have 6 ADC channels that shall be launched by software in regular conversion mode. I set the ADC to "End of sequence" and enabled DMA to jump into the callback function when all channels are converted. This is working fine so far.I have anoth...

Markus11 by Associate
  • 606 Views
  • 0 replies
  • 0 kudos

OSPI Flashing in IAR EWARM

Hello,I am working on a project that wants to store pre-built binary files in the OSPI on the STM32L562E-DK. I am using all of the default jumper settings for the board. When I build my project in IAR EWARM 8.50.9 and then try to program the device v...

IFyal.1 by Associate
  • 739 Views
  • 1 replies
  • 0 kudos

How to redirect std::cout to ITM port 0

Hi everyone, I have successfully used the following code to redirect the printf output to SWD, ITM View/* USER CODE BEGIN 4 */ int __io_putchar(int ch) { ITM_SendChar(ch); return ch; } /* USER CODE END 4 */Now I am working with C++ and would...

Xxoyo.1 by Associate III
  • 763 Views
  • 0 replies
  • 0 kudos