This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Help setting port pins before initializing global variables for MSP430F5635

Hi!

We have an application in which we are defining a lot of global variables. We are setting some of the port pins to low in main(). Since global variables are initialized before main() is called, this is taking up about 30ms before we could set any of the port pins. As a result, some of the port pins go high for 30ms before they are set to low in main(). Is there any way we could define these port pins as soon as the controller is powered on before this global variables gets initialized??

Any insight is greatly appreciated. Thanks in advance.

-Aparikh

**Attention** This is a public forum