Search found 18 matches

by andyn_ff
Tue Oct 17, 2023 8:25 am
Forum: Hardware
Topic: eFuse programming success or failure rate
Replies: 0
Views: 2368

eFuse programming success or failure rate

Hi, With other MCU devices I have used, there is a small % failure rate when eFuses or OTP memory is programmed, and therefore there is an impact on the time taken during production in case retries are necessary for programming eFuses. I have checked the datasheet for ESP32 but cannot find relevant ...
by andyn_ff
Wed Sep 20, 2023 5:15 pm
Forum: ESP-IDF
Topic: Why not make esp_wifi_set_country take only the cc code?
Replies: 4
Views: 5344

Re: Why not make esp_wifi_set_country take only the cc code?

This is an old thread but the information here is useful to me. Please could you help me check my understanding as I think the current situation has changed since the above answers. Now there is a 'esp_wifi_set_country_code' API and esp_wifi.h contains a warning to use esp_wifi_set_country_code inst...
by andyn_ff
Wed Jul 05, 2023 9:29 am
Forum: ESP-IDF
Topic: Why use xtensa-clang for clang-tidy in IDF Clang Tidy?
Replies: 1
Views: 1321

Why use xtensa-clang for clang-tidy in IDF Clang Tidy?

Hi, I am starting to use static analysis in my codebase for ESP32 project, and I read the guide in the IDF docs for using `idf.py clang-check`. This depends on installing the xtensa-clang binaries, but I wonder why it is recommended to use xtensa-clang instead of the native clang-tidy? I could insta...
by andyn_ff
Tue Mar 08, 2022 9:00 am
Forum: Hardware
Topic: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay
Replies: 7
Views: 4437

Re: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay

Thank you for your replies, that's really helpful. I will experiment with splitting my SPI transmission into two sections so that the first one stops just before I need to set the latch enable high. The reason I thought this is a hardware limitation instead of code is because I have related it to AD...
by andyn_ff
Mon Mar 07, 2022 12:33 pm
Forum: Hardware
Topic: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay
Replies: 7
Views: 4437

Re: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay

Thanks for the suggestion. I think I can try that with bit-banging. I assume the ESP32 SPI must transmit whole bytes, not just an arbitrary number of bits, so I guess I would need to bit-bang the full last byte of the transaction, with the latch low for the first 5 bits and then high for the last 3....
by andyn_ff
Wed Mar 02, 2022 9:52 am
Forum: Hardware
Topic: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay
Replies: 7
Views: 4437

Re: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay

Thanks for your reply. It is an LED driver, several similar devices daisy-chained. I need to run SPI at 1MHz clock in order to transfer data across quickly enough through the whole daisy-chain of devices. Therefore, half a uS is enough to move the latch pulse into the wrong clock cycle. So I think w...
by andyn_ff
Tue Mar 01, 2022 8:39 pm
Forum: Hardware
Topic: Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay
Replies: 7
Views: 4437

Timing-sensitive peripheral access - trying to start two peripherals with deterministic delay

Hi, I am using a device which has a serial data input (uses a shift register internally), and a latch signal. I am using the ESP32 SPI controller to transmit the data and clock to the device. The latch signal is required to go high during the final 3 clock pulses of the SPI transmission (the width o...
by andyn_ff
Thu Nov 11, 2021 7:58 am
Forum: ESP-IDF
Topic: BrakTooth Vulnerability on ESP32 (Arbitrary Code Execution)
Replies: 5
Views: 5732

Re: BrakTooth Vulnerability on ESP32 (Arbitrary Code Execution)

Thanks for posting the link to the advisory from Espressif. This was the only place I could actually find it.

Do you know how these get published by Espressif? Is there some list I can subscribe to to be alerted when one of these advisories is posted? I can't see if in their website's news section.
by andyn_ff
Thu Sep 23, 2021 12:23 pm
Forum: Hardware
Topic: How is Bluetooth transmit power determined?
Replies: 0
Views: 2279

How is Bluetooth transmit power determined?

Hi, I am developing an application using Bluetooth on ESP32, and I see in ESP-IDF it is possible to configure Bluetooth Tx power (I am using BR/EDR mode). However, the ESP-IDF functions take a minimum and maximum power. How is the transmit power determined between this minimum and maximum? I tried u...
by andyn_ff
Thu Sep 16, 2021 8:01 am
Forum: ESP-IDF
Topic: Can ESP-IDF use a randomised MAC address?
Replies: 3
Views: 3852

Re: Can ESP-IDF use a randomised MAC address?

OK, looking at that example, I think I understand that: I can set the base mac address by calling esp_base_mac_addr_set(my_chosen_mac) before the network stack is initialised, and this will be used for the session The base mac address I pass in with esp_base_mac_addr_set() is in RAM and won't affect...