1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Use this section to discuss your embedded Flowcode projects.
Post Reply
andeug
Posts: 60
http://meble-kuchenne.info.pl
Joined: Thu Jan 07, 2021 1:42 pm
Location: Stockholm (SE)
Has thanked: 19 times
Been thanked: 2 times

Flowcode v11 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Post by andeug »

Hi,


I am working on building a digital clock that uses an STM32 Nucleo and a TPIC6B595 (instead of a 74HC595), with MOSFETs driving each digit.
The display is a Vishay TDCR1050M, common anode, for which I am enclosing its datasheet below:
TDCR1050M.pdf
(240.22 KiB) Downloaded 15 times
I am using this particular display because it has a digit for degrees Celsius (L3), a column (L1 + L2) for blinking seconds, plus DP for an active alarm. Also, the display and such setup have fewer pins, as it is optimized for a multiplexed setup.
Screenshot 2026-02-11 at 15.05.57.png
Screenshot 2026-02-11 at 15.05.57.png (116.92 KiB) Viewed 192 times
How do I use this kind of display in Flowcode 11, when the default component for a 7-segment display already contains 74HC595 shift registers for each digit, rather than a single shift register (TPIC6B595) for all the digits, and multiplexing for each digit? I do not know how to use multiplexing - can someone please show me via a Flowcode file how it should be done?


Thank you,
Andreas
FC11 Professional + ARD + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Click Shield for ST Nucleo-32 + Clicker 4 for ST STM32F407VG

mnfisher
Valued Contributor
Posts: 1855
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 154 times
Been thanked: 875 times

Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Post by mnfisher »

Multiplexing - you need to 'turn on' the individual segments for some of the time - rapidly switching between the different digits by connecting the common (anode or cathode)

Have a look at https://www.flowcode.co.uk/forums/viewt ... g&start=10

Martin

Post Reply