有人用过MMA7455L的self-test功能吗?
时间:10-02
整理:3721RD
点击:
这几天在研究MMA7455L的时候发现有个self-test功能,如下是datasheet中关于该功能的说明:
现在网络上的资料中关于self-test的部分都不是真正实现上述的功能,自己试验了好久也没有成功,求一份代码,任何单片机的都行,伪代码也可以。
- Self-Test
- The sensor provides a self-test feature that allows the verification of the mechanical and electrical integrity of the accelerometer at any time before or after installation. This feature is critical in applications such as hard disk drive protection where system integrity must be ensured over the life of the product. When the self-test function is initiated through the mode control register ($16),
- accessing the “self-test” bit, an electrostatic force is applied to each axis to cause it to deflect. The Z-axis is trimmed to deflect 1g. This procedure assures that both the mechanical (g-cell) and electronic sections of the accelerometer are functioning.
现在网络上的资料中关于self-test的部分都不是真正实现上述的功能,自己试验了好久也没有成功,求一份代码,任何单片机的都行,伪代码也可以。
已退回5积分