We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
In LPC2148(ARM uC) there is a register CPSR (Current Program Status Register). This CPSR contains a no. of flags which report & control the operation of the ARM7 CPU. It is similar to PSW (Program Status Word) of uP & 8051 uC. I've went throught it's datasheet, User manuals but i'm unable to find its base address. For E.g. PCON has base address 0xE01FC0C0 FIO0PIN has base address 0x3FFFC014 FIO0SET has base address 0x3FFFC018 FIO0CLR has base address 0x3FFFC01C FIO1DIR has base address 0x3FFFC020
I want to add CPSR Register in include file. Plz if anybody has this information plz reply.
Als0 in 8051 we have Accumulator(A-Register) & B-Register & few other registers , similarly LPC2148(ARM uC)has R0-R15 Registers, i suppose these must also hv some address. I want to add these Registers too in include file. If some one has this information plz do share
Regards, Pratibha
You are assuming that the LPC2148 works just like an 8051, only bigger - that is a completely false assumption!
As Per says, you need to go right back to your underlying requirement, and think about how to implement that on the LPC2148.
So, again, what is your actual requirement?
What is it that you are actually trying to achieve?