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

Use MCO for I2S clock(SCK)

Hello​I use STM32L100.I try to use the clock output from the MCO as the I2S clock.​STM32L100 is an I2S slave and outputs an external clock using MCO(24.5MHz).​Can it use without problems?​​Thank you.​

Lixil by Associate
  • 517 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7 single core, which RAM is good for code?

Dear experts,A customer asks me to copy application from flash to RAM and run in RAM.Not sure if this is justified. If I remember correctly it is not so much on 'F4, but maybe on H7 RAM performs much better? Anyway they pay for this so...I've created...

Pavel A. by Super User
  • 1318 Views
  • 4 replies
  • 0 kudos

weird instruction throughput on STM32F756

I try to measure instruction throughput with the following snippet:float bench(int tries, int repeat) { uint32_t t0, t1, d = 0; unsigned A0, A1, A2, A3, A4, A5, A6, A7, B = 1; A0 = A1 = A2 = A3 = A4 = A5 = A6 = A7 = 0;   for (int i = 0; i < t...

lemaitre by Associate II
  • 857 Views
  • 4 replies
  • 0 kudos

Resolved! Issues with ADC Calibration STM32L031F4

I'm working with an STM32L031F4 and I'm trying to calibrate the ADC to no avail. I'm wondering what it is that I'm missing here. With the code snippet below, I never get out of the while loop and the CALFACT stays at 0 (if I understand correctly, C...

RArch by Associate II
  • 1060 Views
  • 4 replies
  • 0 kudos

H7 cant write a FMC 16bit word once

if someone can tell me how to write a byte to a FMC memory ?Reading a 16bit word looks correct and I can read the status correctlybut using A0 as register select, this is writing one 16bit word, it seems to write 4 times, A0 is jumping up and down, I...

No wake up possibility after a discontinuity power supplies

Hi,Someone could help me, please?When I remove battery on my system (NO VDD and NO Vbat on the MCU), and I connect it back, the system do not start!!!!The only way to start the system is a NRST signal.ORSwitch OFF and ON only the VDD power supply (VB...

srain by Associate II
  • 1840 Views
  • 10 replies
  • 0 kudos

I am working on usart and I need to know the configuration for the code. Can someone check this and let me know if this config is correct or not. 9600 baud rate with 1 stop bit and no parity. I am working on usart1 which is connected to pb6 ( TX )

void sendchar(char c) { USART1->TDR = c; while(!(USART1->ISR & USART_ISR_TC)); }int main(void){ HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART1_UART_Init(); while (1) { sendchar('a'); }}// gpio config for pb6 (tx) /*Transmission Pin ...

VSrin by Associate II
  • 430 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F401VCT6 works fine on 42MHz clock, but crashes at 84 MHz

I'm programming a custom board built around the STM32F401 MCU and I'm having a hard time configuring the system clock. I'm using a 8MHz external crystal and I'm trying to set up the PLL to get the maximum frequency given by the datasheet, i.e. 84MHz....

MKola by Associate II
  • 3472 Views
  • 15 replies
  • 0 kudos