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

implement a parallel interface for esp32 using the i2s peripheral #2348

Merged
merged 29 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
edf3953
i2s_parallel for esp32 - partially working
liebman Oct 13, 2024
28ee2a9
i2s_parallel for esp32 - works sync 16bit (still WIP)
liebman Oct 13, 2024
a949457
i2s_parallel - add 8-bit
liebman Oct 13, 2024
2fa02ea
i2s_parallel - naive async implementation
liebman Oct 13, 2024
f6a64b1
i2s_parallel - clippy
liebman Oct 13, 2024
e798f23
add examples (mainly for testing now and we can reduce these before m…
liebman Oct 14, 2024
6c1eb78
set tx_wrx2 in 8 bit mode or it updates on half clocks!
liebman Oct 14, 2024
9b00a99
adjust clock config (still really a hack)
liebman Oct 14, 2024
d1a8717
better clock calculation/configuration
liebman Oct 15, 2024
b41364b
no need to reset dma or interrupts in start, the DMA DmaTxBuf handles…
liebman Oct 16, 2024
2f031e4
seems to need a short delay during tx_reset
liebman Oct 17, 2024
f1a16e8
use 20 clocks instead of 1us
liebman Oct 17, 2024
1c426d4
1us delay between dma start and tx_start (like idf)
liebman Oct 18, 2024
8e59007
changelog & documentation
liebman Oct 19, 2024
b97dcaa
remove debugging functions
liebman Oct 19, 2024
f1303d2
no need for option in example
liebman Oct 20, 2024
4f3b173
make async example actually use async & remove Option
liebman Oct 20, 2024
68c4fa3
implement Drop for I2sParallelTransfer
liebman Oct 21, 2024
4da890f
fix signal offset comment for I2S0
liebman Oct 21, 2024
1129fe3
small cleanup in i2s_parallel examples
liebman Oct 21, 2024
b245482
added a note re I2S0 not supporting true 8bit
liebman Oct 21, 2024
273d03a
update doc & fmt
liebman Oct 24, 2024
2bdcccc
instace functions take &self
liebman Oct 24, 2024
7b850ab
fmt
liebman Oct 24, 2024
f68871b
if run at 240MHz (CPU) delay needs to be bigger
liebman Oct 25, 2024
cf3496f
wait for fifo on start and fixes for 240MHz
liebman Oct 26, 2024
ce8006d
update for esp-hal-changes
liebman Oct 27, 2024
ece2507
fmt
liebman Oct 27, 2024
4d88138
Merge branch 'main' into i2s-i8080
bugadani Oct 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Spi::half_duplex_read` and `Spi::half_duplex_write` (#2373)
- `Cpu::COUNT` and `Cpu::current()` (#2411)
- `UartInterrupt` and related functions (#2406)
- I2S Parallel output driver for esp32. (#2348)
- Add an option to configure `WDT` action (#2330)

### Changed
Expand Down
Loading