pin EXP2_1 is an alias for stepper_spi_miso_pin
Trying to use mini12864, but when i setup it on printer.cfg I am getting the message from the tittle.
[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi1
Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP2_6
spi_software_sclk_pin: EXP2_2
[output_pin beeper]
pin: EXP1_1
[neopixel btt_mini12864]
pin: EXP1_6
chain_count: 3
color_order: RGB
initial_RED: 0.4
initial_GREEN: 0.4
initial_BLUE: 0.4
If I try with SPI1, I am getting the error message: pin stepper_spi_miso_pin is reserved for spi1
[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
Some micro-controller boards may require an spi bus to be specified:
spi_bus: spi1
Alternatively, some micro-controller boards may work with software spi:
#spi_software_miso_pin: EXP2_1
#spi_software_mosi_pin: EXP2_6
#spi_software_sclk_pin: EXP2_2
[output_pin beeper]
pin: EXP1_1
[neopixel btt_mini12864]
pin: EXP1_6
chain_count: 3
color_order: RGB
initial_RED: 0.4
initial_GREEN: 0.4
initial_BLUE: 0.4
I am using two tmc5160 in SPI mode for X an Y
Board BTT Octopus PRO 446
Any clue?
2 Replies
Just use "stepper_spi_miso_pin" in place of "EXP2_1".. You'll prolly get the same for mosi and sclk. Same thing, just use the stepper_spi_whatever alias instead.
flat-fuchsia•2y ago
thank you Mikkel, working perfect!
[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi1
Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: stepper_spi_miso_pin
spi_software_mosi_pin: stepper_spi_mosi_pin
spi_software_sclk_pin: stepper_spi_sclk_pin
[output_pin beeper]
pin: EXP1_1
[neopixel btt_mini12864]
pin: EXP1_6
chain_count: 3
color_order: RGB
initial_RED: 0.4
initial_GREEN: 0.4
initial_BLUE: 0.4