If you've enable RX1_INT and RX2_INT, then what is the SERIN/OUT for?
Aren't you using the USARTS?
<br>
If you've enable RX1_INT and RX2_INT, then what is the SERIN/OUT for?
Aren't you using the USARTS?
<br>
DT
Sure, i am using both uarts of the Pic, but i have one more serial port accessing
via serin/serout some more serial devices also (a eight devices bus). The status
and some controls of these eight modules accessed via serin/serout are
controlled by the two uarts to a rs232 and a ethernet board.
Any type of software timed commands like SERIN/OUT, OWIN/OUT, PAUSE, PULSIN/OUT etc, will be disturbed by these types of Interrupts.
Since you have 4 different things interrupting, the software timing is getting messed up pretty bad.
If you only needed the transmit side, you could use ...
Tmr_tx-18
http://www.picbasic.co.uk/forum/show...1&postcount=28
But it sounds like you need the RX side too.
With a need for 3 USART's, You may be out of luck.
DT
Hi Darrel,
it works now, but is very critical in timing.
I think about using 12c, but i did not find a good i2c slave routine.
I tested one in the past, but without success.... :-(
Did you test your interrupts as an i2c slave? Can you help on this?
Regards,
Ralf
> Did you test your interrupts as an i2c slave?
I haven't, but Robert Soubie did.
http://www.astrosurf.com/soubie/pic_as_an_i2c_slave.htm
<br>
DT
Bookmarks