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.

TMS320F280039C: PINSTS bit in ERRORSTS register

Part Number: TMS320F280039C

Hi Champ,

I am asking for my customer.

We are facing some issue on looking into error sources were triggered, then we compared the code which could be executed and failed, and have some questions about the PINSTS bit in ERRORSTS register.

From the bit description, it's only written "Error Pin is 1" which obviously think if there is any error, the PINSTS bit is set.

So, we import an example in sdk (i.e. adc_ex1_soc_software.c) to clarify the bit meaning, it was found out when executing to main code first line (PC stays at Device_init();), looking into the register, the PINSTS bit was initially be set already. Is it normal to have the bit set ? since the example code could free run properly w/o any error. We have tried to power on again, to clear the bit as the description mentioned "Reset type: PORESETn", it was still the same for having the PINSTS bit set in the beginning of the main. Besides, we get the same conclusion on .cmd is RAM or flash. It should be easy to duplicate in any example in sdk.

So, here are the questions : 

1. What does the PINSTS bit really stands for ? Value 1 for having error ?

2. Is it normal to have the bit set when the code indeed executes to main() initially ?

Thanks and regards,

Johnny