??? 11/29/04 12:41 Read: times |
#82166 - has anybody used SPI |
Hi
has anybody of you done SPI communication successfully. I am trying it in AT89S8252 with external EEPROM (with SPI support). But I can't access it. I have tried various code on net and also developed my own code but they all doesn't run. Can anybody tell me that for SPI i have to explicitly send bits or I can use SPI data register and SPI flag for the same. I am doing it with SPI data register and SPI flag.I have seen some programs they explicitly set or reset MOSI pin according to data and thus impliment SPI communication but in atmel data sheet they had suggested a way by using SPI data reg. anf flags. But they also shift some bits. Please resolve my problem. |
Topic | Author | Date |
has anybody used SPI | 01/01/70 00:00 | |
more details please | 01/01/70 00:00 | |
details | 01/01/70 00:00 | |
missing code? | 01/01/70 00:00 | |
How to post code | 01/01/70 00:00 | |
The story so far? | 01/01/70 00:00 | |
no solution | 01/01/70 00:00 | |
all is replied above | 01/01/70 00:00 | |
So you want a solution? | 01/01/70 00:00 | |
code and schematic | 01/01/70 00:00 | |
unconnected reset? | 01/01/70 00:00 | |
How about some clocking ?? | 01/01/70 00:00 | |
Code still illegible! | 01/01/70 00:00 | |
is it C-language? | 01/01/70 00:00 | |
reply of queries | 01/01/70 00:00 | |
complaining | 01/01/70 00:00 | |
Do you want to be helped? | 01/01/70 00:00 | |
Watch window in Keil | 01/01/70 00:00 | |
Registers window in Keil![]() | 01/01/70 00:00 | |
EA | 01/01/70 00:00 |