2016-11-03 07:40 AM
Hi I had configured a the UART_DMA_ hyperterminal program for the evaluation board newly by cubemx and its working fine by USART_1. But whenI configured it for UART_8 for my mcu its sending the characters but I cant recieve it. Is there any major difference between uart and usart in asynchronous mode. Please help. I am stuck
2016-11-03 08:15 AM
Hello,
Could you precise which device are you using?For more details/clarification about USART/UART mode, you can refer to your product reference manual, in ''Universal synchronous asynchronous receiver transmitter (USART)'' section.
Regards2016-11-03 09:14 AM
It is important to specify the specific part in question, it is hard, and unnecessary to have to wade through older threads to determine context.
On several STM32 parts not all UART support DMA, DMA Channels/Streams are also a limited resource, with limited flexibility. ie easy to get conflicts, and run out of options. Review the Reference Manuals to determine what does what.The UART is a subset of the USART functionality, very few people use the Synchronous mode, and it is far from a optimum implementation. The UART also tend to be on the slower APB bus, but likely not an issue for sub-Mbps implementations.DMA for USART/UART works most effectively for larger buffer TX operations, ideally where you can transmit data in place rather than copying into other buffers.2016-11-04 06:09 AM
2016-11-04 08:43 AM
Not something I can debug/diagnose with the information provided, also not supporting HAL/CubeMX
Suggest you use a Scope or Analyzer, and make some determination about the signals.