abstract: this application note describes a pc program, downloadable free, to assist design, evaluation, font design with max6950 and max6951 7-segment led display drivers.
the max6950 and max6951 are five-digit and eight-digit common-cathode led display drivers controlled through a high-speed spi serial interface. this application note describes a utility program that allows a max6950 or max6951 driver to be controlled from a pc. the utility can be used stand-alone simply to help an engineer become familiar with the registers and functions of the drivers. moreover, it can be used to prove a display board prototype by directly controlling the max6950 or max6951 registers before the equipment's software is designed.
requirementsthe requirements are a pc running windows 95, 98, 98se, me, nt, or 2000, with a parallel printer port configured for either lpt1 or lpt2.
descriptionthe utility is a visual basic 5 program called max6950.exe that requires the standard visual basic run-time library msvbvm50.dll in order to run at all. the program uses the driverlinx™ freeware parallel port driver dlportio.dll that provides the win32 dll hardware i/o functions not available as standard in visual basic. windows nt and 2000 users also require the dlportio.sys kernel mode driver. both of these drivers are copyright scientific software tools, inc. (www.driverlinx.com). driverlinx is a registered trademark of scientific software tools, inc.
installationto install to a windows 95, 98, 98se, or me platform, download the max6950-95.exe file. this is a winzip self-extracting archive that contains readme.txt, readmesst.txt, max6950.exe, dlportio.dll, and msvbvm50.dll. the default download directory is c:\max6950. msvbvm50.dll can be deleted if the library is already registered on the computer.
to install to a windows nt or 2000 platform, download the max6950-nt.exe file. this is a winzip self-extracting archive that contains readme.txt, readmesst.txt, max6950.exe, port95nt.exe, and msvbvm50.dll. the default download directory is c:\max6950. port95nt.exe is the install program for the driverlinx drivers that installs and registers the dlportio.dll library and dlportio.sys driver. port95nt.exe can be deleted after installation. windows 95, 98, 98se, or me users can also use this installation procedure.
source codethe source code for this application note is available http://www.maxim-ic.com/products/display/software/.
connecting a max6950 or max6951 to the parallel portthis utility uses three of the eight parallel port printer output lines to simulate spi serial interface activity. you can select either the lpt1 or lpt2 port from the software. the port can be a standard ecp or epp type. the connections are shown in figure 2.
figure 1. max6950 or max6951 connections to the parallel port.
the max6950 or max6951 spi port pins can be connected directly as shown above only if the connection is short (certainly less than 1m) and the max6950 or max6951 is running from a +5v supply. the reason for the short connection requirement is that the max6950 and max6951 have a very fast (26mbits-1) responding serial interface that is sensitive to spikes and glitches picked up over a long cable. the pc outputs are nominally ttl level, but they can be 5v cmos level, depending on the exact implementation. the max6950 and max6951 inputs must not exceed the supply voltage, so a direct connection mandates the max6950 or max6951 running from a +5v supply. the max6950 and max6951 inputs switch at fairly low logic thresholds (0.4v maximum, 2.4v minimum), making them compatible with ttl independent of their supply voltage.
it is recommended that the three spi signals are each connected through a termination network, as shown in figure 2. the termination performs the following functions:
r1 limits the fault current flow when the pc signal is high at 5v and the max6950 or max6951 is running from a lower supply. the current is steered by the max6950 or max6951's input protection diodes into the supply. the worst-case current is less than 5ma, which can be driven safely into the max6950 or max6951 this way.
r2 provides a pull-up to the max6950 or max6951's supply rail, assisting the weak ttl logic high drive over a longer cable. it also keeps the spi cs-bar input de-asserted.
c1 provides a small glitch filter by making a one-pole filter with r1 and r2 with a time constant of about 100ns. the program runs the spi interface somewhere between 100kbits-1 and 1mbits-1 (depending on the pc), so the filter does not affect the interface speed.
figure 2. recommended spi interface termination network.
the interface connection to the parallel port can be tested with the test stream facility that can be found under configuration instructions when the program is running. the test stream facility transmits the no-op instruction continuously to the max6950 or max6951 (if connected), allowing the interface connections to be verified.
figure 3. program display on startup.
远程连接一个MP377分屏的操作步骤
三星电子连亏三季,半导体事业部今年亏损已超8万亿
光电传感器和光纤传感器的区别是什么
智能巡检机器人提高了轨道系统运行的安全与稳定性
家电行业4家巨头占据半壁江山,盈利超10%
从PC中试验MAX6950和MAX6951 LED显示驱动器
CEVA-XM4图像和视觉 DSP 获得Linley Group评为“2015年最佳处理器IP”
从工具到“外脑”,手机进入真AI时代是否能够崛起?
倪光南院士:建议存储设备的政府采购、招标优先支持SSD而非机械硬盘
红外取暖器电路原理图
栅极驱动器如何影响PFC电路的性能
恩智浦大中华区主席李廷伟:携手推动汽车产业创新,打造可持续发展未来!
家务活全包 你是否愿意雇个机器人钟点工
一种基于新型面中心网格结构的时域电磁计算方法及其边界条件
如何设置 Cloudflare 的免费 DNS 服务——世界上最快、最私密的服务
美曾建全国防疫系统,但未用于新冠
基于一种用于医学图像分割的方法
中国OLED手机屏将在下半年进入关键突破期
余承东发微博表示:华为+荣耀很可能成为全球第一手机厂商
深圳市金航标Kinghelm电子有限公司乔迁