Search found 91 matches

by karunt
Wed Sep 04, 2024 7:57 pm
Forum: ESP-IDF
Topic: Peripherals - SPI slave example code not functioning as expected
Replies: 2
Views: 965

Re: Peripherals - SPI slave example code not functioning as expected

Mystery resolved. THe odd behavior on the receiver side is coming from the following code:

Code: Select all

memset(recvbuf, 0xA5, 129);
Getting rid of it solves my problem.
by karunt
Fri Aug 30, 2024 6:09 am
Forum: ESP-IDF
Topic: Peripherals - SPI slave example code not functioning as expected
Replies: 2
Views: 965

Re: Peripherals - SPI slave example code not functioning as expected

Figure part of my problem. The handshake line on master (ESP32-DevKit-C) was using GPIO16, which apparently is a restricted I/O pin. So moving it to GPIO15 resolved things somewhat. At least now the message transferred from slave (Adafruit Qualia ESP32-S3) to master (ESP32-DevKit-C) is what I'd expe...
by karunt
Wed Aug 28, 2024 11:21 pm
Forum: ESP-IDF
Topic: Peripherals - SPI slave example code not functioning as expected
Replies: 2
Views: 965

Peripherals - SPI slave example code not functioning as expected

I'm trying out the Peripherals - SPI slave example which has separate codes for receiver and sender and uses an extra GPIO line for handshake between master and slave. I have an ESP32-devkit-C as my master and an ESP32-S3 based Adafruit Qualia board as the slave. File ESP32 and ESP32-S3 connections....
by karunt
Sun Aug 11, 2024 2:21 pm
Forum: ESP32 Arduino
Topic: Arduino serial monitor not showing any output when ESP32-S3 connected to USB Port
Replies: 3
Views: 1283

Arduino serial monitor not showing any output when ESP32-S3 connected to USB Port

Using Arduino IDE 2.3.2 on Windows 11 to upload the following sketch to an Adafruit Qualia ESP32-S3 board: #include <Arduino_GFX_Library.h> void setup() { Serial.begin(9600); } void loop() { Serial.println("hello"); delay(1000); } USB CDC On Boot settings in Arduino set to Enabled . After successful...
by karunt
Tue Jul 23, 2024 9:39 am
Forum: ESP-IDF
Topic: How to retrieve WiFi provision ssid and password stored by provisioning manager in nvs flash
Replies: 3
Views: 32520

Re: How to retrieve WiFi provision ssid and password stored by provisioning manager in nvs flash

@imdahisaria Did you populate wifi_cfg first with the SSID and password? In my example, I've already sent over wifi credentials (SSID and password) from an app to the ESP32 chip from an app using the NimBLE protocol. My solution below pertains to retrieving the wifi SSID and password at a later poin...
by karunt
Fri May 31, 2024 1:28 pm
Forum: ESP IoT Solution
Topic: How to create a handle for the PCA9554 io_expander when using it with esp32-S3 on Adafruit Qualia board?
Replies: 0
Views: 3406

How to create a handle for the PCA9554 io_expander when using it with esp32-S3 on Adafruit Qualia board?

I'm using the Adafruit Qualia board with ESP32-S3. The board uses the PCA9554 io_expander to provide the SPI interface for a 40 pin LCD display (which uses the ST7701 driver). See schematics for reference: AdaFruit Qualia Board Connections to ESP32-S3.png To install the SPI panel, here's the code I'...
by karunt
Fri May 31, 2024 9:55 am
Forum: General Discussion
Topic: How to create a handle for the PCA9554 io_expander when using it with esp32-S3 on Adafruit Qualia board?
Replies: 0
Views: 493

How to create a handle for the PCA9554 io_expander when using it with esp32-S3 on Adafruit Qualia board?

I'm using the Adafruit Qualia board with ESP32-S3. The board uses the PCA9554 io_expander to provide the SPI interface for a 40 pin LCD display (which uses the ST7701 driver). See schematics for reference: AdaFruit Qualia Board Connections to ESP32-S3.png To install the SPI panel, here's the code I'...
by karunt
Thu May 16, 2024 1:34 pm
Forum: ESP-IDF
Topic: Adafruit Qualia board with ESP32-S3 disconnects from ESP-IDF when laptop goes in sleep mode
Replies: 0
Views: 561

Adafruit Qualia board with ESP32-S3 disconnects from ESP-IDF when laptop goes in sleep mode

I am programming an Adafruit Qualia board with ESP32-S3 using ESP-IDF. First code I put on it is the wifi provisioning code, which makes the board advertise for BLE connection purposes. But if my laptop (which has the ESP-IDF running on it) goes to sleep, it causes the board to disconnect. When the ...
by karunt
Thu May 16, 2024 1:28 pm
Forum: ESP-IDF
Topic: Issues flashing esp32-S3 on Adafruit Qualia board
Replies: 3
Views: 960

Re: Issues flashing esp32-S3 on Adafruit Qualia board

Turns out that ESP-IDF is simply waiting for user to hit the Reset button on the Qualia board to begin executing the program on it. The Qualia board requires pressing of the Reset button to launch new firmware on it. That solved my problem.