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 / how to interface I2C,SPI in PIC18f4552

how to interface I2C,SPI in PIC18f4552

|

Microcontroller › PIC › how to interface I2C,SPI in PIC18f4552

  • This topic has 3 replies, 3 voices, and was last updated 13 years, 7 months ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 29, 2012 at 4:18 am #3906
    P.Maaligai Parai Karuppa Samy
    Participant

    Please Any one help me

    August 2, 2012 at 8:37 am #8381
    Amrith
    Participant

    Hi Maaligai,

    What device or component are you planning to interface to PIC controller using SPI & I2C. Explain to support you further.

     

    August 2, 2012 at 3:56 pm #8389
    P.Maaligai Parai Karuppa Samy
    Participant

     

    thanku for u r reply

    i am interface Brushless DC Motor Driver

     

    this is motor driver address details

    I2C Address Selection
    The default I2C address is 0x12. ADR2 shorted to GND will set the address to 0x14, ADR1
    shorted to GND will set the address to 0x16, ADR1 and ADR2 shorted to GND will set the
    address to 0x18. If the PPM signal is shorted to GND on start-up the driver will set the
    addresses as 0x22, 0x24, 0x26 and 0x28 instead of 0x12, 0x14, 0x16 and 0x18. This allows for
    an additional 4 address

    August 17, 2012 at 6:20 pm #8475
    AJISH ALFRED
    Participant

    Hi Maaligai,

    Nice project!

    What does the motor driver actually do? Please share the link to its datasheet or its part number.

    Your MCU have built in I2C m module. You can connect the device to the I2C pins and do the programming. Is it in this part where you expect help? Its all about learning the datasheet, and writing into or reading from a few registers.

    Please share more details.

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

RSS Recent Posts

  • Happy Pi day. March 15, 2026
  • Please could you advise me on this circuit for car OBD2 March 15, 2026
  • Noise problem March 14, 2026
  • Cubloc modbus settings with rs485 March 14, 2026
  • Measuring microphone output March 14, 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