cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to configure DMA1/2 with the USART2 in CM4 mode

darla14
Senior

Hello,

I am trying to associate the DMA1 in M4 context with USART2 but whenever I click "add" on the right pane, I see no USART2 on that, on the contrary, I see UART4 it on DMA2 as shown below. If I try to put DMA2 in M4 context, UART4 now appears in DMA1 and I cannot Assign both of them to M4

 

0693W00000NqqWAQAZ.png 

 

No uart/usart when i click add , please see below image :

0693W00000NqqXDQAZ.png 

 

0693W00000NqqXNQAZ.png 

My aim is to associate the USART2 with the DMA1 if it is possible. Please guide.

Regards,

D

 

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @darla14​ ,

first, I encourage you to stick with our default usage of DMA1 to A7NS and DMA2 to M4

Did you assign the USART2 to M4 runtime context ?

0693W00000NqrpNQAR.pngOn my side, seems to work as expected.

0693W00000NqrpIQAR.pngRegards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hi @darla14​ ,

first, I encourage you to stick with our default usage of DMA1 to A7NS and DMA2 to M4

Did you assign the USART2 to M4 runtime context ?

0693W00000NqrpNQAR.pngOn my side, seems to work as expected.

0693W00000NqrpIQAR.pngRegards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

@PatrickF​  Thanks , assigning USART2 to M4 and then assigning DMA2 can see USART2 in that.

Thanks a lot !

br,

D