Search found 6 matches

by mkeyno
Mon Apr 11, 2022 7:37 am
Forum: General Discussion
Topic: Unable to use gpio 16 and 17
Replies: 2
Views: 4436

Re: Unable to use gpio 16 and 17

I use wroom and both pins are free, however, when I use simple lrdc or
timer library, they work fine, but if use an extra timer they are not
working
Does anybody know which peripheral or API affects this pin functionality?
by mkeyno
Thu Apr 07, 2022 4:56 pm
Forum: ESP32 Arduino
Topic: digitalWrite not working
Replies: 2
Views: 2519

Re: digitalWrite not working

I only use dev board , but I think pins 16&17 dedicated for PSRAM and I mess up with them
by mkeyno
Thu Apr 07, 2022 6:41 am
Forum: ESP32 Arduino
Topic: digitalWrite not working
Replies: 2
Views: 2519

digitalWrite not working

I'm doing some pulse generator with a simple timer to drive the stepper driver (DRV8225), In the timer interrupt callback, the designated pin is toggled, but when I run the code the pin state has not changed, I put the LED pin, inside the interrupts and its work fine while the driver pin dose not ch...
by mkeyno
Fri Mar 25, 2022 10:53 pm
Forum: ESP32 Arduino
Topic: Attache the Arduino ISR function to the class member
Replies: 0
Views: 1307

Attache the Arduino ISR function to the class member

I was intend to use timer interrupt for limited instances of a class in my ESP32 Arduino project, my first code conception was as follows typedef void (*irqCallback) (void); irqCallback timerCBArray[] ={ timerCB0 }; void ARDUINO_ISR_ATTR timerCB0(){ portENTER_CRITICAL_ISR(&lock0); //manipulate class...
by mkeyno
Thu Mar 24, 2022 8:22 pm
Forum: ESP32 Arduino
Topic: boot:0x2 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_FEO_V2)) waiting for download
Replies: 1
Views: 1531

boot:0x2 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_FEO_V2)) waiting for download

I use an esp32 wroom module for my project, however when connecting my board to power or when I upload my firmware it needs to be manually reset to start the program, the message on power-on is rst:0x1 (POWERON_RESET),boot:0x2 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_FEO_V2)) waiting for download my stra...
by mkeyno
Thu Jan 27, 2022 1:36 am
Forum: ESP32 Arduino
Topic: huge variations using two concurrent ISR in ESP32
Replies: 0
Views: 1895

huge variations using two concurrent ISR in ESP32

I've tried to use a pair of proximity sensors for measuring two identical motor speed I used the esp32, with double ISR and counting the duration between puless however, the plot shows when motor speeds are low the calculation nearly each other and converge but when motor speed increases the calcula...