GPIO pins for UART0 klipper control does not work
- Dominant language
- No language data
- Stars
- 496
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
Im on the BTT Pi v1.2 with TFT screen running the CB1 build as directed by the official github documentation.
Ive set up the overlay just for the tft35_spi and set the console=serial to release uart0 to be used for serial communication with klipper. After setup klipper showed timeout for communication with the printer mcu.
I ran cat /proc/codeine and ttys0 initialized, but gpioinfo on line 224 and 225 showed that they're held by the kernel.
I ended up shorting pins 8 and 10 to do a loopback in minicom and get nothing received.
Im by no means an expert on linux but I feel like ive exhausted my ability to troubleshoot this (ive reflashed the image and googled like crazy for a solution)
Is the current builds kernel permanently holding those pins?
Hoping someone can point me in the right direction. TYIA
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the CB1 build's TFT overlay and the console=serial setting, then inspect GPIO ownership with gpioinfo on lines 224 and 225 and verify the UART loopback in minicom. Done means UART0 pins are released for serial communication and Klipper no longer reports an MCU timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100