User Tools

Site Tools

한국어

cubloc:cb220_320

CB220/320

Pin description

Pin Name I/O Description
1 SOUT OUT DOWNLOAD SERIAL OUTPUT
2 SIN IN DOWNLOAD SERIAL INPUT
3 ATN IN DOWNLOAD SERIAL INPUT
4 VSS POWER GROUND
5 P0 I/O ADC0 / SPI SS
6 P1 Input ADC1 / SPI SCK
7 P2 I/O ADC2 / SPI MOSI
8 P3 I/O ADC3 / SPI MISO
9 P4 I/O ADC4
10 P5 I/O PWM0 / ADC5
11 P6 I/O PWM1 / ADC6
12 P7 I/O PWM2 / ADC7
13 P8 I/O CuNET SCL
14 P9 I/O CuNET SDA
15 P10 I/O RS232C Channel 1 RX
16 P11 I/O RS232C Channel 1 TX
17 P12 I/O
18 P13 I/O
19 P14 I/O High Counter Channel 0
20 P15 I/O High Counter Channel 1
21 VDD I/O 5V Output / Input
22 RES IN RESET input (Active Low)
23 VSS IN GROUND
24 VIN IN 5.5V~12V Input Power

Spare I/O Pin

Name I/O Desription
P18 I/O
P19 I/O PWM3
P20 I/O PWM4 / INT0
P21 I/O PWM5 / INT1
P22 I/O INT2
P23 I/O INT3

Additional Information

SIN, SOUT, ATN are RS-232 communication pins used to interface with a PC for downloading, debugging, monitoring, and serial communication. All Cubloc models have SOUT, SIN, ATN pins and are connected to a DE-9 connector (PC serial port) as shown below.

Other pins are mostly I/O ports. The user may select which ports (pins) to use as INPUT or OUTPUT. When set to INPUT, the pin enters a high-impedance state; when set to OUTPUT, the pin either outputs logic-low or logic-high. The maximum current (source/sink) available from the output ports is 25mA. The user is free to choose which I/O ports he/she will use for which purpose (such as ADC, PWM, etc…).

Supplying power to the CB220/CB320

The CB220 and CB320 have an internal 5V power regulator that accepts a DC input between 5.5V and 12V. It will produce a stable 5V at 100mA. When using the internal regulator, the supply voltage can be applied to pin 24, and 5V will appear on pin 21. If a 5V regulated power source is already available, the user may simply connect it to pin 21. If an application requires more than the 100mA of current, a separate power supply should be used.

Method 1

Method 2

cubloc/cb220_320.txt · Last modified: 2020/02/26 11:15 by COMFILE Technology