Near the row in learning to use ST's Cubemx tool, so take the Atom Electron board to do the software debugging target board to do the test.
From porting the serial port, FreeRTOS waits all very smoothly, but when does the sdio transplant the time discovers a strange phenomenon, each time writes the card, will receive a wrong callback. So in the 21IC of the St Forum published the relevant posts.
Also very grateful to 21IC Netizen huzi2099 help.
Rela
Development environment uses MDK5.16A + CUBEMX to generate codeDevelopment Board Use: NUCLEO-L053R8Core chip: STM32L053R8Today mainly learned the next most basic IO reading and writing, IO using PA5 led output, PC13 key inputUse CUBEMX to generate LED and key settings input and output code (this step omitted), compare the simple stamp point on the linePrecautions:The 1.NUCLEO board does not have external cr
STM32 UART Single-line half-duplex mode (cube version) 1. IntroductionIn some cases, a three-wire serial communication is required (only one of the signal lines), which requires a single-line half-duplex mode for communication. In this case, in the process of data protocol transmission, the signal end needs to switch back and forth in the input and output mode. Alternatively, the transmit and interface of the control port can be short-connected. In this case, STM32 provides the Half-duplex funct
These two days have been debugging Stm32f4 TCP, and want to apply to Freemodbus TCP, so that my device can integrate network control.
Because now most of the use of STM32 should use ST dedicated configuration software STM32 Cubemx to carry out the initial project of the program, there is a benefit, is to speed up the development progress, I am also here in this software development, I just to write down their use of the process,
at the moment, I think the biggest convenience of Stm32cube is that you can use STM32CUBEMX software to graphically configure peripherals. First posted on the official website of the PDF,Getting started with the STM32CUBEF4 firmware package for STM32F4 Series "UM1730 User Manual".From the document of a picture, clear introduction of the cube firmware level, I think for our efficient and rapid development, the temptation is quite big, but the introduction of the official website and online resour
library to generate initialization files and corresponding projects.
In the Cubemx interface, after the selection and configuration of the various peripherals, in Project\project setting\advanced settiing The following graphical interface, you can choose the type of library to use: Hal/ll.
In addition, occasionally people ask and where ll library, in fact, LL library function is in the same directory as the HAL library function. Take STM32F4 as a
1, configuration steps in Cubemx
(1) RCC
Open HSE
Peripheral clock Configuration, HCLK = 72MHZ
(2) USART1
Asynchronous transceiver
Complete the above configuration to generate the code for the Keil project.
2,
Test procedures: In the Serial debugging assistant to send data to the UART1, using the method of interruption, stm32f103 received a string after entering the interrupt service function, and then write the received data like a serial po
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.