Search found 1935 matches

by ESP_Sprite
Sat Oct 20, 2018 7:34 am
Forum: ESP32 Arduino
Topic: Frequency Measurement on digital input
Replies: 6
Views: 525

Re: Frequency Measurement on digital input

40MHz is because all peripherals as well as the GPIO matrix work at the APB frequency of 80MHz. They will sample the GPIO once per 80MHz clock tick, and as such 40MHz is the maximum they will be able to measure (without aliasing).
by ESP_Sprite
Sat Oct 20, 2018 7:29 am
Forum: ESP32 IDF
Topic: SPIRAM malloc issues
Replies: 3
Views: 95

Re: SPIRAM malloc issues

Smells like you're corrupting memory somewhere and the heap allocator only finds out later that its metadata is a mess, to be honest.
by ESP_Sprite
Sat Oct 20, 2018 7:24 am
Forum: General Discussion
Topic: DMA and DAC
Replies: 6
Views: 161

Re: DMA and DAC

You should be able to re-purpose one of the DAC GPIOs for something else. For instance, this only uses DAC2: i2s_config_t cfg={ .mode=I2S_MODE_DAC_BUILT_IN|I2S_MODE_TX|I2S_MODE_MASTER, .sample_rate=rate, .bits_per_sample=16, .channel_format=I2S_CHANNEL_FMT_RIGHT_LEFT, .communication_format=I2S_COMM_...
by ESP_Sprite
Sat Oct 20, 2018 7:21 am
Forum: General Discussion
Topic: About FreeRTOS and Project
Replies: 2
Views: 66

Re: About FreeRTOS and Project

FreeRTOS is part of ESP-IDF; if you build your project you will also compile the FreeRTOS files.
by ESP_Sprite
Fri Oct 19, 2018 11:31 am
Forum: ESP32 Arduino
Topic: Frequency Measurement on digital input
Replies: 6
Views: 525

Re: Frequency Measurement on digital input

Note that this possibly is not the best approach to do frequency measurement... there are other posts as well that use peripherals (MPWM or pulse counter, I don't remember) that get up to 40MHz, which in theory is the limit of anything going through the GPIO matrix. Those measurements should have a ...
by ESP_Sprite
Fri Oct 19, 2018 3:19 am
Forum: ESP32 ADF
Topic: I2S Driver, ESP32 can support TDM ?
Replies: 2
Views: 82

Re: I2S Driver, ESP32 can support TDM ?

FWIW, _M is the mask for the bits, _S is the shift value for the bits, _V is the maximum value for these bits. They all describe the same 2 bits in the register, just different aspects of it to make it easier to write macros against.
by ESP_Sprite
Fri Oct 19, 2018 3:15 am
Forum: Hardware
Topic: SPI slave driver, last 4 Bytes missing (using DMA)
Replies: 3
Views: 182

Re: SPI slave driver, last 4 Bytes missing (using DMA)

Trancefreak: Are you sure your /CS doesn't go high before the last few bytes have been written? The ESP32 hardware doesn't really like the /CS-pin going high early and can abort the transfer, causing what you see. vpopescu: No idea what you're trying to say here, but both SPI master as well as slave...
by ESP_Sprite
Fri Oct 19, 2018 3:09 am
Forum: Hardware
Topic: GPIO2 manual output level very low (DEVKITC)
Replies: 2
Views: 55

Re: GPIO2 manual output level very low (DEVKITC)

Having a pull-up (or pull-down) on an output (that is not specifically confiugured as open-drain) does not make sense. Suggest you remove the pull-up code and try again; I don't recall the code implementation but it may have the side effect of configuring the GPIO as an input.
by ESP_Sprite
Fri Oct 19, 2018 3:05 am
Forum: General Discussion
Topic: JBL Pulse 3
Replies: 1
Views: 45

Re: JBL Pulse 3

I highly doubt they use BLE, if anything because BLE doesn't support high-throughput applications. I think it maxes out around 15KB/sec, if you have a phone/OS/... that supports tweaking the values to go that high.
by ESP_Sprite
Fri Oct 19, 2018 3:01 am
Forum: General Discussion
Topic: Guru Meditation Error: Cache disabled but cached memory region accessed
Replies: 4
Views: 137

Re: Guru Meditation Error: Cache disabled but cached memory region accessed

That will work. For your not being able to find the menuconfig option problem: you can search in menuconfig using the / key, that will give you something like this: Search (SPI_MASTER_IN) Symbol: SPI_MASTER_IN_IRAM [=n] Type : boolean Prompt: Place transmitting functions of SPI master into IRAM Loca...

Go to advanced search