Does anyone have an example of an internal loopback for the McASP on the AM533x or AM57x? I have a beaglebone and was using the mcasp driver included with the starterware sdk to manipulate the registers and have yet to successfully get it to work. I wanted to start out with the internal loopback without the signals going to the IO pads then after successful implementation add the IO pads and a jumper wire. I am looking just to write a byte and read a byte in polling mode do demonstrate functionality and start working with the peripheral.
So far I am
- Turning on the clocks
- Reset TX/RX
- Configure Loopback mode
- Set RMOD and XMOD fields
- Start the transmit clock
- write to the TX Buffer
- Read the TX status register and I receive an error 0x10C
The error indicates that it is a clock error, any example would be very helpful.
Thank You,
George