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 <[email protected]>:

> On Wed, 14 Mar 2018, Rene Hopf wrote:
>
> Date: Wed, 14 Mar 2018 22:53:59 +0100
>> From: Rene Hopf <[email protected]>
>> Reply-To: EMC developers <[email protected]>
>> To: EMC developers <[email protected]>
>> Subject: Re: [Emc-developers] writing new firmware to read yaskawa
>> absolute
>>     encoder
>>
>>
>> On 14. Mar 2018, at 17:54, Peter C. Wallace <[email protected]> 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
>> [email protected]
>> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>



-- 
Lê Thắng
Phone: (+84) 1222443855
Email: [email protected]
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to