Connectivity - Digilent Basys MX3 Reference Manual

Hide thumbs Also See for Basys MX3:
Table of Contents

Advertisement

Basys MX3™ Board Reference Manual
A scanning display controller circuit can be used to show a 4-digit number on this display. This circuit drives the
anode signals and corresponding cathode patterns of each digit in a repeating, continuous succession at an update
rate that is faster than the human eye can detect. Each digit is illuminated just one-fourth of the time, but because
the eye cannot perceive the darkening of a digit before it is illuminated again, the digit appears continuously
illuminated. If the update, or "refresh", rate is slowed to around 45Hz, a flicker can be noticed on the display.
To make each of the four digits appear bright and continuously illuminated, all should be driven once every 1 to
16ms, with a refresh frequency of about 1kHz to 60Hz. For example, if every digit is refreshed every 3ms,
corresponding to a frequency of 333Hz, the entire display will be refreshed every 12ms. The controller must drive
low the cathodes with the correct pattern when the corresponding anode signal is driven high.
To illustrate the process:
1. If AN0 is asserted while CB and CC are asserted, then a "1" will be displayed in digit position 1.
2. If AN1 is asserted while CA, CB, and CC are asserted, a "7" will be displayed in digit position 2.
3. If AN0, CB, and CC are driven for 4ms, and then AN1, CA, CB, and CC are driven for 4ms in an endless
succession, the display will show "71" in the first two digits. An example timing diagram for a four-digit
controller is shown in Fig. 7.4.
Cathodes
Please note that the two dots (situated between the middle digits) are not connected.
7.1

Connectivity

Name
AN0
AN1
AN2
AN3
CA
CB
CC
CD
CE
CF
CG
DP
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Refresh period = 1ms to 16ms
Digit period = Refresh / 4
AN0
AN1
AN2
AN3
Digit 0
Digit 1
Figure 7.4. 4-digit scanning display controller timing diagram.
PIC32 Pin
AN12/PMA11/RB12
AN13/PMA10/RB13
VREF-/CVREF-/PMA7/RA9
VREF+/CVREF+/PMA6/RA10
TRD1/RG12
RPA14/RA14
PMD14/RD6
TRD0/RG13
RG15
PMD15/RD7
PMD13/RD13
TRD2/RG14
Table 7.1. Seven-segment connectivity.
Digit 2
Digit 3
Description
Anode 0 pin
Anode 1 pin
Anode 2 pin
Anode 3 pin
Cathode A pin
Cathode B pin
Cathode C pin
Cathode D pin
Cathode E pin
Cathode F pin
Cathode G pin
Cathode DP (decimal point)
pin
Page 22 of 56

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Basys MX3 and is the answer not in the manual?

Questions and answers

Table of Contents