Search found 11 matches

by IanKibblewhite
Tue Jun 20, 2023 3:39 pm
Forum: Hardware
Topic: ESP32S3 Non Volatile Storage Issue
Replies: 0
Views: 2138

ESP32S3 Non Volatile Storage Issue

I am migrating an application from ESP32 to the ESP32S3. The application stores a few bytes in non-volatile storage but the nvs is not working when change platform to the ESP32S3.

The problem I am experiencing also occurs in the nvs example app, nvs_rw_value, which is simply storing a restart ...
by IanKibblewhite
Fri Mar 03, 2023 1:12 am
Forum: Hardware
Topic: Problem Migrating SPI interface from ESP32 to ESP32S3
Replies: 0
Views: 1134

Problem Migrating SPI interface from ESP32 to ESP32S3

We have an ESP32 application with a SPI interface to an FPGA. It's a simple 1-bit mode, half-duplex, CPU controlled Master using VSPI. It has to be fast so it's implemented using direct register control with a single core dedicated to the task. It works great!

It's part of a large application that ...
by IanKibblewhite
Sat Dec 17, 2022 10:57 pm
Forum: Hardware
Topic: ESP32-S3FH4R2 Power Up Issue
Replies: 4
Views: 4146

Re: ESP32-S3FH4R2 Power Up Issue

Acuario, ESP_Sprite, thank you for input. You are right. It was going into boot loader mode.

As suggested, I separated the power from the serial so that I could monitor the serial on power up, and every time it didn't start it was because it was going into boot loader mode.

I put a scope on the 3 ...
by IanKibblewhite
Fri Dec 16, 2022 4:05 am
Forum: Hardware
Topic: ESP32-S3FH4R2 Power Up Issue
Replies: 4
Views: 4146

ESP32-S3FH4R2 Power Up Issue

Hi All,

We have a project using the new ESP32-S3FH4R2 on our own board. It's a challenging design but the ESP32-S3 is really performing well and beyond expectations.

We have found a power up issue which appears to be specific to this device and are interested in whether it's a known issue or if ...
by IanKibblewhite
Thu Jan 27, 2022 3:40 am
Forum: ESP-IDF
Topic: How to open binary files on the SD card
Replies: 0
Views: 2640

How to open binary files on the SD card

I need to write and read binary files on the SD card
Text files are no problem. They open with:
FILE *file = fopen(file_name, "w");
But the normal "rb", "rb+", "wb", " wb+" for binary files don't appear to be supported. I get file open errors.
Is there another library I should be using? How do you ...
by IanKibblewhite
Thu Nov 11, 2021 3:10 am
Forum: General Discussion
Topic: Read Ethernet Raw Mode Data
Replies: 5
Views: 5508

Re: Read Ethernet Raw Mode Data

Implemented successfully as above without issues. Thanks for your help.
by IanKibblewhite
Tue Nov 09, 2021 4:39 pm
Forum: General Discussion
Topic: Read Ethernet Raw Mode Data
Replies: 5
Views: 5508

Re: Read Ethernet Raw Mode Data

Thanks. So does this look like a simple server? Do I just need a basic client ap that, after initializing the Ethernet (as in a basic example app), creates a socket (SOCK_STREAM?), connect(), and read with recvfrom(). It appears as if the data comes in when the motor is running so I don't need to ...
by IanKibblewhite
Mon Nov 08, 2021 3:02 pm
Forum: General Discussion
Topic: Read Ethernet Raw Mode Data
Replies: 5
Views: 5508

Re: Read Ethernet Raw Mode Data

Thanks for your response.

As part of a large ESP32 project we need to receive data from an Ethernet connection on a legacy motor controller. We don't know much about the implementation in the controller itself except that the user instructions for manually collecting the data are: In PUTTY under ...
by IanKibblewhite
Sat Nov 06, 2021 9:19 pm
Forum: General Discussion
Topic: Read Ethernet Raw Mode Data
Replies: 5
Views: 5508

Read Ethernet Raw Mode Data

I need to read raw mode data through an Ethernet connection. It says in the ESP-IDF programming Guide that the lwIP Raw API is designed for single threaded devices and is not supported in ESP-IDF. Is it possible to read raw mode data with the ESP32? If so, what's the best way to do this. I'm using ...
by IanKibblewhite
Fri Feb 12, 2021 1:52 am
Forum: ESP-IDF
Topic: Can't set SPI registers with ESP-IDF V4
Replies: 2
Views: 3169

Re: Can't set SPI registers with ESP-IDF V4

You got it. Fantastic! It appears that v3.0 initializes with SPI's enabled. v4.2 initializes with SPI's disabled. All it took was:

DPORT_SET_PERI_REG_MASK (DPORT_PERIP_CLK_EN_REG, 0x00010000); // Enable VSPI Clock thru' DPORT
DPORT_CLEAR_PERI_REG_MASK (DPORT_PERIP_RST_EN_REG, 0x00010000 ...

Go to advanced search