Hi,
There is some example on how to set strength of all io's on esp32-s3 ?
Do i need any different configuration to set the io's strength of the LCD module ?
NOTE: Related function i find
esp_err_t gpio_set_drive_capability(gpio_num_t gpio_num, gpio_drive_cap_t strength);
esp_err_t gpio_hold_en(gpio_num_t gpio_num);
Thank's.
io's strength config on esp32-s3
Re: io's strength config on esp32-s3
Hi,
The io 17 and 18 i can set to DriveCap: 3 but i can not set to DriveCap: 2, using only function gpio_set_drive_capability(), and the function did not return any errors.
Apparently all other io's set the value correctly.
Why ?
I tried that:
gpio_set_drive_capability( 17, GPIO_DRIVE_CAP_2);
gpio_set_drive_capability( 18, GPIO_DRIVE_CAP_2);
But:
Note:
io's 17 and 18 are outputs.
They are configured as data io db2 and db3 of lcd.
The io 17 and 18 i can set to DriveCap: 3 but i can not set to DriveCap: 2, using only function gpio_set_drive_capability(), and the function did not return any errors.
Apparently all other io's set the value correctly.
Why ?
I tried that:
gpio_set_drive_capability( 17, GPIO_DRIVE_CAP_2);
gpio_set_drive_capability( 18, GPIO_DRIVE_CAP_2);
But:
Code: Select all
================IO DUMP Start================
IO[17] -
Pullup: 0, Pulldown: 0, DriveCap: 1
InputEn: 0, OutputEn: 1, OpenDrain: 0
FuncSel: 1 (GPIO)
GPIO Matrix SigOut ID: 135
SleepSelEn: 1
=================IO DUMP End==================
================IO DUMP Start================
IO[18] -
Pullup: 0, Pulldown: 0, DriveCap: 1
InputEn: 0, OutputEn: 1, OpenDrain: 0
FuncSel: 1 (GPIO)
GPIO Matrix SigOut ID: 136
SleepSelEn: 1
=================IO DUMP End==================
io's 17 and 18 are outputs.
They are configured as data io db2 and db3 of lcd.
Who is online
Users browsing this forum: Baidu [Spider], Gaston1980 and 111 guests