2015-05-14 06:51 AM
Hello,
I am migrating code from F103RBT6 to F415RGT6.The problem is only in DMA part that it seems as a dead code so obviously something is bad there.Here you can see source code for both F1 and F4:http://pastebin.com/QcJBc9NXBasically USART is working, but just DMA for sending the data does not work.So the problem is most probably in dma_send() function.There are different versions of STD Libraries for both F1 and F4 so here is the biggest problem. For F1 DMA works very well.Can somebody tell me what I am missing there? Thank you!2015-05-14 07:43 AM
USART2 TX is DMA1 Stream6 Channel4, other random selections won't work. See RM0090 ''DMA1 request mappings''
2015-05-14 09:18 AM
Thank you very much!
It works very well now.