Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMC2130 cannot connect #9

Closed
dream111119 opened this issue Jan 31, 2021 · 8 comments
Closed

TMC2130 cannot connect #9

dream111119 opened this issue Jan 31, 2021 · 8 comments

Comments

@dream111119
Copy link

Hello, thank you for your guidance last time. I solved the problem of TFT screen. But when I test tmc2130, I find that it can't be used. I send the M122 command, but the return is not OK. I use bigtree tech tmc2130 v3.0

  1. I'm in pins_ MRR_ESP32 Turn on the chip selection pin of motor drive , and the jumper cap on the hardware is connected correctly
  2. I set it in configuration. h #define X_DRIVER_TYPE TMC2130
@dream111119
Copy link
Author

Question: first, do I have any missing settings?
Second, will tmc2130 use the same SPI as SD card?
Third, can tmc5160 be used normally?

@vivian-ng
Copy link
Collaborator

@dream111119 Please provide more information, such as the actual output from M122, and the relevant portions of Configuration.h and Configuration_adv.h so that people can better understand what the issue is.

@maplerainresearch maplerainresearch deleted a comment from dream111119 Jan 31, 2021
@dream111119
Copy link
Author

M122 output: Testing X connection... Error: All LOW
configuration.h: #define X_DRIVER_TYPE TMC2130
configuration_adv.h:No change
pins_MRR_RSPE.h: open #define X_CS_PIN 21
I only use it on the x-axis

@vivian-ng
Copy link
Collaborator

For a start, please see the manual which contains basic information about the jumpers and wiring that is required for using TMC2130. It also contains information about how to set the CS pins in the configuration files.

The TMC2130 will share the SPI with the microSD card. Please also note this issue here.

@maplerainresearch maplerainresearch deleted a comment from dream111119 Jan 31, 2021
@dream111119
Copy link
Author

I did it according to the manual and also referred to the manual of motor drive, but I still couldn't do it. It's embarrassing. M122 is still a connection failure

@maplerainresearch maplerainresearch deleted a comment from dream111119 Jan 31, 2021
@vivian-ng
Copy link
Collaborator

@dream111119 Is the board and motor powered by VIN (12-24V)? If you are using only USB power (5V), the stepper drivers are not powered and you get connection error.

@vivian-ng
Copy link
Collaborator

@dream111119 Also, I think the place to define the CS pins should be in Configuration_adv.h now. In addition to the steps in the MRR ESPE manual, please also check the Marlin documentation on how to enable TMC2130.

The MRR ESPx series of boards are experimental prototypes and assumes that the user has prior knowledge working with other 3D printer boards (like RAMPS) and Marlin. Otherwise, the learning curve can be quite steep. It is also good to take things in stages. Like first, get the board up and running with a basic setup (single hotend, no heated bed, one fan, A4988 stepper drivers). Once you can get it running a basic setup, then slowly add stuff (like LCD controller, TMC stepper drivers, more controllable fans, NeoPixels, etc.) This was basically my approach too when working on this board.

@vivian-ng
Copy link
Collaborator

Closed due to no further response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants