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.
Hi there,
I am using F28335.
Upon an interrupt, whether it be from a peripheral or a software trap, the processor automatically pushes the following information onto the stack in the following order (32-bit words)(automatic context save):
1) T: ST0 – Temporary register and Status Register 0
2) ACC – Accumulator
3) P – Product Register
4) AR1:AR0 – Auxilary registers
5) DP:ST1 – Data point and Status Register 1
6) DBGSTAT:IER – Debug status register and interrupt enable register
7) Return Address
Regarding the last 2 items I would like to know what shall the code be like.
I am having problem of accessing DBGSTAT and I am not sure how to push the return address here either.
It would be great if there is a code example.
Regards,
Leon
Anyone from TI could answer this question? Or is this a question with no answer?
Thank you
Leon
all of this is done automatically,
do you want to repeat the process of auto context restore manually?
yes
I would like to try it manually
and was stuck by the registers I mentioned in my previous thread