Search found 108 matches

by dmaxben
Mon Oct 18, 2021 11:16 pm
Forum: ESP-IDF
Topic: simple spi with multiple devices
Replies: 10
Views: 7882

Re: simple spi with multiple devices

Im curious about this too. Id like to use an SD card and an MCP2515 CAN controller on the same SPI bus...hopefully its possible...? why are you using an SPI can interface when there is a can interface built into the ESP32?? Look up TWAI in the esp-idf documentation. You need a transceiver like the ...
by dmaxben
Sun Oct 17, 2021 12:06 am
Forum: ESP-IDF
Topic: simple spi with multiple devices
Replies: 10
Views: 7882

Re: simple spi with multiple devices

Im curious about this too. Id like to use an SD card and an MCP2515 CAN controller on the same SPI bus...hopefully its possible...?
by dmaxben
Sun Oct 17, 2021 12:04 am
Forum: General Discussion
Topic: How sharing SPI for ethernet w5500, lora sx1276 and sdcard
Replies: 8
Views: 6844

Re: How sharing SPI for ethernet w5500, lora sx1276 and sdcard

Hello ESP_Sprit, I followed your recommendations and everything went well in the initialization of SDSPI_SDMMC, however, both the LORA and the W5500 showed totally strange behavior, and I found a little problem that I believe is related to your driver, in the case of LORA and SDCARD, I used the spi...
by dmaxben
Mon Sep 13, 2021 3:36 pm
Forum: Hardware
Topic: ESP32-S3-WROOM-1 preferred PINs for I2C and CAN
Replies: 3
Views: 9573

Re: ESP32-S3-WROOM-1 preferred PINs for I2C and CAN

ESP_Sprite wrote:
Sat Sep 04, 2021 1:56 am
No, there are not. You can pick any pin for this (that is not input-only or used for other things like flash).
Can you use an input-only pin for TWAI-Rx?
by dmaxben
Mon Sep 13, 2021 3:31 pm
Forum: ESP-IDF
Topic: Abnormal reading data of ADC2 channel 0 of esp32s
Replies: 1
Views: 1466

Re: Abnormal reading data of ADC2 channel 0 of esp32s

Yes, ADC2 is shared with the wifi/bluetooth radio and therefore cannot be used simultaneously.

If you want to measure analog voltages and use wifi/bluetooth simultaneously, you'll have to switch to pins that are mapped to ADC-1
by dmaxben
Wed Sep 01, 2021 1:59 pm
Forum: Documentation
Topic: [Prerelease] ESP32­S3­WROOM­1 & ESP32­S3­WROOM­1U Datasheet
Replies: 9
Views: 47014

Re: [Prerelease] ESP32­S3­WROOM­1 & ESP32­S3­WROOM­1U Datasheet

Will there be an ESP32-S3 mini module?
by dmaxben
Thu Aug 19, 2021 12:14 pm
Forum: ESP-IDF
Topic: ESP32 OTA from arduino to idf
Replies: 3
Views: 3524

Re: ESP32 OTA from arduino to idf

Theres an arduino bootloader that is incompatible with IDF code. For example, if you have an arduino program with that that "bad" arduino bootloader in the ESP32, and then OTA to an IDF-build, it will soft-brick the ESP32. Are you using the latest arduino bootloader when you flash the ESP32? I forge...
by dmaxben
Thu Aug 19, 2021 11:37 am
Forum: General Discussion
Topic: Is it true that the ESP32 S3 will remove the DAC?
Replies: 7
Views: 13015

Re: Is it true that the ESP32 S3 will remove the DAC?

I would be surprised if the ESP32-S3 removed the DAC....but I guess if thats the case, you could still do pseudo-DAC with PWM/LEDc and an RC filter...?
by dmaxben
Wed Aug 04, 2021 12:36 pm
Forum: Sample Code
Topic: help delayMicroseconds() on esp?
Replies: 2
Views: 16190

Re: help delayMicroseconds() on esp?

delayMicroseconds() works in arduino. For ESP-IDF, you can use this: unsigned long IRAM_ATTR micros() { return (unsigned long)(esp_timer_get_time()); } void IRAM_ATTR delayMicros(uint32_t us) { uint32_t m = micros(); if (us) { uint32_t e = (m + us); if (m > e) { //overflow while (micros() > e) { NOP...
by dmaxben
Mon Apr 12, 2021 7:38 pm
Forum: General Discussion
Topic: ESP32-C6, a Wi-Fi 6 + Bluetooth 5 (LE) 32-bit RISC-V SoC
Replies: 5
Views: 7478

Re: ESP32-C6, a Wi-Fi 6 + Bluetooth 5 (LE) 32-bit RISC-V SoC

So this is basically just a C3, but with WiFi 6 added?

Why would they even release the C3, if the C6 seems to supersede it?

(unless the C6 is going to be much more expensive than the C3).