Search found 17 matches

by MateusGL
Tue Dec 20, 2022 12:23 pm
Forum: IDEs for ESP-IDF
Topic: Using different ESP-IDF versions
Replies: 2
Views: 4807

Re: Using different ESP-IDF versions

Hi ESP_kondalkolipaka,

I think the option "ESP-IDF: Project Full Clean" is available only in the last Espressif-IDE. After upgrading from 2.4.0 to 2.7.0 I was able to follow your steps and everything worked as expected. Thank you!
by MateusGL
Mon Dec 19, 2022 3:28 pm
Forum: IDEs for ESP-IDF
Topic: Using different ESP-IDF versions
Replies: 2
Views: 4807

Using different ESP-IDF versions

Hi, I'm trying to use different ESP-IDF versions inside Espressif IDE v2.5.0. At the moment, to change the ESP-IDF version I go to "Espressif -> Download and Configure ESP-IDF" and select the version. The problem is that projects already in the workspace stay in a broken state, trying to use the old...
by MateusGL
Mon May 09, 2022 11:37 am
Forum: ESP-IDF
Topic: Custom bootloader
Replies: 4
Views: 4875

Re: Custom bootloader

Thank you WiFive!

I've found the answer to my question 1: some components verify the flag BOOTLOADER_BUILD inside their CMakeLists file, so they modify their behaviour when it is a bootloader build.
by MateusGL
Wed May 04, 2022 7:14 pm
Forum: Hardware
Topic: Can't change size of UART TX FIFO, ESP32m esp-idf
Replies: 5
Views: 10070

Re: Can't change size of UART TX FIFO, ESP32m esp-idf

This post is old, but maybe it can be helpful to someone... uart_tx_chars() writes directly to the UART fifo, which is limited to 128 bytes. You need to use uart_write_bytes(), that overcomes this hardware limitation. Using this function, the length of the message is limited by the size that you spe...
by MateusGL
Mon May 02, 2022 7:08 pm
Forum: ESP-IDF
Topic: Custom bootloader
Replies: 4
Views: 4875

Re: Custom bootloader

Hi WiFive, thank you for your answer! I'm using hal component to control uart and gpios and bootloader_support component to write and read from flash. My problem now is that I need to do a software reset from my bootloader hook. I was trying to add esp_system as a requirement in the CMakeLists of th...
by MateusGL
Mon May 02, 2022 1:43 pm
Forum: ESP-IDF
Topic: Custom bootloader
Replies: 4
Views: 4875

Custom bootloader

Hi, I'm designing a custom bootloader using hooks. In the documentation (https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/bootloader.html#custom-bootloader) it is said: "In the bootloader space, you cannot use the drivers and functions from other components. If necessary, the...
by MateusGL
Thu Oct 29, 2020 3:05 am
Forum: ESP-IDF
Topic: Last byte received from SPI slave is always zero
Replies: 0
Views: 1689

Last byte received from SPI slave is always zero

Hi, I'm using an ESP32 as a SPI master to receive samples from an AD converter. At every new sample, the AD pulls an ESP32 pin to low and the SPI transaction is executed. After the transaction, the received dataframe is stored in a queue that will be read by other task. My problem is that the last r...
by MateusGL
Fri Jul 03, 2020 3:45 pm
Forum: Hardware
Topic: Clamping diodes and series resistor
Replies: 1
Views: 3398

Clamping diodes and series resistor

Hi, I'm working in a project where sometimes the ESP supply will be 3V, but the ESP will receive digital signals of 3.3V. In the datasheet the limit is VDD+0.3V, so if the ESP supply is 3V, signals with 3.3V are OK, but the supply can be a little less, like 2.9 or 2.8V, then 3.3V signals will be hig...
by MateusGL
Sun May 17, 2020 5:29 am
Forum: Hardware
Topic: SCLK rise and fall time
Replies: 0
Views: 1882

SCLK rise and fall time

Hi,

I'm projecting a PCB with SPI communication and I want to know the rise and fall time of SCLK. Will I need to use line termination with SPI bus length of 15cm or reflection isn't a problem at that length?

Thank you,

Mateus
by MateusGL
Fri May 01, 2020 6:11 am
Forum: ESP-IDF
Topic: SD card sector writes
Replies: 3
Views: 4668

Re: SD card sector writes

Thanks for answering, I tested with other SD card and the pattern changed, so I think you are right! I'm doing what you said: while one buffer is written in the SD card, other task is receiving new data and writing in a second buffer that will be written to the SD card when it is full. The problem i...