Duet 3 Mini + Fysetc 12864 Mini display sercom fault

Basic Information:

Printer Model: Voron v0.1
MCU / Printerboard: OrangePi Zero2W / Duet3 Mini 5+
[klippy.log|attachment](upload://alfIbnNfmMLzJXSPDaLpyFL0JtS.log) (117.8 KB)

Describe your issue:

Hi
I know is my 3rd topic in a week, but first all the time I’m looking online for solution and when cant find answer opening new topic.

I had working configuration of Duet3 mini with RRF and Fysetc 12864 mini lcd. I swaped fw to klipper, and this is the last thing need to be done.

When I enable display i have an error:
Invalid SERCOM configuration

when i add:
spi_bus = sercom1
Invalid combination of TX pin and CLK pin

sercom0, sercom2, sercom3, sercom7 causing error:
Invalid SERCOM configuration

What can i do?

You may need to potentially dig into RRF header files for the Mini to get your answer. FWIW, I am using my Mini with the SPI based RTD daughter card which is configured on sercom7 as follows (only pertinent excerpt shown):

[samd_sercom sercom7]
## define PT100 daughter card sercom
sercom: sercom7
tx_pin: PC12
rx_pin: PC15
clk_pin: PC13 

[extruder]
spi_bus: sercom7                        # must be defined earlier

This may help you define sercom1 properly…

Have you reviewd the information here: https://github.com/Klipper3d/klipper/blob/master/config/generic-duet3-mini.cfg and potentially https://github.com/Klipper3d/klipper/blob/f7567a0db954eabe4c6b8da3f73ce68693698646/config/sample-lcd.cfg#L114?

Yes, I do.
But didnt notice order and need to use sercom (in example there is spi_bus: spi and this was unclear for me).

Now my config looks:

[samd_sercom sercom7]
sercom: sercom7
tx_pin: PC12
rx_pin: PC15
clk_pin: PC13

[display]
lcd_type: uc1701
cs_pin: PC6
a0_pin: PA2
spi_bus: sercom7
contrast: 63
encoder_pins: ^PC11, ^PD1
click_pin: ^!PB9

And screen works briliant. THX

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.