eMD6 example STM32L Discovery + MPU9150 - IAR/ printing data

By eagabriel , 25 November 2014

Hello!

I am using the Invensense example of embedeed Motion Driver 6.1 for STM32L Discovery (Cortex M3) compiled on IAR.

Anyone used/tested this code?

I am trying to print the data read/processed but I did not found where I can change it, what is the function or library that send it to USART?

I connected the MCU USART to PC and some data appears on terminal, but i do not understand the format (ascii, float, int) of data.

When I use ST-Link power supply the MCU cannot read the MPU9150 and the serial port print a message "Could not initialize gyro". Only when use a external power supply the code send the data told above.

Thank you!
Mr. Anderson Oliveira

phpbb Topic ID
16785