Reading sensors data from STM32F303 Topic is solved

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Locked
sazem
Posts: 17
Joined: Thu Jun 28, 2018 9:48 am

Reading sensors data from STM32F303

Post 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.
Attachments
STM32F303-DISCOVERY- TEST2.7z
Senosrs Reading- STM32F303
(4.99 MiB) Downloaded 779 times
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Reading sensors data from STM32F303

Post by Giovanni »

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

Giovanni
sazem
Posts: 17
Joined: Thu Jun 28, 2018 9:48 am

Re: Reading sensors data from STM32F303

Post 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
sazem
Posts: 17
Joined: Thu Jun 28, 2018 9:48 am

Re: Reading sensors data from STM32F303

Post 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
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: Reading sensors data from STM32F303

Post 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
Locked