Search found 46 matches

by PeteDD
Tue Dec 17, 2024 11:27 am
Forum: Hardware
Topic: Flash (no app development) ESP32 from android phone
Replies: 1
Views: 2252

Flash (no app development) ESP32 from android phone

I am seeking a way that uneducated users can flash ESP32 updates to ESP32 and AVR boards in the field BUT HAVE NO DEVELOPMENT CAPABILITY. To be clear, I do not want the user to have any development capabilites, only the ability to flash from a bin file to the board via USB using an Android phone ...
by PeteDD
Thu Aug 29, 2024 12:36 pm
Forum: General Discussion
Topic: I2C burst read corrupting data
Replies: 10
Views: 4494

Re: I2C burst read corrupting data

Thanks for that clarification.
by PeteDD
Wed Aug 28, 2024 9:47 pm
Forum: General Discussion
Topic: I2C burst read corrupting data
Replies: 10
Views: 4494

Re: I2C burst read corrupting data

Seems like you should be able to override t
well how about that...
-DI2C_BUFFER_LENGTH=255
in the build_flags of my platformio.ini did work.

I had tried using
#define I2C_BUFFER_LENGTH 255
in my main.cpp before including Wire.h and for reasons I cannot explain, that did not work.

Also, the ...
by PeteDD
Wed Aug 28, 2024 5:04 pm
Forum: General Discussion
Topic: I2C burst read corrupting data
Replies: 10
Views: 4494

Re: I2C burst read corrupting data

@MicroController

There are two ways so far that I found to fix this... and I don't particularly like either.

1) in Wire.h one can change the size of the I2C_BUFFER_LENGTH but this would be overwritten if the library were to be updated.

#ifndef I2C_BUFFER_LENGTH
#define I2C_BUFFER_LENGTH 255 ...
by PeteDD
Tue Aug 27, 2024 9:21 pm
Forum: General Discussion
Topic: I2C burst read corrupting data
Replies: 10
Views: 4494

Re: I2C burst read corrupting data

Here are the scope traces and decoding of the I2C stream in the region of the "glitch". What reason would we be consistently seeing the break in the 192 byte data stream here?

1- The 192 byte read is interrupted right before the "11" (decimal) value which we saw in line 21 of the raw data mentioned ...
by PeteDD
Tue Aug 27, 2024 5:46 pm
Forum: General Discussion
Topic: I2C burst read corrupting data
Replies: 10
Views: 4494

Re: I2C burst read corrupting data

A reasonable question.

The read is initiated after the processor receives an interrupt I dictating that the buffer is full. There s also a register which provides the number of samples in the buffer. I have checked that register to also confirm the buffer is full.

If you look at the raw data ...
by PeteDD
Tue Aug 27, 2024 2:40 pm
Forum: General Discussion
Topic: I2C burst read corrupting data
Replies: 10
Views: 4494

I2C burst read corrupting data

I am attempting to read 192 bytes of data from the FIFO buffer of an MMA8451Q accelerometer using an ESP32-S3-Devkit-U1.
This should be pretty simple... write to the appropriate register and then conduct the 192 reads.


#define use14bit true
#define MMA8451_FIFO_REG 0x01
#uint8_t FIFObuffer[192 ...
by PeteDD
Fri Apr 12, 2024 2:28 pm
Forum: General Discussion
Topic: Any good books using Espressif tools?
Replies: 8
Views: 11193

Re: Any good books using Espressif tools?

A nice book with code examples:
FreeRTOS for ESP32-Arduino - Practical Multitasking Fundamentals (by Warren Gay)

:?: I have been considering buying this book but note that it has not been updated since being published in January 2020.
Do you find that this book is still accurate considering how ...
by PeteDD
Wed Feb 28, 2024 3:41 pm
Forum: General Discussion
Topic: can't printf with ESP32-S2 ESP-IDF 5.1
Replies: 5
Views: 94565

Re: can't printf with ESP32-S2 ESP-IDF 5.1

Missing the point altogether. Let me try again... For this ONE PROCESSOR, this functionality, being able to print equally with Serial.print(), ESP_LOG*, or printf(), does not work whereas it works for EVERY OTHER ESP family processor I have used, which are many.
by PeteDD
Sun Dec 10, 2023 9:39 pm
Forum: General Discussion
Topic: mqtt_server.crt.S' not found, needed by target .. mqtt_server.crt
Replies: 0
Views: 47510

mqtt_server.crt.S' not found, needed by target .. mqtt_server.crt

Using
- framework-arduinoespressif32 @ 3.0.0+sha.2b521e5
- framework-espidf @ 3.50102.0 (5.1.2)
Not wanting to use ESP-Insight but I have yet to succeed at disabling it from the build.
sdkconfig:
# ESP Insights
#
# CONFIG_ESP_INSIGHTS_ENABLED is not set
CONFIG_ESP_INSIGHTS_TRANSPORT_MQTT=y ...

Go to advanced search