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/CAM%2Bj4qv0ckWCT-XD%3DyzpCdwiMAEN_HKw0YJe_%3DjEJ9vHk_yKGA%40mail.gmail.com.
