Need help sending 2 bytes!

Re: Need help sending 2 bytes!

Postby AussieSusan » Wed Aug 13, 2014 6:01 am

vloki wrote:
AussieSusan wrote:You will need to be sure to read the first value before the 2nd value is fully received or it will over-write the first in the buffer.
There is a 2 byte fifo buffer ...

Oops - missed that - thanks.
However it does mean that you need to read values before the FIFO fills up! :shock:
Susan
AussieSusan
Verified identity
 
Posts: 173
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: Need help sending 2 bytes!

Postby vloki » Wed Aug 13, 2014 9:52 am

AussieSusan wrote:However it does mean that you need to read values before the FIFO fills up! :shock:
Yes, of course ;-)

@OP
This aspect will be the next step then.
The USART communication fortunately usually is sloooooowwwww
(lots of instructions can be executed while one byte is received)
There are lots of other things like overflow an framing errors already mentioned
by someone before ...
vloki
Verified identity
 
Posts: 186
Joined: Wed May 28, 2014 8:42 am
Location: Germany
PIC experience: Professional 5+ years with MCHP products

Previous

Return to SCI/USART/EUSART

Who is online

Users browsing this forum: No registered users and 12 guests

cron