Hi Vasile, Thank you for your inputs.
About EUSART; How different is it? Is there any library for its better usage? About "Zero Error" XTAL, don't know what is that. Need to lurk about it About "if-then-else" syntax instead of "while loop end loop"; serial_software (not using RX Registers) will not wait for the start bit to know when data is incomming. About serial_hw_int_cts; I believe it will need that signal present some where in a PIC input (not sure) to simulate CTS. I don't have that signal in my FTDI USB-RS232 converter cable. This converter only have TX, RX and GND. Not easy for better/ hardware solutions. Thank you anyways. Greets, Filipe Santos. On Tuesday, May 17, 2022 at 7:19:07 PM UTC+1 vasile wrote: > You have to use a serial receiving procedure which uses interrupts. Read > carefully the serial_hw_int_cts.jal. If new to jal, remember there is a > learning curve you can not jump over it. Interrupts are not easy, usually > with issues and bugs. > Good luck! > > On Sat 14 May 2022, 11:50 PM flyway38 <[email protected] wrote: > >> 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 >> >> <https://groups.google.com/d/msgid/jallib/ac896057-cc8b-40e2-9e84-5cc7d7843640n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/0eb189ae-0a6f-4ab5-af8c-f71dc046e306n%40googlegroups.com.
