6747怎么去触发DMA的接收?
spi0Regs->SPIINT0 |= CSL_FMK(SPI_SPIINT0_DMAREQEN,0x01);
这样一条命令吗?
但是没有时钟输出?应该怎么去触发?
如果有例程的话最好,谢谢!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
6747怎么去触发DMA的接收?
spi0Regs->SPIINT0 |= CSL_FMK(SPI_SPIINT0_DMAREQEN,0x01);
这样一条命令吗?
但是没有时钟输出?应该怎么去触发?
如果有例程的话最好,谢谢!
下面是MCBSP的一个EMDA传输例子的步骤,你可以大概看一下步骤
* ============================================================================
* @n Target Platform: EVM
* ============================================================================
* @n <b> Example Description </b>
* @n In this example, the MCBSP0 is configured in digital loopback mode,
* with 32 bit data transfer, using sample rate generator to synchronize
* the frames.Edma mode of transmission is selected.
* This example,
* 1. Initializes and opens mcbsp module.
* 2. Sets up the hardware to default values and multi channel
* 32 bit data transfer i.e., CSL_mcbspHwSetup() is called for
* module configuration.
3. Sets up interrupts corresponding to EDMA and MCBSP.
* 4. Sets up EDMA for synchronizing ate MCBSP.
* 5. Enables MCBSP to Transmit/Receive Data.
* 7. Waits for the interrupt and once the transfer is done closes
* the EDMA.
* 8. Does the data comparison to ensure the validity of the data.
* 9. Displays the messages based on step 8.
*
* =============================================================================