Attachments are accessible only for community members.
Anonymous
Not applicable
Aug 16, 2017
12:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2017
12:43 PM
I was trying to hook up a cy8ckit-059 to a mpu6050 and stumbled upon an example a user posted here:
I modified it to fit the psoc5 and changed the order of functions for initialization.
I stepped through the program and narrowed the problem down to the following two lines:
I2C_MPU6050_MasterSendStart(devAddr, I2C_MPU6050_WRITE_XFER_MODE);
I2C_MPU6050_MasterWriteByte(regAddr);
The start is sent without error however the second function call fails with I2C_MSTR_NOT_READY.
Any ideas what could be going wrong? I have attached my project below
Labels
- Labels:
-
PSoC 5LP
1 Reply
Aug 22, 2017
04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 22, 2017
04:40 AM
Please check whether the hardware connection is proper or not