Home icon indicating copy to clipboard operation
Home copied to clipboard

Add library for I2S

Open Hasaken opened this issue 5 years ago • 14 comments

nanoFramework area: ( new class lib )

Description

I couldn't find I2S protocol support in nanoFramework. Do you plan to add it in close future?

Hasaken avatar Feb 20 '20 11:02 Hasaken

That is certenaly possible. There is currently no date for this.

Questions:

  • What platform are you using?
  • Would you ne willing to help?

josesimoes avatar Feb 20 '20 12:02 josesimoes

Thanks for the quick response.

I use ESP32. I can help by testing.

Hasaken avatar Feb 20 '20 12:02 Hasaken

Hasn't picked up much interest from the community. Adding to TODO list. Closing issue.

josesimoes avatar Jul 02 '20 12:07 josesimoes

High level task list to make this real:

  • [x] Add I2S GPIO assignment to nanoFramework.Hardware.Esp32.
  • [x] Update native part to support the above changes: targets\FreeRTOS_ESP32\ESP32_WROOM_32\common\Esp32_DeviceMapping.cpp targets\FreeRTOS_ESP32\ESP32_WROOM_32\Include\Esp32_DeviceMapping.h
  • [ ] Add new class library for I2S Agree on name, create new repo, agree on API
  • [ ] Add native part for this new class library CMake, build options, update templates, add common library, add platform implementation

josesimoes avatar Sep 23 '21 08:09 josesimoes

See https://github.com/nanoframework/nf-interpreter/pull/2073

See https://github.com/nanoframework/nanoFramework.Hardware.Esp32/pull/145

Ellerbach avatar Sep 25 '21 09:09 Ellerbach

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 02 '22 11:03 stale[bot]

Still valid

Ellerbach avatar Mar 03 '22 07:03 Ellerbach

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 02 '22 15:05 stale[bot]

Still on!

Ellerbach avatar May 02 '22 19:05 Ellerbach

Still valid!

Schmendric avatar Jun 27 '22 20:06 Schmendric

@Ellerbach @Schmendric Is this still being worked on ? Otherwise i can look at completing it.

AdrianSoundy avatar Aug 20 '22 05:08 AdrianSoundy

Otherwise i can look at completing it.

Feel free to move this forward. There is a branch on nf-interpreter where the initial native work is there. Need to be updated with the new build system.

The manage code exist as well.

All should almost work properly. So should be quite straight forward! Ping me directly if you need help!

Ellerbach avatar Aug 22 '22 08:08 Ellerbach

Otherwise i can look at completing it.

Feel free to move this forward. There is a branch on nf-interpreter where the initial native work is there. Need to be updated with the new build system.

The manage code exist as well.

All should almost work properly. So should be quite straight forward! Ping me directly if you need help!

Yes i saw how much was done. I'll take it on and see if i can at least finish initial version.

AdrianSoundy avatar Aug 23 '22 05:08 AdrianSoundy

Yes i saw how much was done. I'll take it on and see if i can at least finish initial version.

I almost did everything, just missing a test. I was blocked before the last major IDF migration because there was no prebuild lib. And since then, no time to take it over. But manage code, even the sample to test, everything should be there. Take extra care of the modified files (like the hardware ESP32 ones, I remember I did few changes there as well on top of the I2S files per se). And please do not hesitate to reach out!

Ellerbach avatar Aug 23 '22 06:08 Ellerbach