Reading sensors data from STM32F303 Topic is solved

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

Moderators: barthess, RoccoMarco, utzig, lbednarz, tfAteba

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

Reading sensors data from STM32F303

Postby sazem » Mon Jul 02, 2018 6:44 am

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 3 times

User avatar
Giovanni
Site Admin
Posts: 11025
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 354 times
Been thanked: 298 times
Contact:

Re: Reading sensors data from STM32F303  Topic is solved

Postby Giovanni » Mon Jul 02, 2018 10:24 am

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

Postby sazem » Mon Jul 02, 2018 5:12 pm

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

Postby sazem » Thu Jul 05, 2018 7:34 pm

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: 594
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 72 times
Been thanked: 53 times
Contact:

Re: Reading sensors data from STM32F303

Postby RoccoMarco » Thu Jul 05, 2018 11:54 pm

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
Ciao,
RM


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 1 guest