This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Intefacing 8051 to Serial ADC via SPI protocol

Hi all,

8051 micro is very new to me.
Does anybody in this forum kind enough
to help me to create a routine to perform A/D and D/A so that it can
be interfaced to a serial A/D or D/A
converters using SPI protocol? or may
be somebody can instruct me to the right
site on the internet? The project I
am working on requires that a standard
8051 micro to interface with the MAX187
ADC.

Thanks in advance

Jimmy Sayavong
jsayavong@perkinselectronics.com

Parents
  • Btw. i have i2c ADC and had read the ADC manual and implement it.
    but what i confuse is, its still not working, it didnt send any message to my Com-terminal.

    Yes, you are confused. What on earth does the ADC have to do with serial communications?.

    Divide and conquer. You have coded the whole thing and do not know what works and what not. Take the serial comm parts only, disable the rest. Then try to send a character (use emulator - simulator or whatever you have) and when that works start working on making the content of the comm the ADC results.

    Erik

Reply
  • Btw. i have i2c ADC and had read the ADC manual and implement it.
    but what i confuse is, its still not working, it didnt send any message to my Com-terminal.

    Yes, you are confused. What on earth does the ADC have to do with serial communications?.

    Divide and conquer. You have coded the whole thing and do not know what works and what not. Take the serial comm parts only, disable the rest. Then try to send a character (use emulator - simulator or whatever you have) and when that works start working on making the content of the comm the ADC results.

    Erik

Children
No data