UART even parity error on nRF52832

Hey guys,

I just came up with an error I can't explain with my current zephyr knowledge and I really can't workaround because the other MCU isn't programmable and needs its requirements.

I tried to get a UART Transmission with even parity working on a nRF52832, but even if the config I write in the overlay file also is built into the zephyr.dts from the build folder, it doesn't seem to transfer the UART messages with an even parity afterwards (I'm using Async API as recommended in the DevAcademy chapter for UART communication).

The baudrate is easily changeable and is also changed on electrical level, but the parity doesn't seem to care of my configuration.

You can have a look at the following screenshot, where only with "Parity: None" the "Testbuffer!" print is readable.

Thank you in advance!

Best regards

Linus

Parents
  • Hi , hi ,

    I have been on vacation the last week, but I still really appreciate your fast answers!

    : 1. Yes, the "Testbuffer" prints in the screenshot are first with terminal option even parity, second with terminal option non parity.

    2. I will have access to a logic analyzer the next days and try.

    : Great thanks for such a detailed answer!

    And thank you for telling and describing all the way to the solution, so that I can learn the same things as you on your way - that is a lot of extra documentational answer-work and I appreciate it!

    I'm not sure anymore if I used the USB-CDC or a Serial Adapter in my question, but I will try it as soon as I get the logic analyzer and tell you about it!

    Have a nice day and best regards,

    Linus

Reply
  • Hi , hi ,

    I have been on vacation the last week, but I still really appreciate your fast answers!

    : 1. Yes, the "Testbuffer" prints in the screenshot are first with terminal option even parity, second with terminal option non parity.

    2. I will have access to a logic analyzer the next days and try.

    : Great thanks for such a detailed answer!

    And thank you for telling and describing all the way to the solution, so that I can learn the same things as you on your way - that is a lot of extra documentational answer-work and I appreciate it!

    I'm not sure anymore if I used the USB-CDC or a Serial Adapter in my question, but I will try it as soon as I get the logic analyzer and tell you about it!

    Have a nice day and best regards,

    Linus

Children
No Data
Related