
CE54939
August 9, 2011 Document No. 001-54939 Rev *C 3
The code can be tested using CY3210 – PSoC Eval1 board. This board has a RS232 transceiver and a serial port connector.
To test the code using the CY3210 board, make the following connections:
Connect P25 of J7 to RX of J13
Connect P27 of J7 to TX of J13
Operation
All hardware settings from the device configuration are loaded into the device and main.c is executed on program execution.
The 24-MHz system clock is divided by 156 (VC3) to produce a 153.8-KHz clock, which is provided to the UART user module.
The transfer rate is 1/8 times the clock, that is, 19.2 kbps. Parity is set to none in the initial configuration for the block and may
also be set using the UART APIs.
After setting up the HyperTerminal as explained in the section “Testing the Project” on page 5, click Call menu in the
HyperTerminal and reset the PSoC.
The HyperTerminal window displays the following message.
Figure 2.Welcome Screen on HyperTerminal
PSoC decodes the command and parameters according to the commands typed on the HyperTerminal. For example, when a
string “Testing 1 22 333 4444 55555” is entered in hyper terminal, PSoC responds as shown in the following figure.
Figure 3.PSoC Response in HyperTermina
l
Note For more information on user modules, see the specific user module datasheet included in the PSoC Designer
TM
.
Commentaires sur ces manuels