Search found 3629 matches

by ESP_Sprite
Fri Jul 10, 2020 6:42 pm
Forum: ESP32 IDF
Topic: ESP32 crashes in monitor
Replies: 4
Views: 108

Re: ESP32 crashes in monitor

I think the issue here is that GPIO12 has a very high pull-up (100K) plus what I assume is a fairly large parasitic capacitance from whatever is connected to the connector GPIO12 leads up to (plus the connector and traces themselves, obviously). The monitor doesn't do anything with GPIOs, all it doe...
by ESP_Sprite
Fri Jul 10, 2020 6:36 pm
Forum: ESP32 IDF
Topic: printf crashes within critical section
Replies: 2
Views: 65

Re: printf crashes within critical section

Chegewara is right. Additionally, code run within a critical section more-or-less has the same restrictions as code running in an IRQ, that is, it should not (directly or indirectly) call any blocking functions.
by ESP_Sprite
Fri Jul 10, 2020 7:47 am
Forum: ESP32 IDF
Topic: ESP32 crashes in monitor
Replies: 4
Views: 108

Re: ESP32 crashes in monitor

What power supply are you using?
by ESP_Sprite
Fri Jul 10, 2020 7:43 am
Forum: ESP32 IDF
Topic: using pthreads
Replies: 3
Views: 162

Re: using pthreads

Well, it's not a package, it's a component. I'm far from an expert on CMake, but from what I understand you would add it like this:

Code: Select all

idf_component_register(...
                       REQUIRES pthread)
                       
as described here
by ESP_Sprite
Fri Jul 10, 2020 7:38 am
Forum: ESP32 IDF
Topic: Implementation of Interrupt Allocation
Replies: 15
Views: 418

Re: Implementation of Interrupt Allocation

What is your current code now? I kind-of lost track during the thread... In general, the idea of a semaphore is to only trigger the semaphore during the IRQ (as you're not allowed to do much more, as blocking functions like printf() won't work in an interrupt context) and then have a task waiting on...
by ESP_Sprite
Fri Jul 10, 2020 7:32 am
Forum: Hardware
Topic: Esp Erasing Software Automatically
Replies: 9
Views: 328

Re: Esp Erasing Software Automatically

Nothing much to explain... It's a small chip that makes sure the ESP32 is reset properly even if the power supply voltage is too wonky for the internal reset logic to properly do it. There's more information on the Internets, if you need it.
by ESP_Sprite
Fri Jul 10, 2020 7:26 am
Forum: Hardware
Topic: Detailed specification of MIPI CSI
Replies: 1
Views: 76

Re: Detailed specification of MIPI CSI

You mean the standard in general? The only legal source I know of is the MIPI Alliance, who will happily give you a standard as soon as you become a member. Yes, I know it's not the most convenient or cheap way to get the standard, but as far as I know it's the only *legal* way to do so, and as an a...
by ESP_Sprite
Fri Jul 10, 2020 7:22 am
Forum: Hardware
Topic: JTAG IDCODE ON ESP32-U4WDH
Replies: 11
Views: 314

Re: JTAG IDCODE ON ESP32-U4WDH

What you have is a flavour of the (non-S2) ESP32. All ESP32 chips have a designation (like U4WHD) after their 'ESP32' identifier; the meaning is in chapter 7 (Part number and ordering information) of the datasheet . indicating packaging, binning and configuration of the silicon. In your case, your c...
by ESP_Sprite
Fri Jul 10, 2020 7:16 am
Forum: General Discussion
Topic: Ethernet PHY best practices for low cost design
Replies: 11
Views: 271

Re: Ethernet PHY best practices for low cost design

PeterR wrote:
Thu Jul 09, 2020 5:34 pm
It is interesting that the EVB uses GPIO0 for all the problems this can cause.
I use GPIO0 so I cannot tell you!
A possible reason is that GPIO17 is used by PSRAM on modules/boards that have it.
by ESP_Sprite
Fri Jul 10, 2020 7:14 am
Forum: General Discussion
Topic: Collect sensor data from different task
Replies: 5
Views: 232

Re: Collect sensor data from different task

@PeterR: Nothing wrong with the general concept of starting multiple tasks for multiple sensors, even if they're on the same I2C bus, even with only two cores. While it probably does not make much sense from a performance PoV, if that's the way you like to write your code and it fits the performance...

Go to advanced search