Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers: The STM32 microcontroller’s core (Cortex-M3) contains a hardware debugging module that supports various complex debugging operations. The hardware debugging module allows the core to halt when fetching addresses or accessing data—this is the assurance we have for online simulation during microcontroller development and debugging.When the core is halted, both its internal … Read more

The Evolution of Automotive LIN Bus Technology

The Evolution of Automotive LIN Bus Technology

Yesterday, I shared an article titled “The Evolution of Automotive CAN Bus,” which sparked a lot of interest among friends, prompting them to leave messages asking for related knowledge about the LIN bus used in automobiles. Thus, I am sharing this article titled “The Evolution of Automotive LIN Bus” with everyone. I have modified the … Read more

Lesson 11: Using Serial Port (UART)

Lesson 11: Using Serial Port (UART)

Click on the “Baijun Technology” above, select “Pin to Top” Embedded essentials, delivered with one click The enhanced version of the ARM Bare Metal Phase 1 video course, supporting Wiki Lesson 11: Using Serial Port (UART), consists of 2 sections: Section 001: Auxiliary Line 1: Hardware Knowledge – Introduction to UART Hardware and Section 002: … Read more

Comparing UART and CAN Protocols

Comparing UART and CAN Protocols

Follow+Star Public Account, don’t miss exciting content Author | strongerHuang WeChat Public Account | strongerHuang The CAN bus was initially mainly used in the automotive and industrial control fields. With the continuous maturity of CAN bus technology, it is no longer limited to the automotive industry and is now widely used in aerospace, medical, robotics, … Read more

Detailed Explanation of UART Waveforms

Detailed Explanation of UART Waveforms

UART is an asynchronous full-duplex serial communication protocol consisting of two data lines, Tx and Rx. Since there is no reference clock signal, both parties in communication must agree on serial baud rate, data bit width, parity bit, stop bit, and other configuration parameters to communicate at the same rate. Asynchronous communication transmits one character … Read more

Differences and Connections Between SPI, UART, and I2C Buses

Differences and Connections Between SPI, UART, and I2C Buses

Welcome FPGA engineers to join the official WeChat technical group. Clickthe blue textto follow us at FPGA Home – the best and largest pure FPGA engineer community in China SPI Bus SPI (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous, serial communication bus that uses 3 to 4 lines and operates in a master-slave mode, … Read more

How High Are the Clock Accuracy Requirements for UART Baud Rate?

How High Are the Clock Accuracy Requirements for UART Baud Rate?

UART communication is an asynchronous communication method, where both the sender and receiver must communicate at an agreed baud rate. When there is an error in the baud rate, it can lead to communication errors. So, what factors can lead to errors in the baud rate? 1. Frequency Division Error Firstly, the baud rate is … Read more

Detailed Explanation of SPI, UART, and I2C Buses

Detailed Explanation of SPI, UART, and I2C Buses

Source: Automotive ECU Design When you connect a microcontroller to sensors, displays, or other modules, have you considered how these two devices communicate with each other? What exactly are they saying? In fact, communication between electronic devices is like communication between humans; both parties need to speak the same language. In electronic products, these languages … Read more

Subtle Differences Between UART, RS-232, RS-422, and RS-485

Subtle Differences Between UART, RS-232, RS-422, and RS-485

Serial communication is one of the most basic communication methods faced by electronic engineers. Although it seems simple, many people are not clear about the subtle differences between UART, RS-232, RS-422, and RS-485. Hope this engineering note can help everyone sort out their relationships.  Communication issues, like traffic issues, also have various situations such … Read more