Jun 09, 2020
03:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2020
03:36 PM
Hello Everyone,
I am using Triboard TC277. I found the status of of some port Pins are "High" by default in "Port Pin Input mode-(eg:- P00_IN)" status. Those pins are not resetting to zero or low. How to change those Port Pin status after a Reset or PORST is invoked, i.e all Pin status of the Ports to go "Low" .
Please have a look at the attached screen shot for example as I shaded some Pins(Input mode of the Port) which always stay High regardless of reset activity in Triboard.
Kindly Help me in this regard.
Many Thanks in advance,
Kind Regards,
Deepak
I am using Triboard TC277. I found the status of of some port Pins are "High" by default in "Port Pin Input mode-(eg:- P00_IN)" status. Those pins are not resetting to zero or low. How to change those Port Pin status after a Reset or PORST is invoked, i.e all Pin status of the Ports to go "Low" .
Please have a look at the attached screen shot for example as I shaded some Pins(Input mode of the Port) which always stay High regardless of reset activity in Triboard.
Kindly Help me in this regard.
Many Thanks in advance,
Kind Regards,
Deepak
- Tags:
- IFX
3 Replies
Jun 10, 2020
03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2020
03:39 AM
There are only two possibilities after reset, internal pull-up device active or pin in tristate. If you need a low on the pins then you must configure the pins as input with pull.down device active via software after reset.
Jun 10, 2020
12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2020
12:37 PM
Hello MoD , Thank you veryh much for the reply. i am trying to change the input pin state to pull down using "SetinputMode". Please can you mention which register is responsible for the PORST to indicate the pins should go low after reset invoked.
Many thanks inadvance.
Many thanks inadvance.
Jun 10, 2020
01:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2020
01:43 PM
Output low is not an option for PORST.
HWCFG[6] controls whether the internal pull-ups are activated for all GPIO, or if all GPIO are high impedance inputs.
On your TC277 TriBoard, HWCFG[6] is brought out to the DIP switches: see Figure 4-1 HW Configuration TC277A/TC2D7 DIP-Switch in the TriBoard manual. If switch 4 is OFF, the internal pull-ups will be active. If switch 4 is ON, the inputs will be floating.
Your application can then configure the pins as inputs or outputs with the port registers (PDR, Pn_IOCR, etc.)
HWCFG[6] controls whether the internal pull-ups are activated for all GPIO, or if all GPIO are high impedance inputs.
On your TC277 TriBoard, HWCFG[6] is brought out to the DIP switches: see Figure 4-1 HW Configuration TC277A/TC2D7 DIP-Switch in the TriBoard manual. If switch 4 is OFF, the internal pull-ups will be active. If switch 4 is ON, the inputs will be floating.
Your application can then configure the pins as inputs or outputs with the port registers (PDR, Pn_IOCR, etc.)
This widget could not be displayed.