STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 343 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
  • 740 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
  • 386 Views
  • 0 replies
  • 0 kudos

Is it possible to monitor the file copy status by the program in MSC mode? Like file copy from SD card is in progress, file copy completed etc? If yes, what is the method?

I am using stm32 L4 family microcontroller. I enabled MSC mode to copy files from SD card mounted to device to PC. But I want to know how can I monitor the status from my code running in MCU? My program should check whether file copy in progress, com...

VKuma.13 by Associate
  • 563 Views
  • 2 replies
  • 0 kudos

SPI recieve over DMA works only once in stm32f103 on HAL

Hello. I'm trying to receive data from W25Q128 via SPI. It works good, but too slow, if I don't use DMA. If I'm using DMA, it works faster, but only once, second query doesn't return data.I'm reading flash in main loop once in second this way, when d...

0690X00000AQVGCQA5.jpg 0690X00000AQVOVQA5.jpg 0690X00000AQVWeQAP.jpg
Vthe by Associate II
  • 469 Views
  • 0 replies
  • 0 kudos