EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / SPI interface with p89v51rd2

SPI interface with p89v51rd2

|

Microcontroller › 8051 › SPI interface with p89v51rd2

  • This topic has 6 replies, 3 voices, and was last updated 11 years, 11 months ago by SHAH DISHANT H..
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 26, 2014 at 7:15 pm #2906
    Darpan
    Participant

    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?

    March 1, 2014 at 4:36 am #11130
    AJISH ALFRED
    Participant

    Hi,

    There could be some logical mistakes only. Suggest you to post your code here.

    March 1, 2014 at 8:25 am #11146
    SHAH DISHANT H.
    Participant

    Can you please post complete code here?

    March 1, 2014 at 6:32 pm #11150
    Darpan
    Participant

    Hello,

    Exactly there was a mistake in my logic..in fact in delays..

    Thanks

    March 2, 2014 at 4:43 am #11152
    SHAH DISHANT H.
    Participant

    Its good…

     

    Share the entire thing for others to learn from it…!!

     

    All the best…

    March 2, 2014 at 7:25 am #11155
    Darpan
    Participant

    Yes, have to make some changes , would post it here soon.

    March 4, 2014 at 4:56 pm #11194
    SHAH DISHANT H.
    Participant

    That’s good…!!!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Supply vs performance query February 7, 2026
  • wall transformer polarity February 7, 2026
  • Do i need a buffer? February 7, 2026
  • BPF February 7, 2026
  • Figgie International intercom 1998 era February 7, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise