Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
2 answers
17k views

STM32 USART with DMA -- which interrupts to use?

I'm working on firmware for an STM32F103 which is communicating over RS232 at 115200 baud with a motor controller. The motor controller (a Copley Xenus XTL) operates on a "speak when spoken to" ...
Joe Baker's user avatar
  • 1,733
4 votes
1 answer
1k views

SPI loopback with DMA

I am using STM32F4 discovery board and I am attempting to get SPI loopback with DMA. I have successfully got an "SPI-only" loopback running, but now I want use DMA in addition with the SPI, here are ...
fedi 's user avatar
  • 183
1 vote
1 answer
2k views

STM32 UART with DMA

I'm working on firmware for an STM32F103 which is communicating over RS232 at 9600 baud. I need to transmit and receive the data by using UART_DMA method. For transmitting the data, the DMA register ...
Surendran 's user avatar
1 vote
1 answer
2k views

HAL UART DMA NDTR Register

I am working with the stm32f4xx for the using UART DMA Tx-Rx operations. I have this line firstly: ...
gogogo's user avatar
  • 289
1 vote
1 answer
211 views

STM32 USART RX with DMA

I'm trying to set up UART communication with DMA using the STM32F103C8 controller. I'm trying to receive data with DMA, but I can't receive data continuously. Can anyone correct me if I made a mistake?...
Surendran 's user avatar
0 votes
1 answer
3k views

STM32 Spi receive problem

I'm trying to do simple SPI communication on STM32 Discovery, HAL lib is used. I'm trying to send some data via SPI1 and to receive same data on SPI3 (SPI1 = Full Duplex Master, SPI3 = Full Duplex ...
macola995's user avatar
  • 109
0 votes
1 answer
286 views

How to access the other half of the DMA?

I am just trying to access the second half of the DMA. I have the half complete flag enable and working, however I am not entirely sure how to access the second half of the buffer. What I thought ...
Leoc's user avatar
  • 1,421