Search found 6 matches

by Azra
Mon Jun 12, 2017 2:31 pm
Forum: STM32 Support
Topic: MEMS reading at higher frequency
Replies: 12
Views: 8086

Re: MEMS reading at higher frequency

Yes according to my timestamps it does!

Thanks a lot !
by Azra
Mon Jun 12, 2017 9:02 am
Forum: STM32 Support
Topic: MEMS reading at higher frequency
Replies: 12
Views: 8086

Re: MEMS reading at higher frequency

For my application it was simpler to change the timeout threshold as I had already written a desktop application using the shell commands.

Code: Select all

while (chnGetTimeout((BaseChannel *)chp, 100) == Q_TIMEOUT)
by Azra
Mon Jun 12, 2017 8:53 am
Forum: STM32 Support
Topic: MEMS reading at higher frequency
Replies: 12
Views: 8086

Re: MEMS reading at higher frequency

Ahahah that is sooo obvious.... Silly me !

Thanks for the tip, I'll try your suggestion !
by Azra
Mon Jun 12, 2017 8:36 am
Forum: STM32 Support
Topic: MEMS reading at higher frequency
Replies: 12
Views: 8086

Re: MEMS reading at higher frequency

I edited the link : it was not the right MEMS...

Here is my main : it is basically the same as in the demo. I just modified it by printing in a char buffer before sending over serial usb. And removed some of the for loops.

/*
ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio ...
by Azra
Mon Jun 12, 2017 8:02 am
Forum: STM32 Support
Topic: MEMS reading at higher frequency
Replies: 12
Views: 8086

Re: MEMS reading at higher frequency

Hello Rocco,

I am working on this sample of code :

https://github.com/ChibiOS/ChibiOS/tree/master/testex/STM32/STM32F4xx/SPI-LIS3DSH

Thanks you for your help !
by Azra
Fri Jun 09, 2017 10:36 am
Forum: STM32 Support
Topic: MEMS reading at higher frequency
Replies: 12
Views: 8086

MEMS reading at higher frequency

Hello,

I have the STM32F407 Discovery board and I get that the embedded MEMS is the lsi3dsh. I saw that a driver was available in the SPI-LIS3DH project.

I am a total noob with ChibiOS and I have been messing around with the code for the accelerometer published by Rocco Marco Guglielmi.

I made ...