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.

TMS320F2812 SCI break-detect (BRKDT) interrupt

Other Parts Discussed in Thread: TMS320F2812

Hi,

Please teach me about TMS320F2812 SCI interrupt.

I'm check the behavior of the SCI break-detect interrupt(BRKDT).

(A) If I caused the SCI break-detect after SCI initialization, F2812 calls the SCI ISR(RXERRINT) successfully.

(B) If I caused the SCI break-detect before SCI initialization, F2812 don't calls the SCI ISR.

Do you know why the ISR is not called by the pattern (B) ?

Note:
- (A) and (B) is same program code.
- Short the SCIRXD and GND to generate BRKDT.

Best regards,

Mino.M

  • Mino,

                    I would suggest you to read section1.2.8 of the SCI Reference guide (SPRU051), there is also some helpful information in the System Control and Interrupt Reference Guide (SPRU078). I don’t know what you do in your initiation code, however for the BRKDT interrupt to generate a flag:

    1. The peripheral clock must be enabled

    2. “RX/BK INT ENA” must be set to a 1

    3. SCIRXD must be pulled low for 10 bits after a missing a stop bit.

    To receive an interrupt the corresponding SCIRXINTx interrupt vector must also be enabled in the PIE table. This is described in the two documents above.

    Regards,
    Cody

  • Hi Cody,

    Thank you for your reply.
    I will debug with your information.

    Regards,