Page 1 of 1

Reading sensors data from STM32F303

Posted: Mon Jul 02, 2018 6:44 am
by sazem
Hi all;

I have a STM32F303 kit equipped with IMU (3 DOF each, magnotometer, gyroscope and accelerometer). I have developped a program for rading the sensors data for three sensors (mentionned previously) via serial bus USB.

I had several errors and I had therfore solved them. Finally, my program wors fine. There are some warnings, mybe because the latest versions.
The program had flashed and it was runing on chip (on STM32F303).
My probelem is :

1- Where I find the file of sensors data that i had programmed in main.c

2- When I run my program, it generates the vectors.S file. what does it mean?

3-There are some variables that are defined but not used, for example

Code: Select all

'readByteI2C' defined but not used [-Wunused-function]
. How I fix it? my be it remains some packages to install?

I will attach my folder who contains my main , makefile accompanied with other header files. I want anyone among you , preferably one who has the kit , to test my program and he will tell me the problems in-depth, please please!!

- If I know where i will read my sensors data, today i will attach my kit on robot and i will do a circular trajectory for my small application. I look forward to looking at the issue more closely.

I impatiently await your responses. Please help me.

Thank you very much for you and for owner of this forum.

Re: Reading sensors data from STM32F303  Topic is solved

Posted: Mon Jul 02, 2018 10:24 am
by Giovanni
Please try to post on the proper forum, this kind of things should go in the support forum.

Giovanni

Re: Reading sensors data from STM32F303

Posted: Mon Jul 02, 2018 5:12 pm
by sazem
Hi giovanni;

My message had posted in support forum (STM32 FORUM)

Thank you for helping me.

Giovanni wrote:Please try to post on the proper forum, this kind of things should go in the support forum.

Giovanni

Re: Reading sensors data from STM32F303

Posted: Thu Jul 05, 2018 7:34 pm
by sazem
Hi;

A message adressed to those who read my program for reading data of sensors of STM32F303 Discovery, which is posted two weeks ago. Please, if you use it, you make SAMIR ZEMAM and Jeorme Le Ny as the pricipal authors of this. And, Giovanni as author of chibios.

Thank you very much;

Best Reagrds;
SAMIR ZEMAM

Re: Reading sensors data from STM32F303

Posted: Thu Jul 05, 2018 11:54 pm
by RoccoMarco
Hello principal author.
I would just to point out that under testex there are some demos which do a good use of files you have included randomically in you project...

These demos reads data from MEMS offering full comfigurability without any

Code: Select all

  0x00902025, //voodoo magic


Locked post because conversation have been moved here