Cypress CE219490 Manual del usuario - Página 3
Navegue en línea o descargue pdf Manual del usuario para Microcontroladores Cypress CE219490. Cypress CE219490 9 páginas. Psoc 6 mcu ramping led using smart i/o
chip 4 (TCPWM line)
99 Hz
99 Hz
LUT2
output
LUT3
Output
(99/4 Hz)
chip 4
PWM
output
LUT4
output
Resources and Settings
Table 2
lists the ModusToolbox resources used in this example, and how they are used in the design. For pin usage and
configuration, open the Pins tab of the design.modus file.
Timer Counter PWM (TCPWM)
Smart I/O
Digital Output Pin
Figure 2
highlights the non-default settings for the TCPWM.
www.cypress.com
Figure 1. LUT Configuration and Timing Diagram
LUT2
D0
Q0
SET
D
Q
Q
CLR
Table 2. ModusToolbox Resources
Resource
Alias
PWM
SmartIO
Pin_LED
Document No. 002-25568 Rev.*A
PSoC 6 MCU Ramping LED using Smart I/O
LUT3
D1
Q1
SET
D
Q
Q
CLR
Purpose
Generates 25 Hz, 50% duty cycle square wave
Implements divide-by-4 sequential circuit
Provides visual feedback using the LED
I/O 4 (LED)
LUT4
3