User Activity

Using STM32CubeMX (v6.12.1) with USB_OTG_HS enabled (as host) on an STM32F4.On our device, we have the only OTG_HS_VBUS pin connected to the USB VBUS, and it is working correctly as a USB host. I was investigating if I can repurpose this pin (I guess...
HAL_SPI_Receive_DMA() is non-blocking; it just sets up and starts a transfer. Is it safe to call it from an interrupt context?If it is (at least possibly or sometimes) safe, does it make a difference whether the SPI port is configured as SPI_MODE_MAS...
I'm trying to do a periodic ADC capture on 2 channels, triggered by TIM5. ADC should output to memory via DMA, with a DMA interrupt upon each completion to read the data from each scan.So far, the DMA interrupts aren't hitting, and the ADC doesn't ev...
In STM32CubeMX, version 6.3.0, using STM32CubeF4 v1.25.2, when a SPI port is set to mode "Receive Only Master", it sets `hspi#.Init.Direction = SPI_DIRECTION_2LINES_RXONLY;` in generated code, as (I think) it should. However, the generated code doesn...
Is there any guidance or examples to follow for implementing the Cortex Debug+ETM Connector (20-pins, 0.05") on an STM32F4 board, with the connector as specified here, such that ETM trace is usable?J-Link/J-Trace User's Guide: Connectors (keil.com)e....
Kudos from
Kudos given to