Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

CCS/OMAP-L138: UART1 and McASP - Interrupt Incompatibility- ARM Assembly

$
0
0

Part Number:OMAP-L138

Tool/software: Code Composer Studio

Hey,

We have been issues with using both the audio input and the UART1 on our LCDK and I suspect it is due to our interrupts in our asm files. We are using two separate sets of example code and have a interrupt .asm file from each set. However, our UART1 and McASP are both tied to the 4th interrupt in both files and I suspect that is causing an issue, but I do not understand ARM assembly and am not too sure. Is this causing the issue? If so, does anybody have any advice as to how we can fix it?

intvecs.asm
the McASP interrupt is tied to _c674x_mask_int4_isr
;********************************************************** ; Global Symbols ;********************************************************** .global _intcVectorTable .global _c_int00 .global _c674x_nmi_isr .global _c674x_rsvd_int2_isr .global _c674x_rsvd_int3_isr .global _c674x_mask_int4_isr .global _c674x_mask_int5_isr .global _c674x_mask_int6_isr .global _c674x_mask_int7_isr .global _c674x_mask_int8_isr .global _c674x_mask_int9_isr .global _c674x_mask_int10_isr .global _c674x_mask_int11_isr .global _c674x_mask_int12_isr .global _c674x_mask_int13_isr .global _c674x_mask_int14_isr .global _c674x_mask_int15_isr

vectors_intr.asmm

the UART1 interrupt is tied to _interrupt4

.global _vectors
   .global _c_int00
   .global _vector1
   .global _vector2
   .global _vector3
   .global _interrupt4
   .global _vector5
   .global _vector6
   .global _vector7
   .global _vector8
   .global _vector9
   .global _vector10
   .global _vector11
   .global _vector12
   .global _vector13
   .global _vector14
   .global _vector15

Thanks,

Hersh

_c674x_mask_int4_isr

Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>