STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 527 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
  • 672 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...

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
  • 291 Views
  • 1 replies
  • 0 kudos

STM32H743 : Reading UART7 while writing on UART4

Hello, I have issues with STM32H743 UART. I use Nucleo 144 and I need to get GPS frames on UART7 (at 9600 baud) and display them on UART4 (at 115200 baud). If nothing is sent on UART4, reception of frames on UART7 is good but I want to display some v...

LDess by Associate
  • 640 Views
  • 3 replies
  • 0 kudos

Truoble with i2c using nucleo-g071rb

Hello, I am new to the whole stm32 environment. I've always used arduino in the past and I wanted to try something new for this project.I am having a really hard time setting up an i2c connection between a nucleo board (MASTER) and an arduino(SLAVE)....

MMocc by Associate
  • 336 Views
  • 0 replies
  • 0 kudos