28BYJ-48 Controlled by ESP32-C3-SuperMini and TMC2209

The best bet would be to upload the sketch (the .fzz file, upload is 7th icon from the left in the reply menu and accepts .fzz files.) It is currently unclear to me what driver you are using (it doesn’t appear to be the unl2003 driver from this post:

and it is therefore not possible to look at where the wires go which would be required to figure out much of anything. Assuming your parts are configured correctly (which they may not be) you should be able to drag the motor on the the connector for the motor driver which will populate the wires in schematic view and tell you (and us) what the connections are. Your sketch should allow me to make it do that (although I may have to modify the parts.)

Peter