Discussion in "ARM Development" started by    shyam    Dec 29, 2007.
Thu Feb 02 2012, 02:52 am
#21
Pawankumar, it would be great if you can create a thread for yourself so will be easy for me to help. this post is not for asking questions regardin your problem. so please create a new thread I will answer you there.
Sat Feb 18 2012, 12:50 pm
#22
Thanks salim.,, I tried your code and it works perfectly for me.

I did not understand one thing :

VICVectCntl0 = 0x20 | 7;



I know 7 is for UART1 but I did not know the significance of the command.
Sat Feb 18 2012, 02:01 pm
#23
hello pawan,
as far as i know this VicVecCntl0-15 registor is used for assigning priorities to the vectored interrupt. slot 0 being of highest priority. so i am assigning highest priority to UART1 interrupt. check section 7.4.9 of lpc2148 user manual u ll get some idea.

BTW ajay thanks for the link. it solved my issue.
Sat Feb 18 2012, 03:39 pm
#24
Thanks Salim,

I get it now.The 0x20 enables the IRQslot enable pin


[ Edited Sat Feb 18 2012, 03:40 pm ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am