Jump to content

Recommended Posts

Posted (edited)

Hello. BTT says what BTT Pi and CB1 is same, but realy not.

Dunno why i brought what board. But now I owner of this "piece of ****"

So. New board, clean install 

 v25.11.2 for BigTreeTech CB1 running Armbian Linux 6.12.58-current-sunxi64
 Packages:     Debian stable (trixie)

 

armbianEnv:

overlays=gpu tft35_spi
extraargs=fbcon=rotate:2

fbcon=rotate:2 for screen rotation, because armbian not from btt and didn`t have feature like param_tft35_spi_rotate

 

Next, help me to determine how to enable UARTs and I2C

From BIGTREETECH_Pi_V1.2.1 Hardware Pdf

2026-01-27235819.thumb.png.d43f671305ad6421abac66d2ecc23615.png

 

UART0: CPUX-UTX CPUX-RX

UART2 (May work as i2c0; uart2-pi-pins; i2c0-pins ) Pi5 Pi6

UART3 (May work as i2c2; uart3-pi-pins; i2c2-pi-pins ) Pi9 Pi10

I2C (i2c4-ph-pins; spi1-pins): PH6 PH7 (must work, i`ll think i2c4-ph overlay present)

All pins present in sun50i-h616-bigtreetech-cb1-sd, but didnt have overlays for it...

I wish to stay uart0 for u-boot console

first uart setup for klipper connections to mcu.

any help?

 

If I understand right PH6 is 7*32+6=230

gpioinfo output

line 230:       unnamed                 input consumer=kernel
line 231:       unnamed                 input consumer=kernel

 

cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-287, parent: platform/300b000.pinctrl, 300b000.pinctrl:
 gpio-71  (                    |spi0 CS1            ) out hi ACTIVE LOW
 gpio-74  (                    |i2c-gpio            ) out hi
 gpio-75  (                    |spi0 CS0            ) out hi ACTIVE LOW
 gpio-76  (                    |i2c-gpio            ) out hi
 gpio-77  (                    |spi0 CS2            ) out lo
 gpio-78  (                    |dc                  ) out hi
 gpio-166 (                    |:wifi_power         ) out hi
 gpio-207 (                    |:wifi_wake          ) out hi
 gpio-210 (                    |reset               ) out hi ACTIVE LOW
 gpio-229 (                    |led-0               ) out lo ACTIVE LOW

 

Edited by ComProf
Posted (edited)

I`ll already done it.

Switched to original Btt image.

Understand what that board is didn`t love any sd-card. I`ll stopts on AP32GMCSH10UB-RA card.

If card didn't made friends with the board it not boot,reboot`s,power off, halt`s....

IO pins i didnt use.... I`ll swithed to ch340 as uart, because it`s understand 3.3 and 5v levels. The board only 3.3

CAN i use on RP2040+can chip, what cost only 5$(in total), not 15$ for btt can.

in a end of can bus i`ll use EBB42 so it`s have all i need.... It`s about I2C bus.

 

Thats my story

If u need help, free to ask. I`ll will help if i coud

Edited by ComProf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines