2013-09-03 05:51 AM
hello,
at the moment i'm working on the DMA-USART example from the FW library to fit into my application. the transmitting process(uC=> PC) is working as estimated, but the problem is i have to update the ''DMA_InitStructure.DMA_BufferSize '' (as you can see in line 216 \STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Examples\USART\USART_TwoBoards\USART_DataExchangeDMA) Is it necessary to call everytime(for updating the BUFFERSIZE) to call the whole function in the main routine? Is it normal to change this value ? (as i have seen it in other examples till now, this value is only initialized once) thanks, best regards m2013-09-03 10:02 AM
Not fm user id I presume? Not sure why the forum would let you use the same name, but suggest you change it to avoid confusion.
If you don't use circular mode you need to reprogram the DMA controller for each transfer. I personally haven't dug down to the minimal number of registers required to do so, but would imagine it would only take a handful.2013-09-03 10:54 AM
Not fm user id I presume? Not sure why the forum would let you use the same name ...
No, it's not. But with this crappy forum software, I don't wonder at all. Just today it blew three of my post in a row ...
2013-09-03 10:53 PM
Hello,
no i'm not the same user as ''fm'' (sorry i didn't checked it before), yes it's strange that it's possible to allow the sam UN for different users. thanks for you answer: ''If you don't use circular mode you need to reprogram the DMA controller for each transfer'' ! i suspected something like this. best regards