Search found 15 matches

by ccrause
Thu Oct 03, 2024 5:37 am
Forum: General Discussion
Topic: ESP32 Board for High-Speed Stepper Motor Control
Replies: 2
Views: 931

Re: ESP32 Board for High-Speed Stepper Motor Control

As mentioned, use a hardeware peripheral to generate the step pulses: https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/api-reference/peripherals/mcpwm.html Also use a stepper driver board such as A4988 (cheap) or DRV8825 (more features) for fancy functionality such as micro stepping and c...
by ccrause
Sat Aug 24, 2024 6:35 am
Forum: General Discussion
Topic: xtensa calling convention: arguments pre-extended, post-extended, or both?
Replies: 1
Views: 934

Re: xtensa calling convention: arguments pre-extended, post-extended, or both?

In the ISA summary for LX architectures, there is a section (10.1.4 Argument passing) that states: All arguments consist of an integral number of 4-byte words. Thus, the minimum argument size is one word. Integer values smaller than a word (that is, char and short) are stored in the least significan...
by ccrause
Mon Apr 15, 2024 6:07 am
Forum: General Discussion
Topic: Connection timed out when trying to debug.
Replies: 5
Views: 6304

Re: Connection timed out when trying to debug.

To see more debug information add -d to the openocd command line. Hopefully the cause will be revealed in the more information dense output.
by ccrause
Mon Apr 15, 2024 5:56 am
Forum: General Discussion
Topic: Servo stops working and works again after 15 minutes of trying.
Replies: 2
Views: 733

Re: Servo stops working and works again after 15 minutes of trying.

Just a guess - is an I2C bus error causing a stall in communication? Are you tracking the status of each I2C call? Does the problem persist after a power cycle to all components (since this will clear the I2C state of all I2C components)? Do you ensure that the I2C communication between the two devi...
by ccrause
Wed Feb 28, 2024 5:29 am
Forum: General Discussion
Topic: ESP32-Serial Port 2 + RX320/321 communications issue
Replies: 1
Views: 746

Re: ESP32-Serial Port 2 + RX320/321 communications issue

Can you trace TX & RX signals at the Esp32 when the radio is switched on? There may be stray noise that interferes with the reception of the serial data. At this low baud rate you don't need a fancy scope.
by ccrause
Sun Jan 28, 2024 3:19 pm
Forum: General Discussion
Topic: Padding Bytes between Instructions in Disassembly
Replies: 2
Views: 1184

Re: Padding Bytes between Instructions in Disassembly

As a side note: the differences in generated assembly between the two tools are due in part to different scanning algorithms. See e.g. this StackExchange discussion: https://reverseengineering.stackexchange.com/a/2581
by ccrause
Sun Jan 28, 2024 1:57 pm
Forum: General Discussion
Topic: Using 2 ESP32 simultainly in CPU
Replies: 1
Views: 805

Re: Using 2 ESP32 simultainly in CPU

wgps2024 wrote:
Fri Jan 26, 2024 6:18 pm
All my COM ports are working good but when I connect both in my computer occurs an error.
Not a lot of detail to work with. What is the error message? What software are you using to communicate with the serial ports?
by ccrause
Sun Apr 16, 2023 5:18 am
Forum: General Discussion
Topic: v5.1 official release date
Replies: 3
Views: 2718

Re: v5.1 official release date

The 5.1 development branch was created in August 2022. Based on previous cycles, it may take about a year to reach a release candidate, then a couple of months of testing the release candidates. So possibly October - December of 2023 would be my guess.
by ccrause
Thu Feb 23, 2023 10:33 am
Forum: General Discussion
Topic: Accurate onboard ADC reading + WiFi // is it even possible?
Replies: 5
Views: 3350

Re: Accurate onboard ADC reading + WiFi // is it even possible?

Can you correctly read a fixed voltage (say from a 1.5V battery) on one of the ADC pins to verify that the ADC is correctly configured?

Are you using ADC2? Note these limitations: https://docs.espressif.com/projects/esp ... imitations
by ccrause
Tue Sep 06, 2022 5:14 pm
Forum: Hardware
Topic: ESP32 Source code Debug
Replies: 6
Views: 3090

Re: ESP32 Source code Debug

ESP_Sprite wrote:
Fri Aug 26, 2022 11:23 am
I imagine you mean the ESP32 DevKitC v4? That one does not have an USB-to-JTAG bridge onboard, sorry.
Using an FT2232H or FT232H board is not that expensive and works quite well (FT2232H is used on the ESP-WROVER-KIT).