SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: mcbsp_ex7_tdm8_test.c
For the detailed description of this example, please refer to: How to Implement Custom Serial Interfaces Using the Configurable Logic Block (CLB) Application Note (SPRAD62).
In this example a MCBSP is used to generate and receive a TDM-8 test stream. This example uses interrupts. Both RX and TX interrupts are enabled. The McBSP TDM stream is set to eight 32-bit channels per frame.
This example is specifically created for use with SPRAD62. To use the McBSP inputs and outputs, the following connections are needed:
External Connections
McBSP Output Pins GPIO pin Device Under Test (DUT) MCLKX GPIO22 BCLK_IN MFSX GPIO23 FSYNC_IN MDX GPIO20 DATA1_IN
McBSP Input Pins GPIO pin Device Under Test (DUT) MCLKR GPIO58 BCLK_OUT FSR GPIO59 FSYNC_OUT MDR GPIO21 DATA1_OUT
The McBSP TX and RX pins can be externally looped back to create self contained test.
Watch Variables: