Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work
Yes, the threshold field is an 16-bit one.
Re: Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work
@ESP_igrr I tried larger values for the idle threshold but when I have those values I only get channel 0 error interrupt. There must be something else wrong with my code.
Re: Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work
Can't run your code here to test (it doesn't compile without dependencies), but another thing is that you aren't clearing carrier-related fields of rmt_config. So the RMT may be expecting to see a carrier wave.
Re: Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work
Was this fixed? Think I might be having the same issue here: viewtopic.php?f=13&t=5122
When I increase the idle_threshold to 12000 or beyond (including 65535), I get an error. I am trying to understand the error code. I get similar error codes by putting in frequencies that should work too.
When I increase the idle_threshold to 12000 or beyond (including 65535), I get an error. I am trying to understand the error code. I get similar error codes by putting in frequencies that should work too.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 60 guests