cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

DaCh_4286001
New Contributor II

I think P2 [1] means Port 2 pin 1, than what's the Pin column stands for?

pastedImage_1.png

Simon

0 Likes
1 Solution
MotooTanaka
Esteemed Contributor

Hi,

IMHO, the number in Port is addressed as pin

and the physical pin on the device is also addressed as pin

this makes us confused.

Can the following picture make it more clear?

Port_and_pin.JPG

moto

View solution in original post

3 Replies
BoMa_4329931
New Contributor II

Ports are usually 8 bit (pins) wide and can be read and written with a single API. Not all the pins of a port need to be connected to the outer world.

P12[2] describes port 12 and pin number 2 (count starting with zero).

Bob

0 Likes
RodolfoGL
Employee

The pin column is related to the physical location of the pin in the chip. You can check the datasheet to verify their location. There are pictures for all different types of packages available.

0 Likes
MotooTanaka
Esteemed Contributor

Hi,

IMHO, the number in Port is addressed as pin

and the physical pin on the device is also addressed as pin

this makes us confused.

Can the following picture make it more clear?

Port_and_pin.JPG

moto

View solution in original post