
Rev. 1.60
14
August 20, 2019
Rev. 1.60
15
August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
Pin Descriptions
With the exception of the power pins and some relevant transformer control pins, all pins on these
devices can be referenced by their Port name, e.g. PA0, PA1 etc, which refer to the digital I/O
function of the pins. However these Port pins are also shared with other function such as the Analog
to Digital Converter, Timer Module pins etc. The function of each pin is listed in the following table,
however the details behind how each pin is configured is contained in other sections of the datasheet.
As the Pin Description table shows the situation for the package with the most pins, not all pins in
the table will be available on smaller package sizes.
BS66F340
Pad Name
Function
OPT
I/T
O/T
Description
PA0/SDO/
ICPDA/
OCDSDA
PA0
PAWU
PAPU
PAS0
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
SDO
PAS0
—
CMOS SPI data output
ICPDA
—
ST
CMOS ICP Data/Address pin
OCDSDA
—
ST
CMOS OCDS Data/Address pin, for EV chip only.
PA1/CTP0
PA1
PAWU
PAPU
PAS0
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
CTP0
PAS0
—
CMOS CTM0 output
PA2/CTCK1/
SCS/ ICPCK/
OCDSCK
PA2
PAWU
PAPU
PAS0
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
CTCK1
PAS0
ST
—
CTM1 clock input
SCS
PAS0
IFS
ST
CMOS SPI slave select
ICPCK
—
ST
CMOS ICP Clock pin
OCDSCK
—
ST
—
OCDS Clock pin, for EV chip only.
PA3/SCS/
XT1
PA3
PAWU
PAPU
PAS0
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
SCS
PAS0
IFS
ST
CMOS SPI slave select
XT1
PAS0
LXT
—
LXT oscillator pin
PA4/SDO/
XT2
PA4
PAWU
PAPU
PAS1
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
SDO
PAS1
—
CMOS SPI data output
XT2
PAS1
—
LXT LXT oscillator pin
PA5/CTP0B
PA5
PAWU
PAPU
PAS1
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
CTP0B
PAS1
—
CMOS CTM0 inverted output
PA6/CTCK0/
INT0
PA6
PAWU
PAPU
PAS1
ST
CMOS General purpose I/O. Register enabled pull-up and wake-up.
CTCK0
PAS1
ST
—
CTM0 clock input
INT0
PAS1
INTEG
INTC0
ST
—
External Interrupt 0