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.
Tool/software: Code Composer Studio
Hi,
Can you please provide me the sci loopback working code. as i was trying to run the "example_sci_dma" code which is already given, but it is not working properly.
so need to check the self-test first on the board.i tried the same but not working that too. so, need the confirm working code for the SCI Loopback functionality.
Regards,
Shivam Kakad
Hi,
I Have a doubt. Actually here though external hardware triggering is not provided still the code is working. where, as per the code
dmaSetChEnable(DMA_CH0, DMA_HW); it requires the HW to trigger on hardware request for SCI-DMA.
Please help me in this.
Regards,
Shivam Kakad
Hello,
There are three ways to start DMA transfer:
Software request, Hardware request and triggering by other control packet.
When hardware request is used the DMA controller can handle up to 48 DMA Request lines. For example when SPI1 has received data it can trigger DMA transfer using DMAREQ[0].
This is described in TRM, Section 20.2.7 .
Table 20-3 in device TRM shows the DMA request lines.
Best regards,
Miro
Hi,
When hardware request is used, do i need to provide any external interface to the eval board for such triggering. or internally the hardware request takes place. if yes, then how it differs from the software triggering?
Please assist me on the same.
Regards,
Shivam Kakad
Hello,
To start DMA transaction using software triggering you must set corresponding SW channel enable bit in SWCHENAS register.
When HW request is used the module (for example SCI module - Section 30.4 in device TRM) sends DMA request (for receive or transmit). You don't have to connect any external connections.
Best regards,
Miro
Hi,
For me the SW interrupt triggering is not working though the SW channelbit in SWCHENAS register is enabled.
Just HW interrupt is working why is it so?
Reagrds,
Shivam Kakad