Recently Upgraded to Klipper -- Please help fix bugs

Basic Information:

Printer Model: TRONXY X5SA PRO
MCU / Printerboard: MKS MONSTER 8 V2.0 – TMC 2209 with the UART pin enabled
Host / SBC: BTT PI V.1.2
klippy.log klippy.log (64.1 KB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Hello and thank you for any help in advance. I am very new to Klipper and firmware stuff in general. I have a fairly modded Tronxy with a few bugs. A kind person helped set this up but I feel I may learn a little if I get help this way. Issues are as follows

I cannot get the correct Rotation distance set on my 2 z steppers if I set it to 8 it moves far too much and 16 helps but I feel there is something not right here.

The Resonance tests fail to work on my Accelerometer but is mostly set up from what I can tell. — FLY-ADX345

Can paste config if asked for

This is a cut down config for my stepper_z and stepper_z1 section.

You need to get rotation_distance correct; the micro-steps do not matter from a distance travel point of view, as long as they are the same.

[stepper_z]
# Rotation Distance for TR8x8 = 8, TR8x4 = 4, TR8x2 = 2
rotation_distance: 4
microsteps: 16

[stepper_z1]
rotation_distance: 4
microsteps: 16

I think my issue may be in here

########################################
# TMC UART configuration
########################################

[tmc2208 stepper_x]
uart_pin: PE6
run_current: 0.8
hold_current: 0.5
stealthchop_threshold: 999999

[tmc2208 stepper_y]
uart_pin: PE3
run_current: 0.8
hold_current: 0.5
stealthchop_threshold: 999999

#[tmc2208 stepper_z]
#uart_pin: PB7
#run_current: 0.8
#hold_current: 0.5
#stealthchop_threshold: 999999

[tmc2208 extruder]
uart_pin: PB3
run_current: 0.8
hold_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 999999

#[tmc2208 extruder1]
#uart_pin: PD4
#run_current: 0.8
#hold_current: 0.5
#stealthchop_threshold: 999999

#[tmc2208 extruder2]
#uart_pin: PD0
#run_current: 0.8
#hold_current: 0.5
#stealthchop_threshold: 999999

#[tmc2208 extruder3]
#uart_pin: PD15
#run_current: 0.8
#hold_current: 0.5
#stealthchop_threshold: 999999

#[tmc2208 extruder4]
#uart_pin: PD11
#run_current: 0.8
#hold_current: 0.5
#stealthchop_threshold: 999999

Are you using TMC drivers for the z-steppers as well? If yo, you do not have them specified in the config.