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

Michailqfh
Fri Mar 29 2024, 01:53 am
Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm