Search found 24 matches

by greg-dickson
Thu Sep 14, 2023 2:07 pm
Forum: ESP-IDF
Topic: ESP32-S3 and 32 Bit data alignment
Replies: 2
Views: 2027

Re: ESP32-S3 and 32 Bit data alignment

No, the chips don't align any data. The compiler does. The flash and DRAM are byte-addressable/-accessible in hardware, hence gcc (usually) does 1-byte alignment on 8-bit values. You can check the value of sizeof(uint8_t) or sizeof(uint32_t) yourself. However, struct { uint8_t u8; uint32_t u32; } x...
by greg-dickson
Thu Sep 14, 2023 11:54 am
Forum: ESP-IDF
Topic: ESP32-S3 and 32 Bit data alignment
Replies: 2
Views: 2027

ESP32-S3 and 32 Bit data alignment

Could someone please enlighten me.

Does the ESP32-S3 and other ESP32 chips align data on 32bit words.

In other words.

Does a unint32_t and a uint8_t take the same amount of memory space?

Thank you.
by greg-dickson
Thu Sep 07, 2023 11:06 am
Forum: General Discussion
Topic: RTC time from wifi beacon, without connecting?
Replies: 4
Views: 2730

Re: RTC time from wifi beacon, without connecting?

I could be wrong but I don't think that information is actually available to a scan.
I see no reason why they would add it either.
by greg-dickson
Thu Sep 07, 2023 10:41 am
Forum: ESP-IDF
Topic: ADC oneshot calibration max 3.114 (5.1.1 is worse) What is going on please?
Replies: 1
Views: 1184

Re: ADC oneshot calibration max 3.114 volts

Oh My go esp-idf5.1.1 is worse
This is on several S3 units.

Code: Select all

 
(14593) truc_adc_gpio_read: ADC0 Channel[2] Raw Data: 4095
(14593) truc_adc_gpio_read: ADC0 Channel[2] Calibrated Data: 3076
What's going on guys?
by greg-dickson
Thu Aug 10, 2023 2:54 pm
Forum: ESP-IDF
Topic: ADC oneshot calibration max 3.114 (5.1.1 is worse) What is going on please?
Replies: 1
Views: 1184

ADC oneshot calibration max 3.114 (5.1.1 is worse) What is going on please?

I was just experimenting with the ADC one shot read and found that reading a pin basically pulled high will max out at 3.114 volts. The actual measured voltage at the pin is 3.3v. Is this normal or is there something wrong. if((adc->error = adc_oneshot_read(adc_handle, adc->adc_channel , &(adc->raw_...
by greg-dickson
Mon Jun 19, 2023 10:46 am
Forum: Hardware
Topic: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO
Replies: 5
Views: 3169

Re: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO

ESP_Sprite wrote:
Sun Jun 18, 2023 9:17 am
Yeah, I wouldn't put 3.3V on them indeed.
Sort of makes sense really.
Thanks I'll let him know.
by greg-dickson
Sun Jun 18, 2023 4:35 am
Forum: Hardware
Topic: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO
Replies: 5
Views: 3169

Re: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO

ESP_Sprite wrote:
Fri Jun 16, 2023 1:51 am
Yes, I can confirm this.
I had a friend ask if they where 3.3v tolerant and I replied

AFAIK they are not 3.3 v tollerant as they are connected to the internal SPI voltage and as such feeding in 3.3v would probably fry the psram

Is that case?
Is my presumption correct?
by greg-dickson
Fri Jun 16, 2023 2:26 pm
Forum: Hardware
Topic: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO
Replies: 5
Views: 3169

Re: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO

ESP_Sprite wrote:
Fri Jun 16, 2023 1:51 am
Yes, I can confirm this.
Thanks that's all I needed.
by greg-dickson
Thu Jun 15, 2023 12:30 pm
Forum: Hardware
Topic: ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO
Replies: 5
Views: 3169

ESP32-S3WROOM 2 GPIO pins 47 and 48 1.8v can they still be used as GPIO

HI In the datasheet it states As the VDD_SPI voltage of the ESP32-S3R8V chip has been set to 1.8 V, the working voltage for GPIO47 and GPIO48 would also be 1.8 V, which is different from other GPIOs. As I read this it suggests that I can still use them as GPIO however their voltage will be 1.8v. Can...
by greg-dickson
Fri Jun 02, 2023 7:41 pm
Forum: ESP-IDF
Topic: Order of components in kconfig menu SOLVED
Replies: 0
Views: 1094

Order of components in kconfig menu SOLVED

I am curious as I add my components with Kconfig.probuild files the order that they appear in is sort of random. Is there some sort of logic to the order in which they appear in the menuconfig menu. Thanks. Gregory Ok in answer to my own question I finally found the answer. They are sorted according...