Skip to content

STM32F3x DMA configuration for UART #67303

Answered by FRASTM
sbendt asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

When using the usart3 with DMA
the dts should look like :

 &usart3 {
	...
	dmas = <&dma1 2 STM32_DMA_PERIPH_TX>,
		<&dma1 3 STM32_DMA_PERIPH_RX>;
	dma-names = "tx", "rx";
};

This is given by the table of the Ref Man for DMA1 request for each channel.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@FRASTM
Comment options

FRASTM Jan 8, 2024
Collaborator

Answer selected by sbendt
Comment options

You must be logged in to vote
2 replies
@FRASTM
Comment options

FRASTM Jan 9, 2024
Collaborator

@sbendt
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants