Hi Folks -
I'm trying to connect an ADC to McBSP1 on a BeagleBoard and I appear to be missing something crucial to enable the receiver. The McBSP is correctly generating clock and frame signals on the CLKR and FSR pins and I can see a clean serial signal coming from the ADC to the DR pin. I believe I have (most of) the receiver configured correctly. A couple observations:
- When I enable the receiver (set the SPCR1 RRST bit), the RRDY bit is never set indicating the receiver is ready to be read from. If I enable the transmitter (set the SPCR2 XRST bit), the XRDY bit is immediately set indicating the transmitter is ready to go. (Viewed through CCS)
- Since the receiver is apparently not running yet, the DRR register contains just a constant value.
- The only IRQSTATUS bit that is set to indicate an error is the RUNDFLSTAT bit indicating that I am trying to read from an empty receive buffer.
Any suggestions as to what would keep the receiver disabled like this?
Thanks much,
Joe.