Detailed CW32 Learning Notes [Domestic MCU Column Issue 120]

Chip Source CW32 MCU Forum

https://bbs.21ic.com/iclist-1116-1.html

Detailed CW32 Learning Notes [Domestic MCU Column Issue 120]

*Reading Instructions: The following is a brief summary; for detailed notes, source code attachments, and materials, please click the original link to view.

Detailed CW32 Learning Notes [Domestic MCU Column Issue 120]

Microcontroller Startup & Library Function Composition

https://bbs.21ic.com/icview-3320096-1-1.html

This chapter provides reference materials for the CW32F030C8T6 clock, aimed at beginners.

The microcontroller does not start executing from the main function, but from the function specified in the startup file.

Most microcontrollers automatically configure the clock upon power-up to ensure normal operation.

Registers and library functions are linked through addresses; library functions essentially operate on registers.

Configuring the Clock Tree from the Manual

https://bbs.21ic.com/icview-3374620-1-1.html

This chapter provides a detailed analysis of the clock tree for the CW32F030C8T6, continuing from the previous chapter on the startup file.

Core Peripheral – System Tick Timer

https://bbs.21ic.com/icview-3374626-1-1.html

The previous sections discussed the microcontroller startup to clock tree configuration; at this point, the microcontroller can develop other functions. However, I would like to insert a chapter that I personally find very important to introduce a core peripheral – the System Tick Timer.

Universal Asynchronous Transmitter/Receiver – Sending Section

https://bbs.21ic.com/icview-3374640-1-1.html

This chapter introduces the use of the CW32 Universal Asynchronous Transmitter/Receiver.

Universal Asynchronous Transmitter/Receiver – Interrupt Receiving Section

https://bbs.21ic.com/icview-3374660-1-1.html

Last time we discussed the UART sending function, where we wrote a function to continuously send a fixed string. This time we will discuss the UART interrupt receiving function.

Universal Timer – Output Compare

https://bbs.21ic.com/icview-3374780-1-1.html

This chapter uses the CW32 universal timer to introduce the usage of microcontroller timers.

IIC Interface – Master Sending

https://bbs.21ic.com/icview-3383132-1-1.html

This chapter will introduce the IIC interface of the CW32 and ultimately light up an OLED screen. If you are at a loss on how to write driver code for various modules, this IIC chapter in the series may benefit you greatly.

IIC Interface – OLED Driver

https://bbs.21ic.com/icview-3383134-1-1.html

This chapter will teach how to write the driver for the IIC interface using a commonly available IIC interface module – the OLED screen.

Analog to Digital Converter

https://bbs.21ic.com/icview-3383136-1-1.html

This chapter brings you a tutorial on using the Analog to Digital Converter (ADC). As usual, we will first discuss the ADC itself.

Visit Chip Source CW32 MCU Forum

https://bbs.21ic.com/iclist-1116-1.html

Detailed CW32 Learning Notes [Domestic MCU Column Issue 120]

See more open-source projects

Detailed CW32 Learning Notes [Domestic MCU Column Issue 120]

Click “Read the Original” to view the summary post

Leave a Comment