Cyclic period | Data | Calculation formula | Final result |
Hex data of d |
=1000000 | data * 1000000 | data *
1000000 /period |
(data/period * 1000000 -500000) |
(data*1000000/period -500000)/125 |
data*1000000/ period/125 |
data*1000000/ period/125 -4000 |
|||||
Txp= | 36866 | mS | d= | 22424 | mS | 0.866 | HEX | HEX | HEX | HEX | HEX | HEX | HEX | HEX | DEC(of M) | |
Txp= | 36866 | mS | d= | 22424 | mS | data | 00005798 | |||||||||
Txp= | 36866 | mS | d= | 22424 | mS | data * 1000000 | 00005798 | 000F4240 | 538931600 | |||||||
Txp= | 36866 | mS | d= | 22424 | mS | data * 1000000/period | 00005798 | 000F4240 | 538931600 | 94800 | 608256 | |||||
Txp= | 36866 | mS | d= | 22424 | mS | (data/period * 1000000 -500000) | 00005798 | 000F4240 | 538931600 | 94800 | 1A6E0 | 108256 | ||||
Txp= | 36866 | mS | d= | 22424 | mS | (data*1000000/period -500000)/125 | 00005798 | 000F4240 | 538931600 | 94800 | 1A6E0 | 362 | 866 | |||
Txp= | 36866 | mS | d= | 22424 | mS | data*1000000/period/125 | 00005798 | 000F4240 | 538931600 | 94800 | 1A6E0 | 362 | 1302 | 4866 | ||
Txp= | 36866 | mS | d= | 22424 | mS | data*1000000/period/125 -4000 | 00005798 | 000F4240 | 538931600 | 94800 | 1A6E0 | 362 | 1302 | 362 | 866 | |
This is a simulation procudre of ADXL202E pulse witdh data to accelaration data. | ||||||||||||||||