cancel
Showing results for 
Search instead for 
Did you mean: 

problems with st92f150 Sci-a

w2
Associate II
Posted on September 29, 2003 at 09:25

problems with st92f150 Sci-a

2 REPLIES 2
w2
Associate II
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

ritu
Associate II
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.