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

Update ESP32 RMT driver and managed code to latest API version #1540

Open
AdrianSoundy opened this issue Sep 19, 2024 · 1 comment
Open

Update ESP32 RMT driver and managed code to latest API version #1540

AdrianSoundy opened this issue Sep 19, 2024 · 1 comment

Comments

@AdrianSoundy
Copy link
Member

AdrianSoundy commented Sep 19, 2024

Description

Currently the RMT code uses the legacy RMT API which is deprecated. This should be updated to the latest APi and include the new features.

  • Stop warning error on ESP32 boot for RMT (legacy)
  • Add the sync manager feature to synchronize the starting of multiple channels.
  • Expose symbol encoder which can be used to speed up C# code or encoder can be called as part of rmt transmit.
  • Update managed API to simplify the setting of RMT frequency (no need to know target RMT clock source/rate)
  • Other manager API changes if required but try to keep backwards compatibility.

How to solve the problem

Update native and managed RMT code to use latest API.

Describe alternatives you've considered

No response

Aditional context

No response

@AdrianSoundy
Copy link
Member Author

The new API has a number of underlying concept differences that will make C# code not backward compatible.

  • The concept of channels has been removed and you now just create a new channel against gpio and it will internally give next available channel.

WIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant