Search found 4 matches
- Tue Oct 15, 2024 5:17 pm
- Forum: General Discussion
- Topic: Esp32
- Replies: 0
- Views: 715
Esp32
Why I can't set bit LEDC_SIG_OUT_EN_HSCHn in register LEDC_HSCHn_CONF0_REG?
- Wed Oct 09, 2024 2:48 pm
- Forum: General Discussion
- Topic: Esp32 LEDC ESP-WROOM-32
- Replies: 0
- Views: 238
Esp32 LEDC ESP-WROOM-32
Hi. I want to write value in register LEDC_HSCHn_DUTY_REG but it impossible. For example: #define LEDC_HSCH0_DUTY_REG 0x3FF59008 volatile uint32_t* ledc_hsch18_duty_reg = (volatile uint32_t*) LEDC_HSCH0_DUTY_REG; *ledc_hsch18_duty_reg = (500 << 4); But in this register after writing, again zero. Onl...
- Tue Oct 08, 2024 5:07 pm
- Forum: Hardware
- Topic: ESP-WROOM-32 LEDC_GPIO18 ESP32-D0WDQ6
- Replies: 0
- Views: 379
ESP-WROOM-32 LEDC_GPIO18 ESP32-D0WDQ6
What's wrong in my cod? #include <stdio.h> #include <stdint.h> #define LEDC_HSTIMER0_CONF_REG 0x3FF59140 #define LEDC_HSCH0_HPOINT_REG 0x3FF59004 #define LEDC_HSCH0_DUTY_REG 0x3FF59008 #define LEDC_HSCH0_CONF0_REG 0x3FF59000 #define GPIO_FUNC18_OUT_SEL_CFG_REG 0x3FF44578 #define GPIO_ENABLE_REG 0x3F...
- Tue Oct 08, 2024 5:21 am
- Forum: General Discussion
- Topic: Peripheral Output via GPIO Matrix
- Replies: 1
- Views: 461
Peripheral Output via GPIO Matrix
Hi. I first time in here. Please help me to understand Peripheral Output via GPIO Matrix. My board EPS-WROOM32. Chip ESP32-D0WDQ6 • Set the GPIO_FUNCx_OEN_SEL bits and GPIO_ENABLE_DATA[x] to enable output mode, or clear GPIO_FUNCx_OEN_SEL to zero so that the output enable signal will be decided by t...