Search found 9 matches

by BinaryPoet
Fri Jun 21, 2024 3:27 pm
Forum: ESP-IDF
Topic: Flashing bin while launching debugger
Replies: 0
Views: 813

Flashing bin while launching debugger

Hello, if I flash my bin and then run the debugger everything is fine. When I try to flash the bin as described in the documentation: mon reset halt mon program_esp ${workspace_loc:myApp/build/myAapp.bin} 0x10000 verify it does not work. On the console I see couldn't open C:WorkspaceESP32ESP-IDFesp3...
by BinaryPoet
Wed Jun 19, 2024 3:12 pm
Forum: ESP-IDF
Topic: ESP32-S3 CONSOLE using USB/JTAG port
Replies: 1
Views: 506

ESP32-S3 CONSOLE using USB/JTAG port

Hello, in my custom board based on ESP32-S3 I have a USB to UART device connected to the UART0. Then I have the inner USB/JTAG connected which allows me JTAG debugging. At the moment I use the external USB to UART as shell console. I see the log on both UART (the UART0 and the port created by the in...
by BinaryPoet
Thu May 23, 2024 7:10 am
Forum: ESP-IDF
Topic: High Frequency (MHz) clock output from ESP32-S3
Replies: 3
Views: 2073

Re: High Frequency (MHz) clock output from ESP32-S3

Thank you for your reply, ESP_Sprite. Aside from that, the -S3 LEDC should be capable of generating up to at least 20MHz, possibly 40MHz. Can you post how you're configuring that peripheral? This comforts me. Yesterday the frequency limit was 16KHz today I am not able to output more than 5KHz. The g...
by BinaryPoet
Wed May 22, 2024 11:38 am
Forum: ESP-IDF
Topic: High Frequency (MHz) clock output from ESP32-S3
Replies: 3
Views: 2073

High Frequency (MHz) clock output from ESP32-S3

Hello, I need to output a clock signal in the range 8-20Mhz from the IO15 of an ESP32-S3. I had this function previously on ESP32-WROOM using ledc but now discover that ESP32-S3 does not support LEDC_HIGH_SPEED_MODE and the maximum output frequency I get is 16KHz. However there are peripheral (such ...
by BinaryPoet
Tue May 21, 2024 11:49 am
Forum: ESP-IDF
Topic: ESP-IDF 32bit register SPI read/write
Replies: 1
Views: 838

Re: ESP-IDF 32bit register SPI read/write

Finally I get the SPI working by setting the address bits to 8: spi_device_interface_config_t devcfg; devcfg.clock_speed_hz = 10*1000*1000; //Clock out at 10 MHz devcfg.mode = 0; //SPI mode 0 devcfg.spics_io_num = (stepperAZ_AR == stepper ) ? PIN_NUM_CS1 : PIN_NUM_CS2;//CS pin devcfg.queue_size = 8;...
by BinaryPoet
Mon May 20, 2024 3:33 pm
Forum: ESP-IDF
Topic: ESP-IDF 32bit register SPI read/write
Replies: 1
Views: 838

ESP-IDF 32bit register SPI read/write

Hello, I am trying to read/write 32 bit registers from stepper driver TMC5240 using a ESP32S3 CPU. According to stepper DS, the write operation should be performed writing the register address + 0x80 followed by 32 bit register values. For example, for a write access to the register (VACTUAL), the a...
by BinaryPoet
Tue May 14, 2024 4:00 pm
Forum: ESP-IDF
Topic: Include component header
Replies: 1
Views: 434

Include component header

Hello, I started a new project using the "ledc_basic_example" template. The main includes "driver/ledc.h" end everything build fine. Then I added a component. I include the component header, let say "mycomponent.h" into the main, but when compiling this header is not found. So I changed the CMakeLis...
by BinaryPoet
Wed Feb 07, 2024 9:45 am
Forum: ESP32 Arduino
Topic: Bluetooth Serial with iPhone
Replies: 0
Views: 998

Bluetooth Serial with iPhone

I have implemented a firmware based on the the Bluetooth Serial following the examples provided here . On the main page it is said that apps for Android and iOS are available (in particular hm10-bluetooth-serial-lite for iOS). Everything works with Windows and Android but with iOS it looks impossibl...
by BinaryPoet
Thu Nov 30, 2023 9:36 am
Forum: ESP-IDF
Topic: ESP32-S3 Console + DFU using internal USB
Replies: 1
Views: 3080

ESP32-S3 Console + DFU using internal USB

Hello! For a new project with ESP32-S3 I would use the internal USB-PHY for: - Serial Console - DFU From the documentation (https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/dfu.html) I understand tha I have to burn the USB_PHY_SEL eFuse. Is there a way to upgrade firmware usi...