Search found 5 matches

by Buldakov
Tue Jan 21, 2025 3:27 pm
Forum: ESP32 Arduino
Topic: Can I attach multiple alarms to one Timer?
Replies: 5
Views: 4010

Re: Can I attach multiple alarms to one Timer?

Hi. Here is the program code for operating a timer based on the frequency of a quartz oscillator. How can I change this code if it is necessary to work not with the reference frequency of the quartz oscillator, but with the external frequency supplied to the ESP32 input? For example, I set up a time...
by Buldakov
Fri Jan 17, 2025 7:34 pm
Forum: ESP32 Arduino
Topic: ESP32 counter divider 10
Replies: 0
Views: 1139

ESP32 counter divider 10

I need to divide the input frequency by 10. I don't want to use multiple SN74LS93 enclosures. I set the input frequency to pin 0. The measured frequency is 50 MHz. To increase the input frequency measurement, I need to make a divider by 10. The output frequency to pin 1 - output frequency = (50/10) ...
by Buldakov
Thu Oct 03, 2024 12:18 pm
Forum: ESP32 Arduino
Topic: Different time of the interruption call
Replies: 5
Views: 2136

Re: Different time of the interruption call

And if you use not pin 27 to call an interrupt, but another pin that has a higher priority?
Which pin input can have a higher priority?
by Buldakov
Thu Oct 03, 2024 8:29 am
Forum: ESP32 Arduino
Topic: Different time of the interruption call
Replies: 5
Views: 2136

Re: Different time of the interruption call

I didn't understand what I needed to do "Suggest you use a peripheral (RMT or MCPWM, for example) if you need to measure the time precisely"? There is an assumption that the interrupt on pin 27 has a low interrupt priority. And if another interrupt has a higher priority, then the interrupt with a hi...
by Buldakov
Thu Oct 03, 2024 4:01 am
Forum: ESP32 Arduino
Topic: Different time of the interruption call
Replies: 5
Views: 2136

Different time of the interruption call

Hi. I am sending a stable signal with a frequency of 10000 Hz from a quartz oscillator. The variable M must be stable and in the range from M=240013970 - 240013971.But the variable M varies over a larger range. I think other interrupts may have a higher priority and calling my interrupt is waiting f...