Problems with USART1

Basic Information:

Printer Model: AnetA8 plus
MCU / Printerboard: btt skr3
Host / SBC Raspberry pi1
klippy.log
klippy.log (105.7 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

Hello everyone, I have this problem.

I used to connect the Raspberry Pi to the printer via USB, but then I decided to connect it through the TFT port USART1.
I followed the Klipper instructions and have tried several times, but at the moment I can’t get the Raspberry Pi to connect to the SKR3.
Can anyone help me?"

You’re going to need to provide more information.

  1. What is the actual Main Controller Board are you using (“btt skr3” can mean quite a few different ones)?
  2. You’re using a Raspberry Pi 1? You know that for Klipper, a Raspberry Pi 3 is considered the minimum.
  3. Where did you get your information for making the connection?
  4. How did you make your serial connection between the rPi and the skr3? Photos would be helpful here.

Big question I have, is if you had a working USB connection between the rPi and the skr3, why did you change it?

I’ll give you some answers to your questions:
1 The board is a BTT SKR3 with the SMT32H743 chip.
2 I’m not sure, maybe it’s because it lacks WiFi? I solved it with an external USB antenna.
3 I got the information from this website that was suggested to me
SKR-3/Firmware/Klipper/README.md at master · bigtreetech/SKR-3 · GitHub
4

I built a box for the printer to hold both the SKR3 and the Pi1, but the USB cable went around the outside, and if I accidentally bumped it, the Raspberry Pi would turn off. I hope I’ve been clearer so that you can help me in some way.

Please answer all questions as completely as possible - providing more information and anything that you think might be helpful is never a problem. There is nothing that you can do that we haven’t seen before and we won’t embarrass you over bad wiring or whatever.

Things will go smoother and faster if you don’t turn this into an episode of “House”.

Okay,. I’ve found the information on it.

Actually it’s because Raspberry Pi’s that are earlier than the 3 do not have sufficient computing power to handle Klipper.

Can you confirm that you actually have a Raspbery Pi 1 - a picture of it would be nice. A picture including the Serial connection to the SKR 3 would be even better.

This could be the cause of your problems - when I looked through your klippy.log, there are a lot of mcu 'mcu': Timeout on connect errors.

This is three years old. Did you follow the instructions explicitly and what deviations did you make? It look like youi’ve built new Klipper firmware for your board using the Raspberry Pi - this is a good thing.

Did you run ls /dev/serial/by-id to get your serial = /dev/ttyAMA0 connection?

Which pins on the Raspberry Pi are you connecting to?

Not what I was asking for. I wanted to see the cable and how it connects to the SKR 3 and the Raspberry Pi.


Serial connections are a lot harder to set up and get working reliably than USB ones; I can say that with experience.

Please answer the questions above and let’s see what we can do about getting you up and running.

I seriously suggest that you consider getting a Raspberrly Pi 4B+ as your host. The rPi 1 that you’re using may be the reason that you’re having the problems but you’ll find that things work better and run faster with the newer rPi.


I’ve seen people have this issue before a number of times and their solution to the issue, like you, is to go to a serial connection and the question that I always have to ask is: why don’t you design and print a bigger box that gives better protection to the USB cable? As I said, USB connections are a lot simpler with no need to make your own cables.

You should also take a look at Thingiverse.com and see if somebody has had the same issue and have designed an enclosure that you can print and use.

Sorry, I didn’t read the post from hfintegrale carefully. My bad!

@hfintegrale Did you try to swap PA10 and PA9" Meaning swapping TX and RX when your RPi is working?

How old is your RPi 1?

Could be, there is a hardware defect on that board or with the power supply.

My fault, the Raspberry is a Pi 2 from 2014. I just found out now that I took the picture.

1 Like

1 Like

1 Like

1 Like

1 Like

1 Like

1 Like

That’s really helpful - that’s what I’m looking for.

Now, it looks like you’re powering the Raspberry Pi 2 from the BTT SKR 3 board. Is that correct?

If it is, could you disconnect the 5V line to the rPi and power it from a Raspberry Pi power supply? Leave the other three lines (GND, RX & TX) in place.

I am wondering about the draw the Raspberry Pi 2 (and WiFi adapter) has on the SKR 3 5V power supply. If it’s too great, then it may cause the MCU on SKR 3 to brown out, leading to the problems that you’re having.