# 32×64 HUB75 panel stays off or shows scrambled output with Adafruit HAT (SM16380SC)

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/32x64-hub75-panel-stays-off-or-shows-scrambled-output-with-adafruit-hat-sm16380sc/1121>\
**Category:** Uncategorized\
**Created:** [September 16, 2025, 6:35pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/32x64-hub75-panel-stays-off-or-shows-scrambled-output-with-adafruit-hat-sm16380sc/1121 "2025-09-16T18:35:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vis](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@Vis](https://rpi-rgb-led-matrix.discourse.group/u/Vis)\
**Post date:** [September 16, 2025, 6:35pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/32x64-hub75-panel-stays-off-or-shows-scrambled-output-with-adafruit-hat-sm16380sc/1121/1 "2025-09-16T18:35:30Z")

</div>

# Hardware Setup

- Raspberry Pi 3B+
- Adafruit RGB Matrix + Real Time Clock HAT
- HUB75 32×64 LED panel (non-standard, mixed-chip variant)
- Ribbon cable (HAT → panel)
- Power: LRS-100-5 Meanwell feeding the HAT, Pi powered through the HAT

**Panel ICs observed:**

- SM16380SC (LED driver)
- RUC7258D (row/scan driver)
- DP245D (timing/buffer IC)

* * *

# Software Environment

- OS: Raspberry Pi OS Bookworm
- Library: hzeller/rpi-rgb-led-matrix (latest pull)
- Demo command used:  
sudo ./demo --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=64 -D 0

* * *

# Issue Description

- Running the demo initially produces no output.
- If the HUB75 ribbon is disconnected, some LEDs flicker randomly.
- Reconnecting makes the matrix react to commands, but the display is scrambled: animations distort, colors are wrong, and movement looks erratic.

This behavior resembles what others have seen with panels that need special initialization for unsupported driver ICs.

* * *

# Steps Already Tried

- Disabled onboard audio in `config.txt` (`dtparam=audio=off`).
- Tested both `--led-gpio-mapping=adafruit-hat` and the default mapping.
- Verified ribbon cable orientation (pin 1 → pin 1).
- Ran demos with `--led-no-hardware-pulse` (result: flicker, still scrambled).
- Checked power stability from the LRS-100-5; Pi is powered through the HAT.
- Tried `--led-panel-type=FM6126A` and `--led-panel-type=FM6127` (incompatible).
- Tested the FM6126 reset script (`resetmatrix.py`), no effect on this SM16380-based panel.

* * *

# Observations

- Random flicker with the ribbon detached is consistent with floating inputs.
- With the ribbon connected, the panel shows activity but outputs are garbled, suggesting the ICs aren’t initialized correctly.
- The progression (no output → flicker → scrambled) aligns with known cases of unsupported chips.

* * *

# Request for Help

This panel uses SM16380, RUC7258D, and DP245D ICs, and doesn’t respond to existing `--led-panel-type` options.

- Has anyone managed to drive SM16380-based panels with this library?
- Is there a known init/reset sequence for these chips?
- Would adapting the library or writing a custom init script be the way forward?

* * *

# References

- [Issue #745](https://github.com/hzeller/rpi-rgb-led-matrix/issues/745)
- [Discourse: SM16380SH panel](https://rpi-rgb-led-matrix.discourse.group/t/led-panel-p2-6-250x250-mm-96x96px-with-sm16380sh/1030/2)

---

<div class="post-metadata">

**Author:** ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)\
**Post date:** [September 16, 2025, 7:38pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/32x64-hub75-panel-stays-off-or-shows-scrambled-output-with-adafruit-hat-sm16380sc/1121/2 "2025-09-16T19:38:39Z")

</div>

> **[GitHub - hzeller/rpi-rgb-led-matrix: Controlling up to three chains of 64x64, 32x32,...](https://github.com/hzeller/rpi-rgb-led-matrix?tab=readme-ov-file#panels-supported)**
>
> Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

gives a link to [Led\_drivers · board707/DMD\_STM32 Wiki · GitHub](https://github.com/board707/DMD_STM32/wiki/Led_drivers)

and it says SM16380 is SM-PWM, which will not work with and library that does pixel pushing line by line along with PWM refresh

---

<div class="post-metadata">

**Author:** ![board707](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@board707](https://rpi-rgb-led-matrix.discourse.group/u/board707)\
**Post date:** [September 16, 2025, 9:07pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/32x64-hub75-panel-stays-off-or-shows-scrambled-output-with-adafruit-hat-sm16380sc/1121/3 "2025-09-16T21:07:44Z")

</div>

> [@Vis](#):
>
> Has anyone managed to drive SM16380-based panels with this library?

No

> [@Vis](#):
>
> Is there a known init/reset sequence for these chips?

See this:

> <https://github.com/hzeller/rpi-rgb-led-matrix/issues/466#issuecomment-2663327444>
>
> Does anybody sucessfull make control led matrix 64x32 with mbi5153 (icn2053) le…d driver ic
> New matrix P5 64x32 comes with new IC led driver (Same as P2.5 matrix)
> P5 Matrix with mbi5038 (icn2038) ic led driver works fine on this project (only transform passed)
> Any idea ?
> Thanks.
