Hello, I have a codec connected to McBSP3. The codec is a single channel device which expects ulaw/alaw data in the first byte after the frame pulse. I have verified I have clock, frame pulse, on appropriate pins on the board. On another board I have McBSP1 working with DMA for 30 bytes of data. Is it possible just to get interrupted off the frame pulse and write the value directly to a transmit register and read from the receive register and skip the DMA? Thanks, Mike |
|
McBSP 3, how do I get started?
Started by ●November 4, 2004
Reply by ●November 4, 20042004-11-04
Hello, I have a codec connected to McBSP3. The codec is a single channel device which expects ulaw/alaw data in the first byte after the frame pulse. I have verified I have clock, frame pulse, on appropriate pins on the board. On another board I have McBSP1 working with DMA for 30 bytes of data. Is it possible just to get interrupted off the frame pulse and write the value directly to a transmit register and read from the receive register and skip the DMA? Thanks, Mike |
Reply by ●November 4, 20042004-11-04
--- In , "bsd_mike" <bsd_mike@y...> wrote: > Is it possible just to get interrupted off the frame pulse > and write the value directly to a transmit register and > read from the receive register and skip the DMA? Mike - You're looking for BXINT2/BRINT2 (spru131g) and RINTM/XINTM (spru302). It's relatively straight forward. Since you're just sending a single byte, instead of FS you can just interrupt off each word transmitted (i.e. XINTMb). -Ted |