- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
2. In case of PSoC4000S, GPIOs other than Dedicated Analog Resources (LPCOMP) are recognized as not connecting analog, is this correct?
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?
I imagined from the block diagram below.
Best regards,
Yocchi
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1.
It is correct.
https://www.cypress.com/file/280681/download
See page 68 of the Architecture TRM.
2. and 3.
The dedicated terminals of each analog component are recognized without going through a switch. See the figure below.
Other than the analog dedicated terminal, it is not connected internally.
That is, it must be connected through a MUX switch.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1.
It is correct.
https://www.cypress.com/file/280681/download
See page 68 of the Architecture TRM.
2. and 3.
The dedicated terminals of each analog component are recognized without going through a switch. See the figure below.
Other than the analog dedicated terminal, it is not connected internally.
That is, it must be connected through a MUX switch.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I understood that the intent of your question is to have Question 2 and Question 3 based on Question 1.
(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,