Search found 4 matches

by bmakovecki
Sun Nov 18, 2018 3:32 pm
Forum: General Discussion
Topic: Interrupt low Latency - again
Replies: 4
Views: 4959

Re: Interrupt low Latency - again

This is what I see on osciloscope:
latency.png
latency.png (11.48 KiB) Viewed 4870 times
by bmakovecki
Fri Nov 16, 2018 8:59 pm
Forum: General Discussion
Topic: Interrupt low Latency - again
Replies: 4
Views: 4959

Re: Interrupt low Latency - again

Thanks for pointing me to fixed-point number. I think i can reduce interrupt execution time with your solution.
How about latency?
Can I make interrupt to trigger more precisely (cca 1us delay would be fantastic)?
Regards, Boris
by bmakovecki
Thu Nov 15, 2018 7:27 pm
Forum: General Discussion
Topic: Interrupt low Latency - again
Replies: 4
Views: 4959

Interrupt low Latency - again

How can I minimize latency and execution time for interrupt ? I register interrupt as: mcpwm_isr_register(MCPWM_UNIT_0, isr_handler, NULL, ESP_INTR_FLAG_IRAM, NULL); in interrupt I have simple float operation as : void IRAM_ATTR isr_handler(void *ctrl) { uint32_t mcpwm_intr_status = MCPWM[MCPWM_UNIT...
by bmakovecki
Fri Nov 03, 2017 10:00 pm
Forum: ESP32 Arduino
Topic: VFD using MCPWM
Replies: 1
Views: 5272

VFD using MCPWM

I'm planing to make 3-phase variable frequency drive with esp32. I would like to generate 3 high-side hardware PWM and inverted 3 low-side hardware PWM with inserted dead time to charge bootstrap capacitor. I've been playing with MCPWM library on arduino IDE. My questions are: 1. How can I produce i...