Thoughts on Serial Communication Design with 51 Microcontroller

Thoughts on Serial Communication Design with 51 Microcontroller

Recently, I needed to use the 51 microcontroller for some control tasks in a project. The main function is to receive commands from the host computer through the serial port, analyze and decode them, and wait for an external trigger signal to execute the previously received command actions. Fortunately, I had an STC89C52 on hand, … Read more

Summary of Using SPI with TMS320F2812

1. The SPI rate must not exceed 15M; exceeding this will result in serious bit errors. 2. If the reception method is interrupt-based, the SpicCR character length control bit determines the length of the interrupt. For a length of 8, with interrupt priority 1, an interrupt is generated for each byte received. For a length … Read more

Common Methods for Receiving and Parsing UART Data

Common Methods for Receiving and Parsing UART Data

Follow+Star PublicAccount, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang The UART serial port is a common communication method in embedded development, but many people still do not know how to use the serial port. Today, I will share a few points about serial ports: Serial Port Receiving Methods … Read more