Skip to content

Pin names and uses

YatingATEIC edited this page Aug 2, 2016 · 15 revisions

The following table describes how the pin names in BASIC are mapped to those of the CC245X device. All IO pins can be accessed and consume 4 mA current and can be set as output HIGH/LOW or as input PULLUP/PULLDOWN unless exceptions stated in comment column:

BASIC SPI0 SPI1 SPI2 SPI3 SERIAL CC254X ADC COMMENT OLED PWM BUZZER
P0(0) P0_0 ADC0
P0(1) P0_1 ADC1
P0(2) MISO P0_2 ADC2
P0(3) MOSI CLK P0_3 ADC3 CLK
P0(4) MOSI P0_4 ADC4 Data
P0(5) CLK MISO P0_5 ADC5
P0(6) P0_6 ADC6
P0(7) P0_7 ADC7
P1(0) P1_0 20 mA NO PULLUP/DOWN PWM BUZZER
P1(1) P1_1 20 mA NO PULLUP/DOWN
P1(2) CTS P1_2
P1(3) CLK RTS P1_3 Can't be used as output PWM
P1(4) MISO RX P1_4
P1(5) MOSI CLK TX P1_5
P1(6) MOSI P1_6 PWM
P1(7) MISO P1_7 Top pad on side connector PWM
P2(0) P2_0 PWM
P2(1) P2_1 On program connector Reset
P2(2) P2_2 On program connector D/C
Clone this wiki locally