|
|
@ -96,9 +96,8 @@ int mcbsp_spi_init() |
|
|
|
MCBSP_config(__spi_handle, &mbconf); |
|
|
|
|
|
|
|
//Enable McBSP in steps
|
|
|
|
MCBSP_start(__spi_handle, MCBSP_RCV_START | |
|
|
|
MCBSP_SRGR_START | |
|
|
|
MCBSP_SRGR_FRAMESYNC, |
|
|
|
MCBSP_start(__spi_handle, |
|
|
|
MCBSP_XMIT_START | MCBSP_SRGR_START | MCBSP_SRGR_FRAMESYNC, |
|
|
|
MCBSP_SRGR_DEFAULT_DELAY); |
|
|
|
return 0; |
|
|
|
} |
|
|
@ -228,10 +227,8 @@ int mcbsp_aic23_init() |
|
|
|
MCBSP_config(__aic23_handle, &mbconf); |
|
|
|
|
|
|
|
//Enable McBSP in steps
|
|
|
|
MCBSP_start(__aic23_handle, MCBSP_RCV_START | |
|
|
|
MCBSP_SRGR_START | |
|
|
|
MCBSP_XMIT_START | |
|
|
|
MCBSP_SRGR_FRAMESYNC, |
|
|
|
MCBSP_start(__aic23_handle, |
|
|
|
MCBSP_RCV_START | MCBSP_XMIT_START | MCBSP_SRGR_START | MCBSP_SRGR_FRAMESYNC, |
|
|
|
MCBSP_SRGR_DEFAULT_DELAY); |
|
|
|
return 0; |
|
|
|
} |
|
|
|