Input capture: How to determine APB clock frequency from the docs?
Posted: Tue Feb 09, 2021 1:35 pm
I use the input capture module. I want to find out how much time passed since the last edge. will return the 32 bit counter value as noted in
https://docs.espressif.com/projects/esp ... l#capture
To convert it into a time one needs to know what the APB clock is becausemight tell this with more certainty.
Now I don't know what my APB clock is without calling.
How can I find out what my APB clock is by just finding information in the docs?
I don't use power management and therefore no frequency scaling.
Code: Select all
mcpwm_capture_signal_get_value
https://docs.espressif.com/projects/esp ... l#capture
To convert it into a time one needs to know what the APB clock is because
It typically should be 80 MHz. That is what the docs state.The timer runs continuously driven by the APB clock.
Code: Select all
rtc_clk_apb_freq_get
Now I don't know what my APB clock is without calling
Code: Select all
rtc_clk_apb_freq_get
How can I find out what my APB clock is by just finding information in the docs?
I don't use power management and therefore no frequency scaling.