On  3-02-13 09:32, Oliver Seitz wrote:

If multiple bytes are transmitted using serial_hw2_int_cts.jal right
after another, only the last two bytes are really sent out through the
usart.

It looks like all the queued bytes are stuffed to TXREG, without waiting
for the previous bytes to be transmitted. If there's a delay after the
string, while the buffer runs empty, the last two bytes are actually
sent out.

What have you done??? This library was OK with revision 3015, I tested it here with several PICs. From the comments with Rev 3158 I understand that you didn't know that it existed, made your own hw2 library from a copy of the hw(1) library and then replaced the existing hw2 library.

I suggest you should pick up the R3015 version of the hw2 library and make the changes similar to what you did for the HW(1) library as of R3151: adding function serial_hw2_tx_buffer_free().

Regards, Rob.

--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to