??? 09/05/06 09:10 Read: times |
#123661 - IIRC Responding to: ???'s previous message |
Avishek Kumar said:
I am doing an application(UART based - SERIAL comm.) based on microcontroller. Which microcontroller? we all know that a microcontroller has only /R and /W lines. No: as a general statement, that's not true; particularly for Motorola (now Freescale) microcontrollers. the DEVICE(IC ST16C554) need /IOR and /IOW lines ... Now what shall I do? Look at the signals that are on your microcontroller, and work out how to use them to activate the UART's /IOR and /IOW lines. It should be possible using simple logic gates... ----------------- -------------------------- microcontroller | | ST16C554 UART side | | side /R |------------------|/IOR /W |------------------|/IOW | | ------------------- --------------------------- You need to use the same 'pre' and '/pre' tags as when posting code - see: http://www.8052.com/forum/read.phtml?id=120199 The 8051's /RW and /WR pins form part of its external mempory interface - so you need to look-up the operation of the external mempory interface in the so-called "bible" for the 8051: Chapter 1 - 80C51 Family Architecture: http://www.nxp.com/acrobat_d...ARCH_1.pdf Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: http://www.nxp.com/acrobat_d...UIDE_1.pdf Chapter 3 - 80C51 Family Hardware Description: http://www.nxp.com/acrobat_d...WARE_1.pdf Descriptions of the external mempory interface start on p1 of Chapter 1, and p6 of Chapter 3. When to use level triggred and when to use edge triggred interrupts. These are described on p18 of Chapter 3; read the descriptions there, and think about which one best suits your particular requirements... Hint: "edge triggered" should suggest a transient event to you... |
Topic | Author | Date |
/R & /W OR /IOR & /IOW | 01/01/70 00:00 | |
Oops | 01/01/70 00:00 | |
Make preview compulsory? | 01/01/70 00:00 | |
IIRC | 01/01/70 00:00 | |
Thanx Neil | 01/01/70 00:00 | |
Reading time | 01/01/70 00:00 | |
IOW\ and IOR\ | 01/01/70 00:00 | |
Spaces... | 01/01/70 00:00 | |
It has a few more ... and what\'s with the \\? | 01/01/70 00:00 | |
Too many Andies... | 01/01/70 00:00 | |
As Sun Ra said, | 01/01/70 00:00 | |
and I thought I was the only one | 01/01/70 00:00 | |
Whats this | 01/01/70 00:00 | |
need to be specific | 01/01/70 00:00 | |
Improper? | 01/01/70 00:00 | |
go back and read ... | 01/01/70 00:00 | |
and also read... | 01/01/70 00:00 | |
What I understood ? | 01/01/70 00:00 | |
No. | 01/01/70 00:00 | |
You mean Yes?! | 01/01/70 00:00 | |
which is why | 01/01/70 00:00 | |
THANKX everybody![]() | 01/01/70 00:00 |