Jump to content

Recommended Posts

Posted

Hi,

I would like to ask for some clarification on the number of DOUTx4 boards needed for an LC unit. Here is my case. I do not want to have the LED rings or meters but I do want to have the seven segment displays (digits). I have looked at the srio code and it appears the code expects 16 serial registers with registers 0x08-0x0B connected to the led rings and 0x0C-0x0F connected to the digits displays. Since I don't have the rings are the digits connected to registers 0x08-0x0B and registers 0x0C-0x0F not required to exist?

Any help here would be appreciated, thanks.  :)

Posted

Hi,

set

#define LEDRINGS_ENABLED      0      ; if 1, ledrings are enabled
#define METERS_ENABLED            0      ; if 1, meters are enabled
and use the now unused DOUT registers for the leddigits:
#define LEDDIGITS_ENABLED            1      ; if 1, leddigits are enabled
#define LEDDIGITS_SR_SEGMENTS_1            8      ; shift register which drives the segments of digit 7-0 (right side)
#define LEDDIGITS_SR_SELECT_1            9      ; shift register which selects the digits 7-0
#define LEDDIGITS_SR_SEGMENTS_2            10      ; shift register which drives the segments of digit 15-8 (left side)
#define LEDDIGITS_SR_SELECT_2            11      ; shift register which selects the digits 15-8

Best Regards, Thorsten.

Posted

Hi TK,

Thanks for the quick reply. :) I thought it worked that way but wanted to be sure before I make new PCBs. I am distributing the shift register chips across several PCBs to eliminate the bulk of the cables. There will be no cables for the buttons, encoders and LEDs only the shift register clock, load and data signals will be cables.

Once again thanks for your answer.

Regards,

Synapsys

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...