Check SRCLK frequency against 74AHCT595 limit #6

Open
opened 2026-10-30 16:40:40 +01:00 by simon · 0 comments
Owner

Calculated from src/pio/output.pio with clkdiv = 1.0 (16 channels) and a system clock of 133 MHz (fw_side, fw_control_board):

  • One WS2812 bit takes 133 cycles, thus 1 MHz bit rate.
  • In dataloop0 and dataloop1, SRCLK toggles every 2 cycles: 66.5 MHz during these bursts.
  • In dataloop2, SRCLK toggles every 3 cycles: 44.3 MHz.
  • Mean: 16 × 3 × 1 MHz = 48 Mbit/s into the shift register.

Compare the 66.5 MHz with the guaranteed minimum of f_max in the 74AHCT595 datasheet (at the real supply voltage, load and temperature range), not with the typical value.

Calculated from `src/pio/output.pio` with `clkdiv = 1.0` (16 channels) and a system clock of 133 MHz (`fw_side`, `fw_control_board`): - One WS2812 bit takes 133 cycles, thus 1 MHz bit rate. - In `dataloop0` and `dataloop1`, `SRCLK` toggles every 2 cycles: 66.5 MHz during these bursts. - In `dataloop2`, `SRCLK` toggles every 3 cycles: 44.3 MHz. - Mean: 16 × 3 × 1 MHz = 48 Mbit/s into the shift register. Compare the 66.5 MHz with the guaranteed minimum of `f_max` in the 74AHCT595 datasheet (at the real supply voltage, load and temperature range), not with the typical value.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
simon/rp2040_ws2812_driver#6
No description provided.