You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
This is a minor issue. No need to rush.
branch: master, release/v5.2, release/v5.1, release/v5.0
file: components/hal/esp32/include/hal/i2s_ll.h
function: i2s_ll_enable_builtin_dac
link:
Description
The parameter enable is described as Set true to enable build in DAC
The reg field tx_right_first is being set by the parameter enable. According to the TRM: Set this bit to transmit right-channel data first.
This reg field is already controlled by function i2s_ll_tx_enable_right_first
Conclusion: I suggested changing the line hw->conf.tx_right_first = enable; to hw->conf.tx_right_first = 0;
The text was updated successfully, but these errors were encountered:
PilnyTomas
changed the title
i2s_ll_enable_builtin_dac setting tx_right_first with enable aprameter
i2s_ll_enable_builtin_dac setting tx_right_first with enable parameter
Dec 6, 2023
github-actionsbot
changed the title
i2s_ll_enable_builtin_dac setting tx_right_first with enable parameter
i2s_ll_enable_builtin_dac setting tx_right_first with enable parameter (IDFGH-11625)
Dec 6, 2023
tx_right_first is set by i2s_ll_tx_enable_right_first in dac_dma.c, as well as tx_msb_shift and tx_short_sync, so these redundant configuration in i2s_ll_enable_builtin_dac will be removed.
Answers checklist.
General issue report
This is a minor issue. No need to rush.
branch: master, release/v5.2, release/v5.1, release/v5.0
file: components/hal/esp32/include/hal/i2s_ll.h
function: i2s_ll_enable_builtin_dac
link:
esp-idf/components/hal/esp32/include/hal/i2s_ll.h
Line 1161 in 30870c8
Description
The parameter
enable
is described asSet true to enable build in DAC
The reg field
tx_right_first
is being set by the parameterenable
. According to the TRM:Set this bit to transmit right-channel data first.
This reg field is already controlled by function
i2s_ll_tx_enable_right_first
Conclusion: I suggested changing the line
hw->conf.tx_right_first = enable;
tohw->conf.tx_right_first = 0;
The text was updated successfully, but these errors were encountered: