STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Is anyone using Rust here , any toughts?

 Does it deliver what it promises? (you could helloworld a web page and a microcontroller with no big code difference)Is it worth the hussle of learning it?Is there any real example of a situation where Rust saved the day?

0693W00000aH95cQAC.png
Javier1 by Principal
  • 5795 Views
  • 6 replies
  • 4 kudos

I have UART1 and UART2 configured. I am looking to bridge the two together. UART2 (115200) & UART1 (9600). UART2 (PC VIA USB) and UART1 [DMA, Circular (word)] (Connected to external device UART interface).

Code snippet```while (1) {         HAL_UART_Receive_DMA (&huart1, UART1_rxBuffer, 100);         HAL_UART_Transmit (&huart2,UART1_rxBuffer,sizeof(UART1_rxBuffer),100)}void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){ uint8_t UART1_rxBuffer[100]...

Ghomi.1 by Associate
  • 1814 Views
  • 3 replies
  • 1 kudos

How to write doublewords to flash on an STM32F411RE

I could get HAL_FLASH_Program to write WORDS, as soon as I moved to FLASH_TYPEPROGRAM_DOUBLEWORD the last error returned is alwasy PGA | PGS flags in the SR. PGA = alignment, PGS = sequence. I referred to every internet article I could to figure out ...

ELeyl.1 by Associate II
  • 893 Views
  • 1 replies
  • 0 kudos

Resolved! UART DMA Transmitter and receiver issue

i'm using STM32F730 as uart receiver and STM32f0 as uart transmitter baud rate 9600, 8 bit data representation. i'm using DMA with interrupt for the communication. i'm using HAL for programming on IAR workbench. The transmitter is continuously transm...

NSing.5 by Senior
  • 674 Views
  • 2 replies
  • 1 kudos

Hard fault invalid state

I'm trying to inject a simple wrapper around my timer interrput handler written in C - primarily for debug purposes to simplify debugging the state of registers and stack before the C code gets in and messes up the stack and state pushing all the jun...

ShawnP by Associate III
  • 1701 Views
  • 8 replies
  • 0 kudos