Default value for GPIO unprogrammed

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

cross mob
User19793
Level 1
Level 1
Hello

For TC38x 32-Bit Single-Chip Microcontroller :

I would like to know the dafault state for GPIOs, during and after reset, in documentation I found this: "The default state of GPIOs (Px.y) during and after PORST active is controllled via HWCFG6 (P14.4).", but I believe this is for a programmed., in any case I did not find information about how
HWCFG6 controls default state.

tks
0 Likes
1 Reply
VincentWan
Employee
Employee
50 replies posted 5 sign-ins First like received
Hi

The reset values of 1010 1010H and 0000 0000H for Pn_IOCRx registers represents input pull-up and no input pull
device (tri-state mode) being activated, respectively. The switching of the intended mode of the device is
controlled by HWCFG6. When a cold reset is activated and HWCFG6=1, the port pins except P33.8, P40 and P41 are
set to input pull-up mode, P33.8, P40 and P41 are in tri-state mode as long as PORST is activated. If HWCFG6=0,
the pins have the default state of tri-state mode.

HWCFG6 is one of a group of HWCFGx for bootup configuration:

4481.attach
0 Likes