- This topic has 6 replies, 3 voices, and was last updated 10 years, 11 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › SPI interface with p89v51rd2
Hello, P89v51rd2 is an extended version of 8051 which supports spi communication.
I have two controllers.
I have done ss,mosi,miso connections and clock connections.
When i send some data from master to slave it is working correct as it gets displayed on the lcd.
The problem I am facing is when I go for data transfer from slave to master that is using miso line.
Can anyone suggest what changes to be made?
Or which bit to be set or reset to make data transfer from slave to master in that same code?
Hi,
There could be some logical mistakes only. Suggest you to post your code here.
Can you please post complete code here?
Hello,
Exactly there was a mistake in my logic..in fact in delays..
Thanks
Its good…
Share the entire thing for others to learn from it…!!
All the best…
Yes, have to make some changes , would post it here soon.
That’s good…!!!