Search found 30 matches

by michcfr
Thu Feb 22, 2024 6:17 pm
Forum: ESP-IDF
Topic: Pairing ESP32C6 using ESP-IDF to Zigbee2MQTT
Replies: 2
Views: 4671

Re: Pairing ESP32C6 using ESP-IDF to Zigbee2MQTT

Hello, Maybe take a look at the ESP ZigBee SDK. https://docs.espressif.com/projects/esp-zigbee-sdk/en/latest/esp32/developing.html Do you have a Zigbee Coordinator? or perhaps declare one of the ESP32-C6 as Zigbee Coordinator. See: https://docs.espressif.com/projects/esp-zigbee-sdk/en/latest/esp32/d...
by michcfr
Sun Oct 09, 2022 9:26 am
Forum: ESP32 Arduino
Topic: get activity on the UART line
Replies: 1
Views: 1801

get activity on the UART line

Hello,
is there a way, a kind of status byte, to get the activity on the UART line, which indicates byte reception in progress?

thx
Michel
by michcfr
Tue Jun 21, 2022 10:07 am
Forum: ESP-IDF
Topic: SPI slave - start the transaction without triggering the CS pin
Replies: 5
Views: 3726

Re: SPI slave - start the transaction without triggering the CS pin

Thank you ESP_Sprite.
Is this solution still operate at high speeds? Even if I keep SPI2 or SPI3 IO_MUX pins for SPI buses.
Another question: Does it work for the ESP32-C series?
by michcfr
Mon Jun 20, 2022 5:30 pm
Forum: ESP-IDF
Topic: Possible to use SPI slave driver without Chip Select?
Replies: 3
Views: 3823

Re: Possible to use SPI slave driver without Chip Select?

Hello,
Any idea on how to do "software" CS rather than using the CS pin state?
FYI: This is a capability supported by the STM32 microcontroler. See: https://electronics.stackexchange.com/q ... without-cs

Thx
by michcfr
Mon Jun 20, 2022 7:57 am
Forum: ESP-IDF
Topic: SPI slave - start the transaction without triggering the CS pin
Replies: 5
Views: 3726

Re: SPI slave - start the transaction without triggering the CS pin

Chip select is integral to addressing devices on the bus in SPI. While you might be able to hack around chip select, if you want to save pins use I2C for your protocol instead. This is not true. The term "SPI" is used to describe a wide variety of protocols where a master device communicates with o...
by michcfr
Mon Jun 20, 2022 7:31 am
Forum: ESP-IDF
Topic: SPI slave - start the transaction without triggering the CS pin
Replies: 5
Views: 3726

SPI slave - start the transaction without triggering the CS pin

Hello,
When the ESP32 is in SPI slave mode, can the ESP32 start the transaction itself (using the spi_slave driver) without needing the master to pull CS LOW?
This is to save ESP32 pins.

Regards,
Michel
by michcfr
Tue Mar 15, 2022 12:48 pm
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 9486

Re: UART high speed question 4MHz

A little up...
by michcfr
Tue Mar 01, 2022 9:19 am
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 9486

Re: UART high speed question 4MHz

I think we have to dissociate the two cases: -UART to UART communication with one wire TX/RX. This is the subject of this topic -UART to UART/USB adapter (CP2102) For the latter case, maybe the RTS/CTS usage may enhance the throughput because of hard flow control. zliudr: what esp32 lib are you usin...
by michcfr
Mon Feb 28, 2022 1:44 pm
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 9486

Re: UART high speed question 4MHz

Hello,
I did the same but between two ESP32: one ESP32 sends n bytes and the other sends back the n bytes.
The max speed was 600 kbaud. How did you get 4MBaud?

thx for the response
by michcfr
Tue Nov 23, 2021 11:54 pm
Forum: ESP32 Arduino
Topic: pinMode vs gpio_set_direction for UART
Replies: 3
Views: 7390

Re: pinMode vs gpio_set_direction for UART

Hello
Can somebody help me on hox to know if calling pinMode(TX_pin, OUTPUT), makes TX_pin In push-pull output mode?

thx