Search found 18 matches

by CollinK
Mon Apr 27, 2020 12:36 am
Forum: Hardware
Topic: PWDET?
Replies: 1
Views: 3161

PWDET?

The technical documentation mentions that ADC2 supports power and peak detection. It nearly goes as far out of its way as possible to not give any sort of concrete details. What, exactly, is this? What pins does it use? There are very, very few registers that mention PWDET, it is mentioned without r...
by CollinK
Sat Apr 18, 2020 7:33 pm
Forum: Hardware
Topic: I2S driving H-Bridge troubles
Replies: 1
Views: 4467

Re: I2S driving H-Bridge troubles

Soooo, nothing? It appears to me that everyone does do a reset of the hardware before doing an output from I2S again so it looks like maybe you have to. But, no confirmation on that? And, why should it be necessary? The hardware can't be trusted to work properly without constantly resetting it?
by CollinK
Wed Apr 15, 2020 1:19 am
Forum: Hardware
Topic: I2S driving H-Bridge troubles
Replies: 1
Views: 4467

I2S driving H-Bridge troubles

So, the basic gist of it is that I'm outputting on four pins to drive the four inputs to an H-bridge. You ask, why didn't I output two pins only? Because I want the h-bridge to be able to idle too. So, four pins it is, one to each transistor gate, idling means the P-channel mosfets are held high and...
by CollinK
Tue Jan 14, 2020 1:22 am
Forum: ESP32 Arduino
Topic: Question re: sub-microsecond timing, performance tuning
Replies: 6
Views: 7332

Re: Question re: sub-microsecond timing, performance tuning

This is just an uneducated guess. But, could the scheduler be taking control and processing another task behind your back? The processor is dual core but still there could be other tasks running on your same core. That and interrupts. If an interrupt comes in it might cause phantom delays that you c...
by CollinK
Wed Jan 01, 2020 2:51 pm
Forum: ESP32 Arduino
Topic: TOF CAM sensor
Replies: 3
Views: 4931

Re: TOF CAM sensor

I suspect it will be difficult to make it work reliably. The ESP32 can toggle pins at 80MHz. So, a 10Mhz serial interface should be well within the limits of the hardware in terms of input and output speed at the pins. However, the general rule of thumb I've heard about serial ports on the ESP32 is ...
by CollinK
Wed Dec 25, 2019 5:19 pm
Forum: ESP32 Arduino
Topic: Guru meditation add-in for Arduino IDE
Replies: 1
Views: 4412

Re: Guru meditation add-in for Arduino IDE

It's called ESP Exception Decoder and is found here:

https://github.com/me-no-dev/EspExceptionDecoder

Merry Christmas
by CollinK
Thu Dec 19, 2019 2:21 pm
Forum: ESP32 Arduino
Topic: ESP32 CAN fast receive-check
Replies: 3
Views: 4131

Re: ESP32 CAN fast receive-check

You are allowed to specify a wait time of 0. In that case if there are no pending messages to receive then the function just immediately terminates. So, you can poll for CAN frames that way.
by CollinK
Tue Dec 17, 2019 1:27 am
Forum: ESP32 Arduino
Topic: ESP32 + CAN Comm
Replies: 4
Views: 8498

Re: ESP32 + CAN Comm

As Mstackoverflow was basically saying: what you have is NOT J1939. Such traffic would have extended ID frames (29 bit) and the data byte format would be different too. What you actually have doesn't even appear to be ISO-TP or anything else somewhat standard. Instead it looks kind of like it might ...
by CollinK
Sat Dec 14, 2019 1:45 am
Forum: ESP32 Arduino
Topic: ESP32CAN missing messages.
Replies: 8
Views: 8805

Re: ESP32CAN missing messages.

CollinK - Reading your answer a few times... is it possible to send the whole Can message in binary to the PC and decode it later. Yeah, sure, I do it all the time. I have whole complicated programs that run on the embedded and PC side (in this case ESP32RET on the ESP32 and SavvyCAN on the PC) but...
by CollinK
Fri Dec 13, 2019 12:34 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 783707

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

Whatever Espressif has planned for the future chip...please do NOT remove the CAN bus controller!! I agree. Though, I would not mind if the CAN controller were upgraded. Say, to a CAN-FD compatible interface. I really, really like the MCP2517FD chip. Now, I know that can't just be put verbatim into...