Search found 1659 matches

by ESP_Sprite
Mon Jul 16, 2018 2:44 am
Forum: Hardware
Topic: Not soldering some pins for space
Replies: 3
Views: 63

Re: Not soldering some pins for space

The answer to that would be a very enthousiastic 'probably'; we can't really say without knowing the signals and what is on the other hand, but you'll most likely be fine, especially for prototyping purposes. I'd personally go for four-layer anyway, I've designed my share of two- and four-layer PCBs...
by ESP_Sprite
Mon Jul 16, 2018 2:36 am
Forum: ESP32 Arduino
Topic: ESP32 sketch lost after reboot
Replies: 1
Views: 24

Re: ESP32 sketch lost after reboot

Moved to the Arduino subforum. What makes you so sure the sketch is gone, and not, for example, fails to start?
by ESP_Sprite
Mon Jul 16, 2018 2:34 am
Forum: General Discussion
Topic: How to set ADC sampling rate of ESP32?
Replies: 3
Views: 96

Re: How to set ADC sampling rate of ESP32?

Actually, that's not entirely true. In the current master, the I2S peripheral can be configured to automatically take samples from the ADC and DMA these to memory. See e.g. the i2s_adc_enable function in the i2s driver.
by ESP_Sprite
Mon Jul 16, 2018 2:30 am
Forum: General Discussion
Topic: Pinning tasks to Core for ISR
Replies: 3
Views: 187

Re: Pinning tasks to Core for ISR

Nothing wrong with just enabling and disabling interrupts; we do that using the interrupt matrix which is shared between CPUs and as such that can be done from any CPU. If you however de-allocate an interrupt, the code needs to touch registers that are only in the CPU where the interrupt was allocat...
by ESP_Sprite
Mon Jul 16, 2018 2:27 am
Forum: General Discussion
Topic: [Newbie] How to interpret an exception
Replies: 1
Views: 20

Re: [Newbie] How to interpret an exception

The backtrace numbers are bits of information about the call stack, as you may know: each function call creates a so-called stack frame (the location on the stack where it stores its own temporary data) on entry and cleans it up on return. If you have a function calling a function calling a function...
by ESP_Sprite
Sun Jul 15, 2018 3:38 am
Forum: Hardware
Topic: Not soldering some pins for space
Replies: 3
Views: 63

Re: Not soldering some pins for space

Should be doable. However, you're relying on merely some solder mask to do the separation. If any, you may want to use the silkscreen to toughen that up a bit: effectively, make a silkscreen square under the pad to provide some extra thickness. Also, you may not want to do this with sensitive (ADC) ...
by ESP_Sprite
Sun Jul 15, 2018 3:35 am
Forum: General Discussion
Topic: ROM, RAM and flash difference and usage
Replies: 4
Views: 94

Re: ROM, RAM and flash difference and usage

Also, the ESP32 does have ROM, but it's true ROM, as in Read-Only Memory, as in it's part of the design of the chip and (unless you are going to decap the chip and physically modify the ROM bits using a FIB station or something), you're not going to be able to change even a single bit of that. It's ...
by ESP_Sprite
Sat Jul 14, 2018 3:12 pm
Forum: General Discussion
Topic: CLK on SPI master ESP32
Replies: 3
Views: 89

Re: CLK on SPI master ESP32

No, that's not strange at all: because you didn't zero out your variable before setting the members, the flags member got crap in it, causing everything to break. You are still not zeroing out your variable, thus running the risk of your program breaking again. If you copy the SPI master example, pl...
by ESP_Sprite
Sat Jul 14, 2018 3:07 pm
Forum: ESP32 IDF
Topic: What is "ets Jun 8 2016 00:22:57"
Replies: 4
Views: 148

Re: What is "ets Jun 8 2016 00:22:57"

Literally what it says somewhat below: the watchdog timer reset the CPU. Given where your program stops executing: are you sure your hardware has a good enough power supply?
by ESP_Sprite
Sat Jul 14, 2018 3:06 pm
Forum: ESP32 IDF
Topic: Using two CPU Cores
Replies: 2
Views: 96

Re: Using two CPU Cores

Note that FreeRTOS in ESP-IDF is pre-emptive - if a task is blocking on a queue and another task (or interrupt) puts something in that queue, if the first task has a higher priority than the second it will get woken immediately. FreeRTOS doesn't wait for the tick interrupt in that case.

Go to advanced search