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.

TMS570LC4357: SCI1 DMA TX interrupt configuration

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool : CCS, HALcogen

uc : TMS570 LC 43xx 

Problem : Configured the interrupt for DMA on SCI1 TX line but not getting the interrupt ?

Question : Can i configure the DMA for Transmission only (TX line) i dont want to use the Rx line ?

If any one have sample code it will great help.

Thank you ,

Yogesh  

  • Hello,
    Yes, you can set DMA for transmission only. SET TX DMA bit (SCISETINT register) is used to set DMA requests for the transmitter. If both SET TX DMA and SET TX INT (Set transmitter interrupt) are set then DMA request will be generated ( please, refer to Chapter 30.4.2 and Table 30-6 in device TRM ). Each channel of DMA controller can be configured to generate interrupts on following conditions:
    - Frame transfer complete (FTC) interrupt;
    - Last frame transfer started (LFS) interrupt;
    - First half of block complete (HBC) interrupt;
    - Block transfer complete (BTC) interrupt;
    - External imprecise error on read;
    - External imprecise error on write;
    - Memory Protection Unit error (MPU);
    - Parity error (PAR).
    PLase, refer to Chapter 20.2.9 in device TRM.

    Under HALCoGen example folder you can find example for using SCI with DMA. Instructions of how to set MCU for this example could be find usinh Help -> Help Topics -> Examples.

    Hope this helps.

    Best regards,
    Miro