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

Linux/OMAP-L138: OMAPL138BZWTD4-R2.1

$
0
0

Part Number:OMAP-L138

Tool/software: Linux

Hi

I want to use mcbsp frame sync interrupt from linux for omap.
I added the request for it as follow :
request_irq(IRQ_DA850_MCBSP0RINT, wctdm_mcbsp_rint_irq_handler,0, "dahdi_wctdm_mcbsp0RINT", NULL);
I set the SCPR.RINTM to 2h i.e. RINT is generated by a new frame synchronization.
The mcbsp tx and rx are enabled and i see the clock and frame sync on the TDM.

I see it (irq num 97) on /cat/proc/interrupts but no calls for the handler.
root@telco [/root]# cat /proc/interrupts
CPU0
11: 2 cp_intc edma
12: 0 cp_intc edma_error
16: 3718 cp_intc mmc0
20: 1542 cp_intc spi_davinci.0
21: 364114 cp_intc clockevent
22: 20 cp_intc free-run counter
25: 11815 cp_intc serial
33: 0 cp_intc eth0
34: 6153 cp_intc eth0
35: 3910 cp_intc eth0
36: 0 cp_intc eth0
56: 0 cp_intc spi_davinci.1
93: 0 cp_intc edma
94: 0 cp_intc edma_error
97: 0 cp_intc dahdi_wctdm_mcbsp0RINT
Err: 0

I suspect that at AINTC this system interrupt is cleared.

How can i enable it from linux omap ? what system call for the omal138 to use?

BR

yuda


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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