stm32f4xx-hal
stm32f4xx-hal copied to clipboard
A Rust embedded-hal HAL for all MCUs in the STM32 F4 family
Right now there aren't really any examples of both DMA and peripherals using this HAL, so I might be doing something wrong. I'm able to both build a DMA `Transfer`...
The code here selects incorrect baud rates: https://github.com/stm32-rs/stm32f4xx-hal/blob/master/src/spi.rs#L600-L610 Datasheet:  Walkthough: * clock.0 / freq.0 = 4 (4.5, rounded down because the result is an integer) * 3..=5 => 0b001...
Hi all, Is there a roadmap of outstanding features or things that are currently being worked on, beyond just issues and PRs? I'm interested in implementing a driver for the...
I haven't checked whether this is really not working, I was just reviewing the code when I discovered this. This is the code for setting the active polarity for capture...
Hi, is it possible, to configure complementary PWM outputs with dead time using stm32f4xx_hal?
https://github.com/stm32-rs/stm32f4xx-hal/blob/578921a1dbfae4231924fc912138c861fca20253/src/adc.rs#L1187 This should be 16. And I find some others are 18, same with Vbat. https://github.com/stm32-rs/stm32f4xx-hal/blob/578921a1dbfae4231924fc912138c861fca20253/src/adc.rs#L1217 https://github.com/stm32-rs/stm32f4xx-hal/blob/578921a1dbfae4231924fc912138c861fca20253/src/adc.rs#L1307
Hello. I tried several ways to use usart with interrupt, but they all failed with the error `external reset detected`. The error didn't appear when interrupt was not used. This...
It would be nice to have example for usart dma. Thanks.
I need to use the first serial port to debug data a USB connection from a PC and the second one to receive data from a GPS sensor. The first...
UART 4, 7, 8 are labeled "USARTx" in the vectors for the 413