esp-idf/examples/peripherals
Tuan PM fc1ee2666a I2S: fixed support for 24 and 32-bits, fixed tx/rx at the same time and others in log:
Add support 24, 32 bits

@jxmao optimize i2s_zero_buffer

@jxmao correct config support slave mode

@jxmao correct setup pin support tx/rx at the same time

Enhance pin power

@jxmao add dynamic change number of channels

remove nvs_init

remove start log and enhance power pin setup

using enum for i2s_channel and i2s_bits_per_sample, return ESP_ERR_INVALID_ARG when check params

validate i2s_bits_per_sample and channel

check tx & rx buffer before fill zero

remove checking channel as @jxmao suggest

limit dma buffer

modify i2s pin back to gpio mux before configure gpio matrix, resolve github issue #512

Add support 24, 32 bits

reduce push function

Modify sample can test with 24, 32-bits

Add i2s sample README

Fixed i2s_set_clk got reset sometime

can changes bit-wide while running

Fix sample rate calculation for DAC mode from @jeroen

modify example can change bits per sample every 5 seconds

cleanup

add comment for bytes_per_sample

update as @angus suggestions

Add i2s_set_clk api

I2S driver bug fixed as following log:

@jxmao optimize i2s_zero_buffer

@jxmao correct config support slave mode

@jxmao correct setup pin support tx/rx at the same time

Enhance pin power

@jxmao add dynamic change number of channels

remove nvs_init

remove start log and enhance power pin setup

using enum for i2s_channel and i2s_bits_per_sample, return ESP_ERR_INVALID_ARG when check params

validate i2s_bits_per_sample and channel

check tx & rx buffer before fill zero

remove checking channel as @jxmao suggest

limit dma buffer

modify i2s pin back to gpio mux before configure gpio matrix, resolve github issue #512

limit dma buffer to 4092

change gpio_matrix_*_check to inline function, remove some comments and rename test_i2s function to setup_triangle_sine_waves

for change commit title
2017-04-27 10:00:10 +07:00
..
adc add adc1 example 2017-03-20 14:46:41 +08:00
gpio examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
i2c examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
i2s I2S: fixed support for 24 and 32-bits, fixed tx/rx at the same time and others in log: 2017-04-27 10:00:10 +07:00
ledc examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
pcnt examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
rmt_nec_tx_rx examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
sigmadelta examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
spi_master examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
timer_group examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
touch_pad_interrupt examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
touch_pad_read examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
uart_echo examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
uart_events examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
README.md Added README.md to example category folders 2017-01-18 21:03:15 +01:00

Peripherals Examples

This section provides examples how to configure and use ESP32s internal peripherals like GPIO, UART, I2C, SPI, timers, counters, ADC / DAC, PWM, etc.

See the README.md file in the upper level examples directory for more information about examples.