How can I control extenal devices such as 7segment LED , 16x2 LCD by using impulseC in microblaze system ?
How to control LCD
Started by kamejoko80, Aug 21 2007 07:07 PM
2 replies to this topic
#1
Posted 21 August 2007 - 07:07 PM
Hi! I'm a new bie !
How can I control extenal devices such as 7segment LED , 16x2 LCD by using impulseC in microblaze system ?
How can I control extenal devices such as 7segment LED , 16x2 LCD by using impulseC in microblaze system ?
#2
Posted 22 August 2007 - 07:17 PM
QUOTE (kamejoko80 @ Aug 21 2007, 09:07 PM) <{POST_SNAPBACK}>
Hi! I'm a new bie !
How can I control extenal devices such as 7segment LED , 16x2 LCD by using impulseC in microblaze system ?
How can I control extenal devices such as 7segment LED , 16x2 LCD by using impulseC in microblaze system ?
Hi,
Direct control of external devices such as these is usually done through the use of co_register's for each signal in and out of the device along with co_port's to expose the in/out signals for the co_registers within the HDL which you then must manually connect up to the device signals. From within Impulse C you can basically bit-bang the interface just as you would using a CPU with the device attached to an I/O register.
For a simple example of this, please see the up-down counter example located in the CoDeveloper install directory: "C:\Impulse\CoDeveloper2\Examples\Generic\UpDownCounter"
Ed
Ed Trexel
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#3
Posted 23 August 2007 - 03:47 AM
QUOTE (etrexel @ Aug 23 2007, 12:17 PM) <{POST_SNAPBACK}>
Hi,
Direct control of external devices such as these is usually done through the use of co_register's for each signal in and out of the device along with co_port's to expose the in/out signals for the co_registers within the HDL which you then must manually connect up to the device signals. From within Impulse C you can basically bit-bang the interface just as you would using a CPU with the device attached to an I/O register.
For a simple example of this, please see the up-down counter example located in the CoDeveloper install directory: "C:\Impulse\CoDeveloper2\Examples\Generic\UpDownCounter"
Ed
Direct control of external devices such as these is usually done through the use of co_register's for each signal in and out of the device along with co_port's to expose the in/out signals for the co_registers within the HDL which you then must manually connect up to the device signals. From within Impulse C you can basically bit-bang the interface just as you would using a CPU with the device attached to an I/O register.
For a simple example of this, please see the up-down counter example located in the CoDeveloper install directory: "C:\Impulse\CoDeveloper2\Examples\Generic\UpDownCounter"
Ed
Thank you Mr etrexel , I will try it!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











