Darpan747
Newbie level 4
- Joined
- Feb 26, 2014
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 50
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?
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?