Hello!
I'm trying to use one of McBSP1 for companding internal data using non-DLB mode. Here is what I did:
- woke up the McBSP1 logic
- set the RRST and XRST to 0 in SPCR
- set the XCOMPAND to 0x3
- set the RCOMPAND to 0x0
- wrote some value to DXR
- waited for 4 clock cycles asm("nop")
- read DRR
The problem is I always read back 0 from DRR. When I read other registers that I have set, they get read back OK, so I think that McBSP1 is up and running.
Are there any other registers I need to set?