Default GPIOs drive mode for PSoC4000S and PSoC4100S

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

cross mob
YoIs_1298666
Level 5
Level 5
250 sign-ins 100 replies posted 100 sign-ins

Hello,

I have questions about default GPIO drive mode.

1. I think the default drive mode for all GPIOs at the factory shipment is High-Impedance Analog, is that correct?

YoIs_1298666_1-1628222596096.png

2. In case of PSoC4000S, GPIOs other than Dedicated Analog Resources (LPCOMP) are recognized as not connecting analog, is this correct?

YoIs_1298666_2-1628222910858.png

3. In case of PSoC4100S and PSoC4100S Plus, GPIOs other than Dedicated Analog Resources (LPCOMP and OPamps) are recognized as not connecting analog, is this correct?

YoIs_1298666_3-1628223150643.png

I imagined from the block diagram below.

YoIs_1298666_4-1628223241838.png

Best regards,

Yocchi

 

 

0 Likes
1 Solution
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

 

1.

It is correct.

 https://www.cypress.com/file/280681/download

See page 68 of the Architecture TRM.

MaMi_1205306_1-1628246290553.png

2. and 3. 

The dedicated terminals of each analog component are recognized without going through a switch. See the figure below.

MaMi_1205306_2-1628246657904.png

Other than the analog dedicated terminal, it is not connected internally.
That is, it must be connected through a MUX switch.

Regards,

 

 

 

 

View solution in original post

0 Likes
3 Replies
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

 

1.

It is correct.

 https://www.cypress.com/file/280681/download

See page 68 of the Architecture TRM.

MaMi_1205306_1-1628246290553.png

2. and 3. 

The dedicated terminals of each analog component are recognized without going through a switch. See the figure below.

MaMi_1205306_2-1628246657904.png

Other than the analog dedicated terminal, it is not connected internally.
That is, it must be connected through a MUX switch.

Regards,

 

 

 

 

0 Likes

Hello,

Thank you very much for your advice.

I was able to understand the written part.

It was judged from "GPIO_PRTx_PC" registers of the register TRM.

YoIs_1298666_0-1629082167247.png

Then, I don't think the MUX switch means switching AMUXBUS A / B by the HSIOM_PORT_SELx register in Figure 6-2. GPIO Block Diagram. 

As mentioned above(2. and 3.), I think that analog is not connected to IO other than LPComp and Opamp.

What do you think?

Best regards,

Yocchi

 

 

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

 

I understood that the intent of your question is to have Question 2 and Question 3 based on Question 1.

 

MaMi_1205306_0-1629086491699.png

 

(a) LPcomp input pin

The red line in the figure.
The LPcomp input is connected without using the AMUX BUS A/B switch, but there is no problem because the LpComp input is Hi-Z. And also, it will not work unless the LPcomp_Start API is called.

 

(b) Opamp input pin

The blue line in the figure.
The input of opamp and the dedicated terminal are connected without using the AMUX BUS A/B switch.
The input of opamp also has high impedance, However, it will not connect unless you use the switch circled in blue.
Therefore, the default is Hi-Z.

 

(c) Opamp output pin

By default, the Opamp output is not connected to a dedicated terminal.
The reason is the configuration setting of the operational amplifier, and unless you change the setting of "Output is Internal only", it will not be "Output to pin". If the Opamp_Start API is not called, the opamp will not be enabled and the default setting is Hi-Z.

 

Regards,