quire

TSMC

Setup

The image shows the 100T computing unit connected to the TSMC board via a multi-conductor wire harness and terminal block connectors.
tsmc_mb_connection.jpg

The image shows the TSMC board connector layout:
tsmc_connection.jpg

Connection Overview

  • Figure 1: several control between TSMC and 100T, including:
    • IMU: UART
    • i2c control
    • PPS1
  • Figure 2: Connection between TSMC and GMSL board.
  • Figure 3: UART between TSMC and 100T

Figure 1

f_1.png

Figure 2

f_2.png

Figure 3

figure3.jpg

Overview

PlantUML 圖
  • The IMU provides its own internal timestamp.
  • The sensor frame timestamp should be handled at the Thor level. (For camera, standard V4L2 timestamping already uses the SoC timer.)
  • Time_Sync is done by chrony.

TSMC

  • Read Version
sudo i2ctransfer -y 3 w1@0x20 0x04 r32 | tr ' ' '\n' | while read x; do printf "\\x${x#0x}"; done
# output
# S.W.V.=1.0.C
# S.W.V.=1.0.C

Indoor

TSMC (free-running clock)
  │
  ├─ PPS → Camera
  ├─ PPS → IMU
  └─ ToD → Thor (No update)

Thor clock
  │
  └─ PTP → LiDAR
  • Camera and IMU are synchronized by PPS from TSMC.
  • Thor keeps its own local monotonic timebase.
  • LiDAR is synchronized from Thor through PTP.

IMU

Rework CN26 to CN34 cable

Original cable had blue (UART_TXD, pin 6) and green (UART_RXD, pin 5) swapped; rework corrected the wiring.

!cable_swap2.jpg

Read IMU data

Open the UART port:

sudo apt install minicom
sudo minicom -D /dev/ttyAMA10

IMU data output(XBUS binary data)
imu_uart_output.jpg

IMU to PC(CN26 to USB dongle)

This is a diagnostic setup to verify IMU output directly from TSMC CN26 to a PC.

imu_to_pc.jpg

  • white(USB dongle) to blue (TSMC CN26)
  • green(USB dongle) to green (TSMC CN26)
  • black(USB dongle) to black (TSMC CN26)

TSMC CN26 pin define
cn26_pin_define.jpg

IMU ON/OFF

// IMU ON sudo i2ctransfer -y 3 w3@0x20 0x51 0x00 0x01
imu_on.jpg

// IMU OFF sudo i2ctransfer -y 3 w3@0x20 0x51 0x00 0x00
imu_off.jpg

Add another fsync trigger (83k Hz)

Route a wire from TP22 on the GMSL board to MFP7 of U8 (at the IC side of R92)
tp22.jpg
mfp7.jpg