I'm using a MPU6000 in SPI mode connected to a Microchip 18F4550.
I'm not seeing data out from the MPU6000.
- I have scoped out the SPI signals to the MPU6000 and can see all signals working (CS goes low only during the R/W, CLK and DO (from PIC18F5440) polarities correct.
- However, my output from the MPU6000 only shows a level that goes from high to low corresponding to the CS level. I never see any data coming out (pulses).
- I'm currently writing 0 to the 0x6B register before any other data to wake the chip from sleep mode.
- I set the read bit(7) to the register address before writing out and write a total of 2 bytes: 1st byte is the registry address followed by either data or a dummy value in the case of a read.
Question: What is the minimum setup to the MPU6000 to read the WHO_AM_I registry in order to verify communications with the MPU6000?
Example:
1) Send 2 bytes to Register 0x6b (Address=0x6B then Data=0x0)- to clear sleep mode
2) Write 2 bytes to Resister 0x75 set read bit 7 (Address=0xF5 then Data=0x0) - to read register 0x75
- Log in to post comments
phpbb Topic ID
13947