- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand that when PSOC 5LP is in Reset, all the GPIO are high impedance.
Are the GPIO also all high impedance for a new device that has not yet been programmed (not being held in reset state).
I have an H bridge and the Top and Bottom FETS are switching ON before I manage to program the 5LP. Once I have let out a bit of smoke and the device is programmed, it is ok (starts up and resets ok).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DaHu_285096,
Yes, the GPIOs are in analog high impedance drive mode even for a new device.
Please note that a high impedance state does not mean that it is 0. The pin is just left floating. So, there might be some stray charges that could have turned one of the FETs ON.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DaHu_285096,
Yes, the GPIOs are in analog high impedance drive mode even for a new device.
Please note that a high impedance state does not mean that it is 0. The pin is just left floating. So, there might be some stray charges that could have turned one of the FETs ON.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DaHu,
If this mode you speak of is undesirable, you might want to put a very resistance value resistor (100K) on the inputs to the FETs. This resistor would be tied to GND or power depending on which bias voltage would prevent the FET from turning on.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
I have added pull up and down resistors to the circuit. For the P chan and N Chan Fets.