Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major UART communication improvement #151

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

EFeru
Copy link

@EFeru EFeru commented Jun 22, 2020

  • the UART communication is improved based on UART Idle line detection interrupt
  • an Rx ring buffer is used to manage the UART incoming data
  • both Tx and Rx are efficiently handled using DMA
  • added posibility for User commnds via UART in DEBUG mode
  • added platformio.ini so firmware can be built using Platformio too

- the UART communication is improved based on UART Idle line detection interrupt
- an Rx ring buffer is used to manage the UART incoming data
- both Tx and Rx are efficiently handled using DMA
- added posibility for User commnds via UART in DEBUG mode
- In case of an Rx error instead of stopping the complete UART, only the Rx DMA is aborted and restarted.
- disabled the Rx errors to avoid DMA stop and additional need to manage the UART error handler
- to completely disable UART init functions in case is not used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant