Page 1 of 1

Sensors Reading-STM32F303

Posted: Mon Jul 02, 2018 5:10 pm
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: Sensors Reading-STM32F303

Posted: Thu Jul 05, 2018 7:32 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: Sensors Reading-STM32F303

Posted: Thu Jul 05, 2018 11:56 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

Re: Sensors Reading-STM32F303

Posted: Fri Jul 06, 2018 5:43 am
by sazem
Hi RoccoMarco;

Thank you for this information. I am grateful. I would just say that I have make some efforts to adapt new toolchain (ChibiOS 182) with demo of reading data of sensors. I have posted my program and I have asked some questions, Unfortunately, I have seen lot of number of views but any response!!. For this reason, I have said to people, they need to pay attention when they download the file.

Finally, really I did not like when you have called me "Hi principal author" !!!. Come on, you've got to be kidding!. for respect to this best forum website, I will not go into your game.

Best Regards;
SAMIR ZEMAM
RoccoMarco wrote: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

Re: Sensors Reading-STM32F303

Posted: Fri Jul 06, 2018 7:43 am
by Polux
Hello Samir,

Your data is simply sent to the USB serial port. Use a terminal program on your PC, connect to the COMx port with the corresponding baudrate, parity,... and your data will be displayed on the screen. Only displayed, not recorded.

To put your data in a file, you should use a terminal program with record functionality. They all have this. Google is your friend to search one for your system, using "terminal program" for the search.

Angelo

P.S. Relax. Don't fix on little jokes. Don't forget we are all different, coming from different countries. And we are not all english native speaking. That's mean some strange sentences you read could be totally correct to the person who wrote it. The oposite is also true.

Re: Sensors Reading-STM32F303

Posted: Fri Jul 06, 2018 8:46 am
by Giovanni
Hi,

Thanks to everybody involved, topic closed here.

Giovanni