hey, dizcza, could you share the whole file, I am interested int the GPS-related function. The MCPWM example in IDF gives a capture project using hc_sr04. I have the hc_sr04 module and it works well with 80MHz clock, but without GPS module.
In addition, Spirit has another suggestion by using I2C and SPI, which I am more familiar with than PWM. I would like to try them also. And how do you think about it.Thanks!
Direct access to timer count in the new gptimer.h lib
Re: Direct access to timer count in the new gptimer.h lib
Unfortunately, my clients refuse to open-source my project. The example of using MCPWM coupled with GPS I showed above is correct and I have been using it ever since. I heard others have tried an RMT module to capture the signal width though I find PWM convenient.
I have no idea how I2C and SPI would help... how? Neither do I think that it'd be better than a PWM.
Re: Direct access to timer count in the new gptimer.h lib
Not at all, I have found another GPS module of mine has a independent output with PPS, so everything is easy. Thanks.
I can't find gptimer.h in IDE framework
I like to use gptimer utilities but can't seem find a gptimer.h file in the hierarchy of Espressif folders. Am I missing something?
Thanks.
Thanks.
Re: I can't find gptimer.h in IDE framework
It's "driver/gptimer.h". See the official gptimer example at https://github.com/espressif/esp-idf/bl ... ple_main.c
Who is online
Users browsing this forum: iancoullie, snutw_ and 93 guests