Laurentiu-Cristian Duca
unread,Nov 24, 2019, 10:50:41 AM11/24/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beagl...@googlegroups.com
Hello bbb community,
I am an open source enthusiast and I am trying to port
omap4 mcspi drivers to Xenomai real-time linux.
After I set CS active and enable channel 0 and interrupts,
I receive only two interrupts (in fact a pair):
- tx0_empty and after this I fill the mcspi tx reg with data and reset
the flag in IRQSTATUS
- as a follow up to the actions taken for tx0_empty,
rx0_full interrupt is risen and I read the mcspi rx reg and reset the
flag in IRQSTATUS.
After that no interrupt comes (neither of tx_empty, rx_full or EOT)
even if interrupts and channel0 are enabled and CS is active,
so I can not transfer remaining data.
FIFO is enabled and OMAP2_MCSPI_XFERLEVEL is setup accordingly to transfer size.
If I use the polling method to see if something is pending
everything works well, but I need real-time,
so must use interrupts.
The dts for spi0 and spi1 is not changed.
Any ideas?
Thank you,
L-C. Duca