@jay_s_uk
I kinda got what you meant. I tried using the following parameters and not It is not making noise anymore and works properly.
M915 X Y S5 R1 F1 H2 ; set sensorless homing
Do I need to put the same M915 at the end of my config.g after the endstop section? (instead of M915 X Y R0 F0)
Also, using a Biqu microprobe as Z sensor - Should I use the same parameters for Z axes such as D3 for stealthchop? Does my homez looks good:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.5.8 on Tue Dec 10 2024 15:03:23 GMT-0500 (Eastern Standard Time)
; ################# Home Z Preparation ################
G91 ; Relative mode
G1 H2 Z5 F5000 ; Lower the bed
G90
var xCenter = move.compensation.probeGrid.mins[0] + (move.compensation.probeGrid.maxs[0] - move.compensation.probeGrid.mins[0]) / 2 - sensors.probes[0].offsets[0]
var yCenter = move.compensation.probeGrid.mins[1] + (move.compensation.probeGrid.maxs[1] - move.compensation.probeGrid.mins[1]) / 2 - sensors.probes[0].offsets[1]
G1 X{var.xCenter} Y{var.yCenter} F4000 ; go to bed centre ; Back to absolute positioning
; ################# Home Z Preparation ################
G30 ; Probe a single point