??? 07/30/06 19:30 Read: times |
#121353 - Writing/Reading byte of data to/from 8051 serially |
I am trying to convert analogue to digital signal from ADC0838 and after googl'ing for hours, i finally found the algorithm to decode the stream of bits converted from analogue signal. The problem is however in the next step, would be to output the stream of byte data to 8051. The question is, how can i do this?
1. To writing the control word (to choose channel) in a byte stream to ADC. 2. To read the converted analogue signal in a byte stream from ADC. The example i've found used the inportb() and outportb() for transferring involving the ADC with serial port of a computer but i wonder if the function is applicable to 8051 as well? If yes, how? If not, what would be correct way? Thank you very much! |
Topic | Author | Date |
Writing/Reading byte of data to/from 8051 serially | 01/01/70 00:00 | |
Outputting a Byte of serial data | 01/01/70 00:00 | |
Sorry, i forget to mention.. | 01/01/70 00:00 | |
That\'s fine, but ... | 01/01/70 00:00 | |
He says he has to output TO the 805x | 01/01/70 00:00 | |
Not Serial Port, Data Bus? | 01/01/70 00:00 | |
Did you read the datasheet? | 01/01/70 00:00 | |
If he learns Microwire, he's done, right? | 01/01/70 00:00 | |
Hmm, to make things clear, | 01/01/70 00:00 | |
Sorry, you're not being clear | 01/01/70 00:00 | |
And which 8051 derivative? | 01/01/70 00:00 | |
It does helps | 01/01/70 00:00 | |
Cannot understand... | 01/01/70 00:00 | |
I'd strongly urge you to avoid SMS abbreviations! | 01/01/70 00:00 | |
I would not | 01/01/70 00:00 | |
Has 'C' become an excuse? | 01/01/70 00:00 | |
First assembler, then 'C' | 01/01/70 00:00 | |
absolutely![]() | 01/01/70 00:00 |