View previous topic :: View next topic |
Author |
Message |
noisepic
Joined: 24 Jul 2005 Posts: 20
|
how to build driver for a device? |
Posted: Fri Aug 19, 2005 9:15 am |
|
|
For reading or writing to a device, we need driver . And there are many way to communicate with them : 3-wire,1-wire,I2C...
Any one can tell the way to build driver from datasheet. pls, give specific examples! |
|
|
valemike Guest
|
|
Posted: Fri Aug 19, 2005 9:45 am |
|
|
What examples?
Go to C:\Program Files\PICC\examples\ and read some app notes.
Go to Maxim-ic.com and read some app-notes on 1-wire
Go to Microchip.com and read some app-notes.
Is this the final hour of a homework assignment? |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Aug 19, 2005 11:50 am |
|
|
Its simple. Read the datasheet and do what it says. |
|
|
Kit Guest
|
|
Posted: Tue Aug 23, 2005 1:59 am |
|
|
it's easy if the IC is synchronous.
i am struggling to write the driver for async transmission without oscilloscope.
good luck. |
|
|
|