Hello fellows.
When the MCU (CC2430) enters debug mode (after burning the code into it), and before I run the code, all GPIOs' outputs are 1 Logic.
Its a problem because I have an external device on the PCB, which 2 GPIOs are connected to it, and it must not receive two 1 Logics at the same time (the device must only receive the pairs (0,0), (0,1) or (1,0)).
I read in datasheet that all GPIOs of MCU are by default set to inputs and connected to pull-up resistors.
My question is, is it the reason why all outputs are 1L?
Meaning, if a pin is defined as input and connected to pull-up resistor, does it necessarily mean that its output would be 1L?
Thanks.
When the MCU (CC2430) enters debug mode (after burning the code into it), and before I run the code, all GPIOs' outputs are 1 Logic.
Its a problem because I have an external device on the PCB, which 2 GPIOs are connected to it, and it must not receive two 1 Logics at the same time (the device must only receive the pairs (0,0), (0,1) or (1,0)).
I read in datasheet that all GPIOs of MCU are by default set to inputs and connected to pull-up resistors.
My question is, is it the reason why all outputs are 1L?
Meaning, if a pin is defined as input and connected to pull-up resistor, does it necessarily mean that its output would be 1L?
Thanks.