ICP-20100 OSR(Oversampling Ratio) or minial ODR equation

By jyphyundaiautoโ€ฆ , 3 August 2023

Is there a equation of ICP-20100 OSR or minimal ODR?

In DS-000416-ICP-20100-v1.4 datasheet, there are only maximum ODR equation, OSR_press and OSR_tmp equations like below.
----------------------------------------------------------------------------------------------------------------------------------------
ODR_MAX(Hz)= 10^6 / (168 + 2.1 * 1.5 * (OSR_PRESS + OSRTEMP))
where ๐‘‚๐‘†๐‘…_๐‘ƒ๐‘…๐ธ๐‘†๐‘† = (๐‘‚๐‘†๐‘…_๐‘ƒ๐‘…๐ธ๐‘†๐‘†๐‘Ÿ๐‘’๐‘”๐‘–๐‘ ๐‘ก๐‘’๐‘Ÿ + 1) โˆ— 2^5 and ๐‘‚๐‘†๐‘…_๐‘‡๐ธ๐‘€๐‘ƒ = (๐‘‚๐‘†๐‘…_๐‘‡๐ธ๐‘€๐‘ƒ๐‘Ÿ๐‘’๐‘”๐‘–๐‘ ๐‘ก๐‘’๐‘Ÿ + 1) โˆ— 2^5
----------------------------------------------------------------------------------------------------------------------------------------

The targeting ODR is between from 90Hz and 100Hz and I want to maximize OSR in period of ODR.
Please refer to drawing below.

|-------A-------|--B--|
A : OSR
A+B : ODR

I want to minimize time of B.

Thank you.

mustafayildiriโ€ฆ

2 years 7 months ago

Hi,

Datasheet section 6.1 and 6.2 has information regarding the OSR and visual explanations. If you require more information about user configurable ODR setting and OSR, please check the AN-000238: ICP-20100 and ICP-20132 User Configurable Operation Mode and IIR Filter.

You can find more documentation from the following link.

https://invensense.tdk.com/products/smartpressure/icp-20100/

phpbb Post ID
45070

jyphyundaiautoโ€ฆ

2 years 7 months ago

Hello Mustafa,

The equation(ODR_MAX(Hz)) I wrote at previous comment is found at the Datasheet section 6.1 and 6.2.
However, it doesn't say any of equation of OSR nor minimum ODR.
I also looked at the "AN-000238: ICP-20100 and ICP-20132 User Configurable Operation Mode and IIR Filter" and already configured my ICP-20100 for "mode4" mode but I could find any of equation of OSR nor minimum ODR too.

By the way, I think there is a TYPO in "AN-000238: ICP-20100 and ICP-20132 User Configurable Operation Mode and IIR Filter".
At "6 ICP-20100 TRIGGER MODE" section, it says the value "0x40" is needed to be written into register MODE_SELECT to set "Trigger mode" but I think the value should be 0x80 because the guided bit set in binary number is 0b10000000.

Thank you

phpbb Post ID
45071

jyphyundaiautoโ€ฆ

2 years 7 months ago

Hello mustafa,

I've configured mode4 and OSR and ODR register to 200Hz.

I checked interval from the trigger point(wrote Meas_Trigger [4]: 0 in MODE_SELECT) to the point where the fifo got 1 data(I've checked FIFO_LEVEL in FIFO_FILL register) and the time was over 1s.

What did I miss?

I attached i2cdump log below for your information.
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 40 00 49 6a f8 02 57 5b 05 1a 00 0e 63 03 00 00 @.Ij??W[??.?c?..
10: 00 00 00 00 00 00 00 00 00 40 00 c0 bc b9 6c b4 .........@.???l?
20: 00 00 00 00 b0 2f 40 01 92 28 1d 2f 00 00 97 29 ....?/@??(?/..?)
30: 0d 2f c8 00 99 2a b1 2f a0 0f 92 2b 52 0f 27 00 ?/?.?*?/???+R?'.
40: 70 2c 7f fd c5 00 d2 ff 3a 00 45 00 ef fd cd ff p,???.?.:.E.???.
50: cf ff 85 ff 34 08 1e 00 0e 00 f6 ff 24 00 a6 ea ?.?.4??.?.?.$.??
60: 1c fe 59 00 6d 00 0d 00 95 ff ef 36 02 00 3f 00 ??Y.m.?.?.?6?.?.
70: 00 00 da ff 95 ff a7 ff 1b 0a 65 00 07 fc 91 06 ..?.?.?.??e.????
80: 4f 00 bd f1 0a 0b ed 3f 00 00 9e 85 5a 91 db a6 O.??????..??Z???
90: 1f 84 80 ff 51 c4 01 00 00 00 00 00 00 00 00 00 ???.Q??.........
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 ...............?
c0: 90 00 ff 00 40 00 00 00 00 00 00 00 00 11 00 00 ?...@........?..
d0: 00 00 00 b2 00 00 00 00 00 00 00 00 00 00 00 00 ...?............
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Best regards.

phpbb Post ID
45080

jyphyundaiautoโ€ฆ

2 years 7 months ago

TYPO : 1s -> 10ms.
I checked interval from the trigger point(wrote Meas_Trigger [4]: 0 in MODE_SELECT) to the point where the fifo got 1 data(Iโ€™ve checked FIFO_LEVEL in FIFO_FILL register) and the time was over 10ms.

phpbb Post ID
45082

mustafayildiriโ€ฆ

2 years 6 months ago

Hi,

I am not sure how you have 10ms, and you might be able to calculate the minimum ODR based the OSR timing limitations. Let me know if you solve this problem.

phpbb Post ID
45159
phpbb Topic ID
45061