Skip to main content
Visitor II
September 29, 2003
Question

problems with st92f150 Sci-a

  • September 29, 2003
  • 2 replies
  • 718 views
Posted on September 29, 2003 at 09:25

problems with st92f150 Sci-a

    This topic has been closed for replies.

    2 replies

    w2Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:34

    I use the ST92F150 and i have a problems with the rx interrupt on SCI- A . The tx interrupt run OK .I set the RE RIE TCIE TE bits on SCICR2 and I set the Interrupt bit on SITRH=0x01 SIPLRH=0x02 SIMRH=0x Can you help me

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:34

    Hello Walter,

    Can you see the data on RDO pin. And is RDRF flag being set. As long as RDRF is getting set and RIE is set you should be able to have RX interrupt. There can be many possibilities your parity setting may not be o.k. and in that case you will get a parity error interrupt if you have set the PIE bit. Do you follow the software sequence to clear TDRE/TC bit.

    Just one more point you should reset the bit corresponding to the interrupt source ;you want to assign higher priority. So SIPLRH should be SIPLRH &= ~0x02; and not SIPLRH = 0x02;

    Find a software example on sci-a for help.