Search found 15 matches

by sraposo
Thu Jul 25, 2024 11:43 pm
Forum: ESP-IDF
Topic: How to turn on or off the LEDs of an USB keyboard?
Replies: 0
Views: 503

How to turn on or off the LEDs of an USB keyboard?

I am developing an ESP32S3-based device that has to be able to host a standard USB keyboard The "usb_host_lib" example (https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host/usb_host_lib/main) works properly to deliver user's keystrokes to the hid host , but does not show ho...
by sraposo
Sat Feb 25, 2023 1:39 am
Forum: Documentation
Topic: ESP32 instruction set or assembly (ASM) programming docs?
Replies: 17
Views: 58186

Re: ESP32 instruction set or assembly (ASM) programming docs?

Hi.

Indeed, the ideal would be to program directly the ESP32 components, with no intermediation of a RTOS.
by sraposo
Fri Aug 06, 2021 2:31 pm
Forum: ESP-IDF
Topic: routing reference voltage to GPIO pin while WIFI is enabled
Replies: 2
Views: 3589

Re: routing reference voltage to GPIO pin while WIFI is enabled

To whom it may interest, a tip on ADC recalibration: I could not find a way to make function "adc_vref_to_gpio" works but I've got other solution to deal with ADC calibration: to edit "vref" field in "esp_adc_cal_characteristics_t" struct, that's the last parameter in function "esp_adc_cal_character...
by sraposo
Wed Aug 04, 2021 7:11 pm
Forum: ESP-IDF
Topic: routing reference voltage to GPIO pin while WIFI is enabled
Replies: 2
Views: 3589

Re: routing reference voltage to GPIO pin while WIFI is enabled

Hi! I also face a problem related to "adc_vref_to_gpio" function, since it results a error at compile time, although documentation at https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/adc.html?highlight=adc_power_acquire# "adc2_vref_to_gpio" cause no compile tim...
by sraposo
Thu Feb 11, 2021 2:59 pm
Forum: Hardware
Topic: How to create circuit/pcb to eliminate dev board
Replies: 7
Views: 14263

Re: How to create circuit/pcb to eliminate dev board

Hi, Becorey. Your posts were useful to me since I am intending to launch products not based on a development board, although it would be a comfortable choice in some aspects. My no more existing doubt was related to code upload to an ESP32 module (probably a WROOM-32 one), but the programmer circuit...
by sraposo
Sat Jan 23, 2021 8:37 pm
Forum: ESP32 Arduino
Topic: GPIO ISR improperly called - "SOLVED" (worked around)
Replies: 3
Views: 4346

Re: Random timer miscount (TIMER_GROUP_0 TIMER_0)

It's needed to update title from "Random timer miscount" to "GPIO ISR improperly called", since the real cause of the "Random timer miscount" was an error on GPIO interrupt, as explained in my previous post.

Not explained yet why GPIO ISR behaves that way.
by sraposo
Fri Jan 22, 2021 11:51 pm
Forum: ESP32 Arduino
Topic: GPIO ISR improperly called - "SOLVED" (worked around)
Replies: 3
Views: 4346

Re: Random timer miscount (TIMER_GROUP_0 TIMER_0)

ESP_Dazz, thanx for your reply. An average 2..3 us delay is ok and I can cope with this. I need an time as exact as possible between two edges and cannot use an average, since signal frequency is variable. Initially, I intended to fully code in Assembly to get the most effective program I could sinc...
by sraposo
Sat Jan 16, 2021 9:57 am
Forum: Hardware
Topic: Peripheral Timer eventually returning unexpected count
Replies: 2
Views: 3200

Re: Peripheral Timer eventually returning unexpected count

Hi, Becorey. "Are you using an interrupt function triggered by the counter pulse?" sraposo > that´s triggered by positive transition of the signal from external oscillator. "What does ".counter_en = false " do?." sraposo > That means counter will not work till a "timer_start" is called. "It's 1kHz, ...
by sraposo
Fri Jan 15, 2021 11:12 pm
Forum: Hardware
Topic: Peripheral Timer eventually returning unexpected count
Replies: 2
Views: 3200

Peripheral Timer eventually returning unexpected count

ESP-WROOM-32 "ESP32 DEVKITV1" board Hi! I´m about to develop an application that is time-critical and demands a reasonable precision on timer count. It´s a simple code that should register how many timer counts occur between two positive edges on square wave signal. I´m using a pretty stable 1KHz sq...
by sraposo
Fri Jan 15, 2021 7:51 pm
Forum: ESP32 Arduino
Topic: GPIO ISR improperly called - "SOLVED" (worked around)
Replies: 3
Views: 4346

GPIO ISR improperly called - "SOLVED" (worked around)

*********************************************************************************************************************************** In january, 23rd 2021, title was changed from "Random timer miscount" to "GPIO ISR improperly called" Check post dated Jan 22, 2021 8:51 pm ****************************...