Fly Super8 mixing SPI and UART drivers: config?
-
Hi Guys,
I want to run QHV5160 drivers from the three HV sockets. The rest are TMC2209/2225 drivers in UART config.
How can I tell FW3.3 that there are SPI drivers?M122 doesn't recognise them with this board.txt
//Config for Fly-Super8 board = fly_super8 //WiFi pins 8266wifi.espDataReadyPin = PD.13; 8266wifi.TfrReadyPin = PD.11; 8266wifi.espResetPin = PD.10; 8266wifi.serialRxTxPins = {PD.9,PD.8}; serial.aux.rxTxPins = {A.10, A.9}; heat.tempSensePins = { adc0 , adc1, adc2, adc3, adc4, adc5 } stepper.enablePins = { F.11, F.14, G.1, E.9, F.2, C.15, G.4, G.7, G.15, G.13, G.14} stepper.stepPins = { E.2, E.3, E.4, E.14, E.15, E.1, E.0, E.6, A.7, B.7, A.6 } stepper.directionPins = { C.5, F.13, G.0, E.8, E.11, F.0, G.3, G.6, B.6, A.4, A.5 } stepper.TmcUartPins = { C.4, F.12, F.15, E.7, E.10, F.1, G.2, G.5, C.13, G.8, E.13 } stepper.numSmartDrivers = 11
Thx for any leads
-
@o_lampe See the stepper.num5160Drivers board.txt entry, you basically tell the firmware how many of the smart drivers are 5160 based. You will also need to configure the stepper.spiChannel entry to tell the firmware which spi channel to use to talk to them. You will also need to set the jumpers on the board appropriately. The 5160 drivers must be the lowest numbered drivers, so if you have 3 5160s they must be in slots 0, 1, 2. Sorry I don't have access to my super8 configuration at the moment so I can't supply the specifics.