mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
This commit is contained in:
@@ -118,11 +118,11 @@ Standard Mode
|
||||
|
||||
Standard mode always has left and right two sound channels which are called 'slots'. These slots can support 8/16/24/32 bits width sample data. And the communication format for the slots mainly includes these following formats:
|
||||
|
||||
- **Philip Format**: Data signal have one bit shift comparing to the WS(word select) signal. And the duty of WS signal is 50%.
|
||||
- **Philips Format**: Data signal have one bit shift comparing to the WS(word select) signal. And the duty of WS signal is 50%.
|
||||
|
||||
.. wavedrom:: /../_static/diagrams/i2s/std_philip.json
|
||||
.. wavedrom:: /../_static/diagrams/i2s/std_philips.json
|
||||
|
||||
- **MSB Format**: Almost same as philip format, but its data have no shift.
|
||||
- **MSB Format**: Almost same as philips format, but its data have no shift.
|
||||
|
||||
.. wavedrom:: /../_static/diagrams/i2s/std_msb.json
|
||||
|
||||
@@ -162,11 +162,11 @@ Standard mode always has left and right two sound channels which are called 'slo
|
||||
|
||||
TDM(Time Division Multiplexing) mode supports upto 16 slots, these slots can be enabled by :cpp:member:`i2s_tdm_slot_config_t::slot_mask`. But due to the hardware limitation, only upto 4 slots are supported while the slot is set to 32 bit-width, and 8 slots for 16 bit-width, 16 slots for 8 bit-width. The slot communication format of TDM is almost same as standard mode, but there are some small differences between them.
|
||||
|
||||
- **Philip Format**: Data signal have one bit shift comparing to the WS(word select) signal. And no matter how many slots are contained in one frame, the duty of WS signal will always keep 50%.
|
||||
- **Philips Format**: Data signal have one bit shift comparing to the WS(word select) signal. And no matter how many slots are contained in one frame, the duty of WS signal will always keep 50%.
|
||||
|
||||
.. wavedrom:: /../_static/diagrams/i2s/tdm_philip.json
|
||||
.. wavedrom:: /../_static/diagrams/i2s/tdm_philips.json
|
||||
|
||||
- **MSB Format**: Almost same as philip format, but its data have no shift.
|
||||
- **MSB Format**: Almost same as philips format, but its data have no shift.
|
||||
|
||||
.. wavedrom:: /../_static/diagrams/i2s/tdm_msb.json
|
||||
|
||||
@@ -274,7 +274,7 @@ Standard TX/RX Usage
|
||||
|
||||
Different slot communication formats can be generated by following helper macros for standard mode. As described above, there are three formats in standard mode, their helper macros are:
|
||||
|
||||
- :c:macro:`I2S_STD_PHILIP_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_STD_PCM_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_STD_MSB_SLOT_DEFAULT_CONFIG`
|
||||
|
||||
@@ -714,7 +714,7 @@ Here is the table of the data that received in the buffer with different :cpp:me
|
||||
|
||||
Different slot communication formats can be generated by following helper macros for TDM mode. As described above, there are four formats in TDM mode, their helper macros are:
|
||||
|
||||
- :c:macro:`I2S_TDM_PHILIP_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_TDM_PHILIPS_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_TDM_MSB_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_TDM_PCM_SHORT_SLOT_DEFAULT_CONFIG`
|
||||
- :c:macro:`I2S_TDM_PCM_LONG_SLOT_DEFAULT_CONFIG`
|
||||
@@ -824,7 +824,7 @@ Here is an example of how to allocate a pair of full-duplex channels:
|
||||
/* Set the configurations for BOTH TWO channels, since tx and rx channel have to be same in full-duplex mode */
|
||||
i2s_std_config_t std_cfg = {
|
||||
.clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(32000),
|
||||
.slot_cfg = I2S_STD_PHILIP_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO),
|
||||
.slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO),
|
||||
.gpio_cfg = {
|
||||
.mclk = I2S_GPIO_UNUSED,
|
||||
.bclk = GPIO_NUM_4,
|
||||
@@ -865,7 +865,7 @@ Here is an example of how to allocate a pair of full-duplex channels:
|
||||
i2s_new_channel(&chan_cfg, &tx_handle, NULL);
|
||||
i2s_std_config_t std_tx_cfg = {
|
||||
.clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(48000),
|
||||
.slot_cfg = I2S_STD_PHILIP_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO),
|
||||
.slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO),
|
||||
.gpio_cfg = {
|
||||
.mclk = GPIO_NUM_0,
|
||||
.bclk = GPIO_NUM_4,
|
||||
@@ -925,7 +925,7 @@ Here is an example of how to allocate a pair of full-duplex channels:
|
||||
i2s_new_channel(&chan_cfg, &tx_handle, NULL);
|
||||
i2s_std_config_t std_tx_cfg = {
|
||||
.clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(48000),
|
||||
.slot_cfg = I2S_STD_PHILIP_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO),
|
||||
.slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO),
|
||||
.gpio_cfg = {
|
||||
.mclk = GPIO_NUM_0,
|
||||
.bclk = GPIO_NUM_4,
|
||||
|
Reference in New Issue
Block a user