Hi Filipe,
If serial_software works with "const bit serial_sw_invert = true", then 
serial_hardware should also work. serial_software supports the non-inverted 
mode, the uart hardware in newer PICs also supports the non-inverted mode, but 
the serial_hardware library does not yet support that mode natively.
Have you tried single chars with time in between?
forever loop   serial_hw_data="@"   delay_1s(1)end loop
This loop transmits a start bit and a single set data bit every second. From 
the results you're seeing on the PC, the error might be narrowed down.
Greets,Kiste

    Am Samstag, 14. Mai 2022, 22:58:28 MESZ hat flyway38 <[email protected]> 
Folgendes geschrieben:  
 
 Hi to all,
Have been using serial_software library with enough success until now.Am coding 
for use a TTL-232R-5V-AI USB Cable to connect to computer.Using serial_software 
library with invert bit activated, am getting good results.
It all works good enough sending data to computer
The problem with this library is while receiving data from computer. As soon as 
this funcion is activated in PIC code, the library locks in a loop waiting for 
data.So, started to migrate my code for use with serial_hardware library 
instead, to avoid this lock.But now I get Frame Error from COMM PORT with not 
usefull data, all the time. Even if I invert data received. Have also tried 
different baud rates, etc...
Can anyone help about this issue?Thank you very much.
Kind regards,Filipe Santos.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/ac896057-cc8b-40e2-9e84-5cc7d7843640n%40googlegroups.com.
  

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/1678136290.1915649.1652594219123%40mail.yahoo.com.

Reply via email to