Keil™, An ARM® Company

Discussion Forum

Parallel port programming using Silabs c8051f340

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
rajesh s
Posted
20-Jun-2009 17:32 GMT
Toolset
C51
New! Parallel port programming using Silabs c8051f340

Hi .. Can anyone let me know about parallel port programming using Silabs C8051F340/1/2 etc..I want to make an application for printing using parallel port.
Any references is appreciated.

Thanx

Read-Only
Author
Andrew Neil
Posted
20-Jun-2009 19:28 GMT
Toolset
C51
New! What type of references do you require?

Are you already familiar with the parallel port itself?

Are you already familiar with the Silabs C8051F340/1/2 etc?

Are you already familiar with 8051 development in general?

Read-Only
Author
rajesh s
Posted
21-Jun-2009 05:44 GMT
Toolset
C51
New! RE: What type of references do you require?

Are you already familiar with the parallel port itself?

Yes

Are you already familiar with the Silabs C8051F340/1/2 etc?

I am familiar with Silabs C8051F020.

Are you already familiar with 8051 development in general?

Yeah.

Please Let me know one more thing...

I want to connect A parallel port, USB Port and Keyboard (PS/2 or USB interface) to C8051F020, which protocol (e.g SPI,I2C etc) will be needed to interface these?
I know C8051F340/1/2 etc has inbuilt USB, but still want to use C8051F020.

Read-Only
Author
Andrew Neil
Posted
21-Jun-2009 06:56 GMT
Toolset
C51
New! RE: What type of references do you require?

So you are already familiar with all the elements - then what additional information do you require?

"one more thing... USB Port "

Device, Host, or On-The-GO (OTG)?

"Keyboard (PS/2 or USB interface) "

The PS/2 protocol is well-documented - you should easily be able to find 8051 examples;

For USB, you would require a USB Host...

Read-Only
Author
rajesh s
Posted
21-Jun-2009 08:10 GMT
Toolset
C51
New! RE: What type of references do you require?

Thanks. I was looking for interfacing for USB and Parallel port together.

Read-Only
Author
raje s
Posted
23-Jun-2009 10:18 GMT
Toolset
C51
New! RE: What type of references do you require?

Can I use any ATMEL/AVR Microcontroller, that has following interfaces:
1) Two Serial RS232 port
2) one USB Port
3) One PS/2 Keyboard interface
4) One Parallel port interface for Printing data.

Thanks

Read-Only
Author
Andrew Neil
Posted
23-Jun-2009 10:57 GMT
Toolset
C51
New! RE: What type of references do you require?

"Can I use...
2) one USB Port"

Do you understand the difference between a USB Host (or "master") port, and a USB Device (or "slave") port?

Without that understanding, you won't get far using anything...

Next Thread | Thread List | Previous Thread Start a Thread | Settings