Ask questions, find answers, and share insights on STM32 products and their technical features.
we are using STM32L496ZG NUCLEO Board for development .Timer2 channel 3 (PA2) is Configure for counting.
Hello everyone, I use STM32F103C8 and try to receive data via USART1 using DMA and IDLE. When I receive 1 character and IDLE occur then USART1 interrupt was generated and call "USART1_IRQHandler" function like this.void USART1_IRQHandler(void) { cou...
After detecting a rise edge in interrupt line, I would like to keep a LED on until it detects a falling edge. Do anyone have idea of how to do it?
Hi:STM32F103VBTx STM32CubeMX_v5-3-0The basic code is generated by cube.There are the following changes:static int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len){ /* USER CODE BEGIN 6 */ CDC_rx_len += *Len;//pinjie USBD_CDC_SetRxBuffer(&hUsb...
The application note AN2834 states that this parameter should be listed in the device datasheet. This is true for MCU families like F4, but not for G4. I know that there is a difference between slow and fast channels, but where could I find precise v...
I' using USART1 to send and receive DMA with a module. When I configure DMA for one of TX or RX, it works fine. but when I configure it for both TX and RX, in RX-Buffer I have '\0' character in second position. for example the receive buffer is so:"...
I want to generate sine wave using DAC, TIMER, DMA.When TIMER do update event, Board makes DAC output.Please Help me.
To overcome this problem I modified the start up assembly file by enabling the clock (AHB1ENR bit 20) at the very beginning. The program which was freezing before enabling the clock started working but stops/freezes after executing a few C statements...