The data frame is: 1 bit start + character 7 bits + 1 bit even parity + 1 bit stop. I dont need creat this Frame for TX, if there is anyway that i can configure this Frame for RX without touching uart firmware and component source?
2018-03-15 5:09 GMT+07:00 Peter C. Wallace <p...@mesanet.com>: > On Wed, 14 Mar 2018, Rene Hopf wrote: > > Date: Wed, 14 Mar 2018 22:53:59 +0100 >> From: Rene Hopf <reneh...@mac.com> >> Reply-To: EMC developers <emc-developers@lists.sourceforge.net> >> To: EMC developers <emc-developers@lists.sourceforge.net> >> Subject: Re: [Emc-developers] writing new firmware to read yaskawa >> absolute >> encoder >> >> >> On 14. Mar 2018, at 17:54, Peter C. Wallace <p...@mesanet.com> wrote: >>> >>> Typically there would be no issue sending and receiving 7 bit characters >>> with the PacketUART (just mask bit 7 on RX and set it to the line idle >>> (high) state on TX ) >>> >> >> thats not how uart works, if there is a stop bit, and usually there is. >> > > Umm, works for me... > > That is for TX you can add the stop bit in the data (extra stop bits on TX > only slow the data rate slightly) Note that stop bits are in the idle line > state. > > for RX 7 bit data in a 8 bit UART will work fine as long as data has 2 > stop bits or a parity bit (or is not sent with end-end characters) > > > ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Emc-developers mailing list >> Emc-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-developers >> >> > Peter Wallace > Mesa Electronics > > (\__/) > (='.'=) This is Bunny. Copy and paste bunny into your > (")_(") signature to help him gain world domination. > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > -- Lê Thắng Phone: (+84) 1222443855 Email: lethang12...@gmail.com ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers