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 / doubt on programmer?

doubt on programmer?

|

Microcontroller › 8051 › doubt on programmer?

  • This topic has 6 replies, 3 voices, and was last updated 12 years, 4 months ago by Tulasi Prasanna.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 7, 2012 at 12:18 am #1869
    Eli
    Participant

     

    guys i have USB ISP which has DB10(mosi,miso,sck,tx,rx,XTal,rst,NC,vcc,gnd) used to program avrs51 .
    i have the following queries
    1]Is 8051 programmed through spi mode using (mosi,miso,sclk)  or  (txd,rxd)?
    if (mosi,miso,sclk) lines are used then what is the use (txd,rxd) lines
    2]if 8051 is to be used for serial communication then for loopback test should i short (mosi and miso) or (txd and rxd) lines?
    July 7, 2012 at 4:30 pm #8212
    Amrith
    Participant

    8051 does not have SPI interface. 8051 are programmed using Tx & Rx lines. where as AVR controllers have SPI communication & these controllers are programmed using MOSI, MISO & SClk.

    Kindly mention exact part number of 8051 you are using.

    July 7, 2012 at 11:26 pm #8219
    Eli
    Participant

    im using AT89s52  micro controller

     

    July 8, 2012 at 12:08 am #8220
    Amrith
    Participant

    1. 89C52 can be programmed using SPI as well as UART.

    2. For loop back test you need to sort Tx & Rx lines

    July 8, 2012 at 12:32 pm #8221
    Eli
    Participant

    but amrith you told that 8051 does not have spi interface then how could it be programmed  in spi mode

     

    July 11, 2012 at 3:40 pm #8242
    Amrith
    Participant

    Hi Eli,

    8051 controller has many variants, part number with 8051 does not have SPI interface.

    89C52 is advanced version of 8051 & 89C52 has SPI interface.

    kindly share your further clarifications.

    December 29, 2012 at 11:24 am #8883
    Tulasi Prasanna
    Participant

    Please post the source code to interface at89s52 and Serial Graphic LCD (SPI 4line )

  • 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

  • Lightbox circuit May 16, 2025
  • I want to make a CRT with some modifications But i have no Idea where to start May 16, 2025
  • Kawai KDP 80 Electronic Piano Dead May 16, 2025
  • LT3511 Isolated Flyback Converter May 16, 2025
  • Funny Images Thread! May 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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