cancel
Showing results for 
Search instead for 
Did you mean: 

receive data uart with DMA

LOnGr.1
Associate III

I am trying to receive data over usart using dma with LL. I'm stuck with this for one week. I need help please.

11 REPLIES 11

My bad, I did not take the screenshot at the right time. Here are the registers, TX is working, RX is empty
_legacyfs_online_stmicro_images_0693W00000bi1v4QAA.png

Okay, so if DMA1_Stream5's NDTR and both address registers (PAR and M0AR) are zero, you obviously don't write into them, do you. So how could it work?

Please try to check the registers yourself and try to figure out what's going on. You can step through the program while observing the registers. Decimal display of registers is rarely useful, too.

JW