- This topic has 3 replies, 3 voices, and was last updated 9 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › SPI Interface with 8051
Hello Friends I need to Interface SPI with 8051 using ADC0804 IC and display the output on LCD can anyone share the code for this. I also want to know how to do SPI Interface with 8051.
sorry but i can not understand ur problem
why you want to have SPI in 8051 for ADC0804?
ADC0804 have parallel and simple hand shake interface. it does not require SPI
how ever if you want to have SPI in 8051 first you read the theory of SPI in deep
then try to implement it using program written in C or assembly
Hi Siva,
As far as I know there is no hardware module inside the 8051 which provides SPI interface. Still you want to implement, it is possible through software only. I mean you need to write a complex code for SPI intreface, not an easy task. Better you switch to any other microcontroller which is having SPI inside the chip, so all you have to do is to read/write data from/to a register
siva
still you have not answered my question that why you want SPI in 8051?