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

Start ADC from timer external input

Hello,I'm working on a nucleo-f401re board, with HAL library.I'm trying sampling a signal and measure its duration, to do it I'm triyng to use the TIM2 of my board to detect rising and falling edges of the start signal, and this works fine.I would al...

CCont.3 by Associate
  • 676 Views
  • 1 replies
  • 0 kudos

Resolved! H743 480Mhz, VCO freq impossible?

Does anyone know how you're supposed to get a clock speed of 480Mhz when the lowest PLLP1 divider is 2, and the max "wide" VCO freq (Input source / DIVM1 * DIVN1) is 836Mhz? Ie This seems to cap the max speed at 418Mhz. Of note, Cube doesn't complain...

DOCon.1 by Senior
  • 1103 Views
  • 7 replies
  • 0 kudos

problem with nrf24l01 and stm32 wrong address value is sent

hi I used the code in this link https://github.com/MYaqoobEmbedded/STM32-Tutorials/tree/master/Tutorial%2024%20-%20NRF24L01%20Radio%20Transceiverfor communicating with nrf24l01 with stm32 and it worked fine but I wanted to rewrite it in register leve...

salar1991 by Associate II
  • 1046 Views
  • 2 replies
  • 0 kudos

UART at slow rates: How stupid just I am

I've just been caught by this very same issue:https://community.st.com/s/question/0D50X00009XkaBXSAZ/rm0090-usart-minimum-attainable-baudrateAt this place I'd like to ask ST to reconsider baudrates generation for both UART and SPI - please connect th...

C++ compiler options.

 Hi.I thought this question is more suited to education.I have been working on a STM32F091 C++ project just to get an idea code size, and I noticed that the size of the binary is huge even when optimisation is set to (-Os). I think its because the co...

CPetr.1 by Associate II
  • 2491 Views
  • 5 replies
  • 0 kudos

SPI 3-wire bidirectional master not sending clocks

I have an issue with SPI in bidirectional mode (MOSI, CLK and CS). I have a device which I need to write to and from. When I have to write to an adress in the slave device, it works perfectly: reg=0x04; CS_DRIVER_LOW c=HAL_SPI_Transmit_DMA(&hspi2,...

MRey.1 by Associate III
  • 1495 Views
  • 7 replies
  • 0 kudos

Interrupts and internalFLASH access results in CPU stallment

We experience a stalled CPU when accessing (writing) the internal FLASH memorySTM32L432KBUFreeRTOStaskENTER_CRITICAL(); __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP | FLASH_FLAG_OPERR | FLASH_FLAG_PROGERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | FLASH_FLA...

MMits.1 by Associate II
  • 2949 Views
  • 10 replies
  • 0 kudos