Introduction: XMC4000 is Infineon's 32-bit microcontroller based on the ARM Cortex-M4 core. The XMC4000 family combines the industry-standard core with Infineon's rich and powerful peripheral set, and is suitable for a wide range of applications such as motor control, automation, smart home, power conversion, medical equipment, and engineering machinery.
One of the featured peripherals, the USIC (Universal Serial Communication Module) unit, flexibly supports various serial communication modes. All channels can be configured into various communication modes according to specific application requirements (e.g., there are 6 communication channels in total, which can be configured into 6 SPIs or various combinations). Since the USIC structure is very flexible, with 64-bit data bits suitable for various data modes and FIFO, it not only supports standard serial communication, but also applies to other different serial communication modes, such as BISS, etc.
With the innovative USIC unit, XMC4000 successfully supports BISS protocol at the physical layer, while in the past users mostly used FPGA or CPLD to implement BISS communication. The universal serial communication module (USIC) in XMC4000 is the only serial communication interface in the industry that supports BISS protocol, and Infineon can provide free BISS protocol low-level driver.
Basics
Infineon experts recommend exclusively: Introduction to USIC (Universal Serial Communication Module) unit, Introduction to BISS protocol, and the uniqueness of XMC4000 in position signal interface
Getting Started with BISS Protocol
A good article for beginners of BISS protocol
Advantages of USIC
Infineon's USIC unit supports five standard protocols: UART, SPI, LIN, IIC, IIS. At the same time, USIC's 1-63 bit data frame, 64-word FIFO, up to 30MBps, etc. are far superior to other chips with similar interfaces. At the same time, XC4000's USIC successfully supports the BISS protocol at the physical layer, which means that the XC4000 can easily use BISS, a safe and efficient bus.
In application, what kind of convenience can the above advantages bring us?
BISS-C Interface Knowledge Summary
The BiSS-C interface is characterized by bidirectional synchronous communication. Since its protocol is designed as a fully digital connection, the security and reliability of communication transmission are guaranteed. At the same time, it has low hardware requirements and can greatly save installation and maintenance costs.
Application Cases
Detailed description of BISS protocol and its application cases
BiSS communication protocol communication protocol overview, key technical features, implementation methods, comparison with other communication protocols, development status and applications (motor control, gearless rotation, medical electronic endoscope)
Garden management system based on XMC4000, electronic fence design, smart home design
With these, you can design your own home into a large intelligent farm (provided you have a large piece of land).
High-end: Innovative applications of USIC in radar systems, smart homes, and automotive radar collision avoidance systems
Design of smart home monitoring node based on XMC4000
The monitoring nodes in smart homes are responsible for monitoring parameters such as temperature, humidity, smoke, and dust in the environment. The monitoring nodes use a large number of related sensors to obtain relevant parameters and summarize and disseminate them. They drive away various pollutants and give us a clear home.
Galvanometer scanning system
An MCU (dual serial ports) controls the DM442 stepper motor driver to implement the galvanometer scanning system.
Using USIC to implement SMBUS
SMBus is the abbreviation of System Management Bus, which was proposed by Intel in 1995 and is used for low-speed communication in mobile PC and desktop PC systems. Let's see how the author uses USIC to implement the SMBUS bus.
Waveform acquisition, storage and playback system topics
The system can collect two-channel periodic signal waveforms at the same time, and is required to be able to continuously replay the collected signals and display them on the oscilloscope after the system is powered off and restored.
Laser welding control system based on XMC4000
According to the news, American warships are equipped with laser weapons, which are powerful and easy to control. The power storage capacity is the main factor affecting the development of laser weapons. In fact, lasers have been widely used in daily life, such as laser cutting, laser welding, laser marking machines, laser myopia, laser moles (done by conceited people. Haha), and are more widely used in the medical industry.
Use ordinary DC motor to control the valve opening angle
We know that ordinary DC motors rotate when powered on, and it is impossible to control their rotation angle and number of turns. However, we can use Hall sensors to detect the rotation angle of the motor, so that the number of turns and approximate angle can be counted when the motor rotates. This application is used in situations where the precision required is not too high.
Conception of multi-master communication based on USIC-IIC mode
Currently, there is no simple serial communication method that can support multiple masters except CAN.
I have an idea to achieve multi-master communication by adding a mechanism to detect whether the network is busy in the USIC-IIC mode.
LED digital tube display multifunctional measurement and control electric meter based on USIC
This solution requires the use of multiple digital tubes to display the voltage, current, switch input status, relay output status and other measurement and control parameters in a large, clear, bright and eye-catching manner. At the same time, the powerful analog function, fast ADC, powerful analog comparator, and other rich peripheral resources of XMC4000 can minimize the dependence on other peripheral chips, with high integration and flexible design.
McBSP is a multi-channel buffered serial interface design
McBSP, or multi-channel buffered serial interface, can interface with industry standard CODEC, AIC and other serial A/D and D/A devices, supports A-BIS mode, supports SPI interface, and can implement SPI function through configuration.
USIC innovative application: adding automatic flow control function
An automatic flow control function can be added to the original UART structure, which will add two IO ports, one as a clear to send handshake signal CTS, and the other as a request to send handshake signal RTS.
Motor position acquisition
I have worked with some BLDC or PMSM motor drivers before. There are many ways to obtain position. Let's see how to use BISS to obtain the click position.
Adding SERCOS-like protocol stack functionality to USIC
Since Infineon's XMC4000 series focuses on industrial control and is widely used in motor control, I personally believe that SERCOS-like protocols should also be extended to USIC modules.
Position Monitoring in Industrial Automation
I remember the automated assembly line I saw when I interned at a relay company during my undergraduate studies. The relay components were on a conveyor belt pulled by a motor. When they reached a fixed point, a robotic arm would pick up the components and put them in another place. Several components were assembled together in a short time. Of course, the robotic arms were all controlled by servo motors. Let's see how the author perfected the robotic arms.
FAQ & Study Notes
Questions about USIC module and BISS protocol
Questions abound: USIC interface issues, questions between BISS and RS422
Does USIC need to add pull-up resistors according to different configurations?
Feasibility of using XMC4500 as a general-purpose inverter
Can XMC4000 be used as a two-phase stepper motor controller?
UART slave baud rate auto-adaptation
Problems with PPP (Protocol Pre-Processor) in USIC
The convenience of USIC
USIC innovative application, power electronics test bench
My thoughts after learning BISS
USIC Study Notes
Absolute encoder reading
USIC universal serial communication control speed motor problem
USIC's description of serial communication reliability
Will USIC support CAN communication in the future?