Search found 10 matches

by holopaul
Wed Sep 05, 2018 7:15 pm
Forum: General Discussion
Topic: GPIO Interrupt Latency - once more
Replies: 5
Views: 9712

Re: GPIO Interrupt Latency - once more

[quote="mTron47"]Hi holopaul I could indeed resolve my problem using mcpwm. However my issue to resolve was on the output side. If I understand you correctly you are using the (hall-sensor) input of mcpwm and are seeing "funny things". I do not have any experience on that side - sorry.[/quote no, i'...
by holopaul
Wed Sep 05, 2018 1:57 am
Forum: General Discussion
Topic: ESP32 MCPWM Input Capture Problem
Replies: 7
Views: 11858

Re: ESP32 MCPWM Input Capture Problem

Hi,

I think i'm getting the same results as you did. Have you find a solutions for this?
by holopaul
Wed Sep 05, 2018 1:56 am
Forum: General Discussion
Topic: GPIO Interrupt Latency - once more
Replies: 5
Views: 9712

Re: GPIO Interrupt Latency - once more

Hi there!
Did you get any results capturing the input with mcpwm? I'm trying to capture a signal that is 60uS and had all kind of crazy/random results from this peripheral.
by holopaul
Tue Jul 03, 2018 5:37 pm
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Re: Very accurate timer implementation

@deouss, i need to capture a signal, not generate it. the problem is that the my signal is too long for the 15 bit timer resolution.
by holopaul
Tue Jul 03, 2018 2:05 am
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Re: Very accurate timer implementation

Okay, i didn't know about this one, thanks. I'll give it a try. But isn't this based on regular intrerupts? The good thing is that the timer is 80Mhz. Have you tried it for capturing signals?
by holopaul
Mon Jul 02, 2018 11:41 pm
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Re: Very accurate timer implementation

@WiFive, I'm afraid I don't quite follow you. Please explain. Also RMT is in RX mode. I cannot modify the signal. thanks
by holopaul
Mon Jul 02, 2018 7:08 pm
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Re: Very accurate timer implementation

Hello, I did some reading about RMT and it looked too good to be true. And if i'm not mistaking, it is exactly that way. The main problem is the 16 (or 15) bit resolution. My signal train is exactly 8.3 ms(120 Hz) long. I really need the 12.5 ns (80MHz) granularity because the timebase of my signal ...
by holopaul
Mon Jun 25, 2018 3:31 pm
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Re: Very accurate timer implementation

Gentlemen thank you for your time. This approach looks very promising and seems like i have some reading and testing to do.
by holopaul
Mon Jun 25, 2018 1:45 am
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Re: Very accurate timer implementation

Hi kolban, Thanks you for answering my question. I will go with your call and get back with the results. I had some trouble with timer intrerupts given minimum prescaler value of 2 (80/2). Do you think using the I2s infrastructure DMA capable to read this signal would be another viable alternative? ...
by holopaul
Sat Jun 23, 2018 3:15 am
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 14782

Very accurate timer implementation

Hi, I'm trying to detect some fast events. I have two signals from two sensors. The signal looks like this :HIGH 60-130 microseconds (us), LOW 0-2700 microseconds (us), HIGH 0-20 microseconds (us). I need to measure the length of each event as accurate as possible. What is the best approach? Thank y...