Double-click the Component to open the configuration window. The design uses this Component to
display messages in a terminal window at a baud rate of 115200 bps
a.
Change the Name of the Component instance to UART.
b.
Click OK.
The design uses default values for all other settings
a
b
Figure 17
Configuring the SCB-based UART component
4.
Configure the Timer Counter (TCPWM) Component to trigger an interrupt
In this step, you configure the Timer Counter (TCPWM) Component to trigger an interrupt every second
(1 Hz). The clock source of the TCPWM is the peripheral clock (Clk_Peri). The design will use this interrupt
to toggle the LED state. Open the Component customizer and follow the steps illustrated in
a.
Change the Name to Timer
b.
Set the Period to 1000 and Interrupt Source as Overflow/Underflow
c.
Click OK to complete the configuration of the TCPWM Component
d.
Connect the clock terminal of the TCPWM to the 1-kHz clock source. In the schematic, use the wire
tool button or press the ‘W’ key to start wiring the Clock Component to the clock terminal of the
TCPWM Component
Getting started with PSoC
™
6 MCU on PSoC
™
Creator
4 My first PSoC
™
6 MCU design using PSoC
™
Creator
Application Note
22
002-21774 Rev. *G
2022-07-21