Stm32cube UART_DMA Test Project

Source: Internet
Author: User

1, open the software, new project, select Chip Signal, here Select
2, USART1 enable to select the "asynchronous" mode:3. Configure "RCC", High speed Clock (HSE) Select external Crystal oscillator
4, configure "SYS",
5, "Clock Configuration" option, Crystal Fill 8M, select "HSE", Hclk fill in 180MHz, as shown
6, "Configuration", click "", configure the Usart1


interrupts must be selected, otherwise, the program runs, can only run once. 7, the Option "Project", select "Project Setting", select the custom use of the compiled software;8. Option "Project", select "Generate Code", generate project, open with MDK;9. Use the statement on the main function: Hal_uart_transmit_dma (&huart1,sendbuf,sizeof (SENDBUF)), you can send serial data via DMA.

From for notes (Wiz)

Stm32cube UART_DMA Test Project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.