@@ -189,6 +189,7 @@ esp_err_t esp_enable_extern_coex_gpio_pin(external_coex_wire_t wire_type, esp_ex
189189 {
190190 gpio_func_sel (gpio_pin .priority , PIN_FUNC_GPIO );
191191 gpio_set_direction (gpio_pin .priority , GPIO_MODE_INPUT );
192+ gpio_set_pull_mode (gpio_pin .priority , GPIO_PULLDOWN_ONLY );
192193 esp_rom_gpio_connect_in_signal (gpio_pin .priority , EXTERNAL_COEX_SIGNAL_I1_IDX , false);
193194 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .priority ), GPIO_PIN1_SYNC1_BYPASS , 2 );
194195 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .priority ), GPIO_PIN1_SYNC2_BYPASS , 2 );
@@ -206,6 +207,7 @@ esp_err_t esp_enable_extern_coex_gpio_pin(external_coex_wire_t wire_type, esp_ex
206207 {
207208 gpio_func_sel (gpio_pin .request , PIN_FUNC_GPIO );
208209 gpio_set_direction (gpio_pin .request , GPIO_MODE_INPUT );
210+ gpio_set_pull_mode (gpio_pin .request , GPIO_PULLDOWN_ONLY );
209211 esp_rom_gpio_connect_in_signal (gpio_pin .request , EXTERNAL_COEX_SIGNAL_I0_IDX , false);
210212 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .request ), GPIO_PIN1_SYNC1_BYPASS , 2 );
211213 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .request ), GPIO_PIN1_SYNC2_BYPASS , 2 );
@@ -224,6 +226,7 @@ esp_err_t esp_enable_extern_coex_gpio_pin(external_coex_wire_t wire_type, esp_ex
224226 {
225227 gpio_func_sel (gpio_pin .tx_line , PIN_FUNC_GPIO );
226228 gpio_set_direction (gpio_pin .tx_line , GPIO_MODE_INPUT );
229+ gpio_set_pull_mode (gpio_pin .tx_line , GPIO_PULLDOWN_ONLY );
227230 esp_rom_gpio_connect_in_signal (gpio_pin .tx_line , EXTERNAL_COEX_SIGNAL_I1_IDX , false);
228231 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .tx_line ), GPIO_PIN1_SYNC1_BYPASS , 2 );
229232 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .tx_line ), GPIO_PIN1_SYNC2_BYPASS , 2 );
@@ -241,6 +244,7 @@ esp_err_t esp_enable_extern_coex_gpio_pin(external_coex_wire_t wire_type, esp_ex
241244 {
242245 gpio_func_sel (gpio_pin .grant , PIN_FUNC_GPIO );
243246 gpio_set_direction (gpio_pin .grant , GPIO_MODE_INPUT );
247+ gpio_set_pull_mode (gpio_pin .grant , GPIO_PULLUP_ONLY );
244248 esp_rom_gpio_connect_in_signal (gpio_pin .grant , EXTERNAL_COEX_SIGNAL_I0_IDX , false);
245249 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .grant ), GPIO_PIN1_SYNC1_BYPASS , 2 );
246250 REG_SET_FIELD (GPIO_PIN_REG (gpio_pin .grant ), GPIO_PIN1_SYNC2_BYPASS , 2 );
0 commit comments