/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / discontinuous mems values

Username:     
Password:     
             

Forum

# 1   2008-11-09 13:11:13 discontinuous mems values

mfend
New member
Registered: 2008-11-05
Posts: 2

discontinuous mems values

hi,

while evaluating the mems examples i recognized that the mems values sometimes make "big jumps" ...
as i figured out this results from unconsistent register reading.

i reduced the mems frequency, enabled the block data update and used the DATA READY PIN to test for new sensor data before reading the registers (needs to be enabled also).

with these changes i get much better mems values

i don't use the OS (just some parts of it's source) anyway, but maybe someone else want to test this...

matthias

PS: mems.c : /* 0xC0 to wake up and 0x30 for full speed frequency (640 Hz). */  - i guess this should be 2560Hz ...

Offline

 

# 2   2008-11-10 15:21:53 discontinuous mems values

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: discontinuous mems values

Hi

Thanks for the information.
It will be tested for the Primer2.

Matloub

Offline

 

Board footer