probably not , on interrupt is not suitable for processing async data streams in any useful way without flow control
if there is a "real" foreground task being processed incurring data loss is...
First, there's the actual shiftregister into which the data is shifted bit-by-bit as it's received. You don't have access to this register (AFAIK).
Once the correct number of bits have been shifted...
Thank you Richard,
Actually, my program works on a 8MHz basis - it should be more than enough to handle 9600bps serial data, no?
I'd like to stick to the very basics since I'm not an...
As you will be creating another keyboard, any output will be sent to what ever window has focus.
towlerg Today, 09:41since most chips have a rxbuffer you could also take advantage of
ISR:
rx_hit=1
while pir1.5
sdata[rx_count]=RCREG
rx_count=rx_count+1
if rx_count==5...
i have great reservation that "on interrupt" will be successful @9600 with a 4mhz osc, use dt ints
puts your 690 in a blocking loop until 5 characters have been received, no matter how long it...
Hi all,
I've made this small program to learn how the EUSART RX interrupt works....and it works BUT :biggrin:
Yes, the code below works but I'm getting confused when I think about having...
George,
I do not understand where flow control is needed.
Ioannis
Use HIL to PS/2 converter. Then send data from pic using PS/2 protocol. I think you have example on somewhere forum.
As far as I know HIL use dedicated IC for interfacing device MCU to HIL Bus.
Re: HSERIN using EUSART RX interrupt - how does it really work?
Thanks Henrik, thanks Richard.
flotulopex Today, 21:11I have some homework to do following your info :)