Search found 18 matches

by CollinK
Wed Dec 11, 2019 1:36 am
Forum: ESP32 Arduino
Topic: ESP32CAN missing messages.
Replies: 8
Views: 1329

Re: ESP32CAN missing messages.

The answer to that last question is, of course, no. You can't set the serial port speed to 500000 bits per second and hope to output all the CAN frames coming in on a 500k CAN bus. The reason is fairly straight forward. The CAN bus is sending data binary encoded. It's as compact as it can be, all th...
by CollinK
Thu Dec 05, 2019 12:23 am
Forum: ESP32 Arduino
Topic: RMT Implmentation - HELP!!!
Replies: 2
Views: 726

Re: RMT Implmentation - HELP!!!

I assume this line checks for a valid transmission: #define XJT_VALID(i) (i->level0 && !i->level1 && i->duration0 >= 8 && i->duration0 <= 11) What does the 8 and 11 refer to ? What is level 0 and level 1. Yeah, the documentation can be a bit sparse at times. Did you look at the ESP32 Technical Manu...
by CollinK
Tue Nov 26, 2019 2:51 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 373
Views: 161148

Re: What would you like to see in The Next Chip?

Like everyone else, better documentation would be a plus. What's wrong with it? Well, it seems like the sort of documentation that was written after the fact and just *barely* describing what things are. Very often functionality is essentially glossed over. What I mean is, descriptions are VERY ters...
by CollinK
Mon Nov 25, 2019 1:11 am
Forum: Hardware
Topic: What happens when RMT receive overflows?
Replies: 3
Views: 981

Re: What happens when RMT receive overflows?

Yeah, you can allocate more buffers. But, the problem with that is that it still isn't always good enough. Let's say I need to receive 1000 bits. This will generate 2000 events and exceed even the full 8 buffers (1024 records total). I tried looking for any info on RMT with the ESP32 S2 and as far a...
by CollinK
Sat Nov 23, 2019 1:00 am
Forum: Hardware
Topic: What happens when RMT receive overflows?
Replies: 3
Views: 981

Re: What happens when RMT receive overflows?

In your example what happens is that the first 128 transitions are saved then NOTHING HAPPENS until the signal line goes idle. At that point the interrupt happens and the first 128 transitions are available to you. What happens to the rest? They're silently thrown away with no indication at all! Isn...
by CollinK
Sat Nov 23, 2019 12:54 am
Forum: Hardware
Topic: RMT Idle and the ring buffer
Replies: 5
Views: 1400

Re: RMT Idle and the ring buffer

I'm in the same boat as you. I'm trying to do some protocol decoding too. In my case there could be near a thousand bits in a single stream. To make it worse, I have two inputs as well. Of course, each bit is two RMT events - one positive signal event and one signal low event. You're right, it doesn...
by CollinK
Wed Aug 01, 2018 1:10 am
Forum: General Discussion
Topic: Where does xQueueCreate get its memory from?
Replies: 2
Views: 1712

Where does xQueueCreate get its memory from?

It's a rather stupid sounding question and seems straight forward... You'd think a queue would be allocate on the heap. But, it seems not because I've found that creating tasks and queues seems to run me out of memory but when I trim it down just a bit (so that the code doesn't instantly ABORT() on ...
by CollinK
Mon Apr 16, 2018 11:48 pm
Forum: ESP32 Arduino
Topic: UDP dropping frames
Replies: 2
Views: 2283

UDP dropping frames

I'm using the current master version of Arduino-ESP32. UPD performance seems to just plain be garbage. Oh, I can send rapidly if I want to but randomly it'll quit sending traffic. If I set to send a packet every 500ms it'll still drop randomly and sometimes not transmit anything for 2-8 seconds. If ...

Go to advanced search