[Gta04-owner] BMA180 interrupts & polling interval

Lukas Märdian luk at slyon.de
Thu Jun 13 11:32:49 CEST 2013

Thanks for the hint.
I found this information, too, after writing the mail.

So I need some more clever way to sync my devices.


Am 13.06.2013 11:11, schrieb Klaus-Hendrik Wolf:
> if you take a look at the datasheet of the sensor, you will find that
> its bandwidth is limited to 1200Hz ([1] section 7.7.2).
> Regards,
>   Klaus Hendrik
> [1] http://www.spezial.cz/pdf/BST-BMA180-DS000-03.pdf
> Am 12.06.2013 14:11, schrieb Lukas Märdian:
>> Hi!
>> I'm currently trying to trigger an event on several GTA04s at once
>> (microsecond range), using the BMA180 accelerometer.
>> It seems that the bma150 driver, which is used, can choose between an
>> "Interrupt-Mode" and a "Polling-Mode" [0]. By default the "Polling-Mode"
>> is used, but the drivers minimum polling interval is 1 millisecond,
>> which is too big for my use case. I'd need a 1 usec or at least 10 usec
>> polling interval.
>> Can anybody tell, who I can switch the bma150 driver into
>> "Interrupt-Mode", to e.g. listen to the "High-G" or "Low-G" interrupts
>> (from userspace)? Or how I can lower the polling interval in the driver?
>> Or do you have any other idea how it could be possible to trigger an
>> event (e.g. call a function) at the very same time (microsecond range)
>> on several GTA04s, without using any networking capabilities?
>> Regards,
>>    Lukas
>> [0]
>> http://lxr.free-electrons.com/source/drivers/input/misc/bma150.c?v=3.7#L583

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20130613/ed188ad6/attachment-0001.bin>

More information about the Gta04-owner mailing list