- This topic has 3 replies, 3 voices, and was last updated 12 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › how to interface I2C,SPI in PIC18f4552
Please Any one help me
Hi Maaligai,
What device or component are you planning to interface to PIC controller using SPI & I2C. Explain to support you further.
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
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.