Search found 50 matches

by Jorgen
Wed Nov 06, 2024 6:40 pm
Forum: ESP-IDF
Topic: Target in environment
Replies: 2
Views: 547

Re: Target in environment

Thanks MicroController. The problem has been reported before and workarounds have been suggested. I have found one and it works for me, provided, I do the three steps right after creating a new project. I have not made any exhaustive investigation trying out several combinations. I hope this is read...
by Jorgen
Mon Nov 04, 2024 6:03 pm
Forum: ESP-IDF
Topic: Target in environment
Replies: 2
Views: 547

Target in environment

I use the VS-code (latest version) on a Windows 11 PC with the framework 5.3.1. When I start a new project and set the target to ESP32-S3, I get a message saying the environment variable is set to ESP32. The message is: Target 'esp32s3' specified on command line is not consistent with target 'esp32'...
by Jorgen
Thu Sep 12, 2024 9:39 am
Forum: ESP-IDF
Topic: SPI, fix level on MOSI when using MISO
Replies: 1
Views: 597

SPI, fix level on MOSI when using MISO

Is it possible to fix the level on MOSI when reading lots of data using MISO? Ii is possible to use FULL DUPLEX and transmit on MOSI an array with all elements set to 0 or 1. The array has to have a size at least being the same as the array used for saving the data read on MISO. This is a waste of m...
by Jorgen
Wed Sep 11, 2024 1:45 pm
Forum: Hardware
Topic: SPI 20 clock pulses when 16 were expected
Replies: 3
Views: 829

Re: SPI 20 clock pulses when 16 were expected

I have found the error. I have used as flag SPI_DEVICE_NO_DUMMY within the transaction_t structure. That is wrong. That flag belongs in the spi_device_interface_config_t structure. I have moved it there and now 16 clock pulses are sent only. The subject is closed. Sorry for any inconvenience. Regard...
by Jorgen
Wed Sep 11, 2024 1:19 pm
Forum: Hardware
Topic: SPI 20 clock pulses when 16 were expected
Replies: 3
Views: 829

Re: SPI 20 clock pulses when 16 were expected

Using an oscilloscope reveals the 20 clock pulses are 4 + 16 i.e. there are 4 clock pulses send before the content of the 8-bit address. I have modified my code to use full duplex. In that case only 16 clock pulses are sent. That is a solution for me, but I would still appreciate receiving instructi...
by Jorgen
Wed Sep 11, 2024 12:49 pm
Forum: Hardware
Topic: SPI 20 clock pulses when 16 were expected
Replies: 3
Views: 829

SPI 20 clock pulses when 16 were expected

Dear, I am not sure whether it is a bug or me (most likely me though). I use VS code and ESP-IDF 5.3.1. The board has an ESP32-S3 WROOM-1 on a DevKitC. I use the SPI element in master mode. I want to send an 8-bit address and in response receive 8 bit data. I have used my 4-channel oscilloscope to d...
by Jorgen
Tue Jun 18, 2024 6:57 pm
Forum: General Discussion
Topic: Component Manager - how to disable?
Replies: 0
Views: 662

Component Manager - how to disable?

I started running the USB host MSC example. Once created I ran idf.py set-target esp32s3. Then all dependencies were resolve and the example project worked perfectly. The project includes a folder managed_components. My goal is to replace the file system with my own implementation, hence I need to e...
by Jorgen
Mon Jun 17, 2024 10:06 am
Forum: General Discussion
Topic: ESP32-S3 USB host - USB 3.0 flash memory stick
Replies: 3
Views: 1000

Re: ESP32-S3 USB host - USB 3.0 flash memory stick

Problem solved. I tried another USB 3.0 64GB flash memory stick. It was accepted by the software.

Looking closer, it is formatted as FAT32 (surprising). EXFAT is not enabled in the software example.

Regards,
Jorgen
by Jorgen
Mon Jun 17, 2024 8:12 am
Forum: General Discussion
Topic: ESP32-S3 USB host - USB 3.0 flash memory stick
Replies: 3
Views: 1000

Re: ESP32-S3 USB host - USB 3.0 flash memory stick

Thank you for the reply.

I have tried connecting my USB 3.0 flash stick, but it was not recognized. I use the ESP32-S3 framework 5.2.1 example USB/host/msc.

Regards,
Jorgen
by Jorgen
Sun Jun 16, 2024 12:33 pm
Forum: General Discussion
Topic: ESP32-S3 USB host - USB 3.0 flash memory stick
Replies: 3
Views: 1000

ESP32-S3 USB host - USB 3.0 flash memory stick

I am running the ESP32-S3 USB host MSC example in framework 5.2.1. It works well for USB 2.0 flash memory sticks. In the documentation is stated that it supports full speed and high speed. USB 3.0 flash memory sticks are super speed. Are there any plans to support USB 3.0 flash memory sticks also? R...