How to configure the ports P1 of CY8C4127 as general-purpose I/O and Output mode with Register programming?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
juha_4309401
Level 1
Level 1

How to configure the ports P1 of CY8C4127 as general-purpose I/O and Output mode with Register programming?

0 Likes
1 Solution
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

Which CY8C4127 do you mention?

I assumed you are saying about PSoC 4100M series.

GS004492.png

PSoC 4100M/4200M Family PSoC 4 Architecture TRM, Document No. 001-95223

The port function is decided by the High Speed IO Matrix (HSIOM)  And HSIOM has port setting registers for each pins.

GS004493.png

PSoC 4100M/4200M Family PSoC 4 Architecture TRM, Document No. 001-95223

If you modify the port setting registers, the function of the pin will be changed.

View solution in original post

0 Likes
1 Reply
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

Which CY8C4127 do you mention?

I assumed you are saying about PSoC 4100M series.

GS004492.png

PSoC 4100M/4200M Family PSoC 4 Architecture TRM, Document No. 001-95223

The port function is decided by the High Speed IO Matrix (HSIOM)  And HSIOM has port setting registers for each pins.

GS004493.png

PSoC 4100M/4200M Family PSoC 4 Architecture TRM, Document No. 001-95223

If you modify the port setting registers, the function of the pin will be changed.

0 Likes