Skip to content

Using ICS-43434 #13

Answered by stas-sl
mikenorgate asked this question in Q&A
Dec 18, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi, first I'd ensure you're not getting nans without filter.

If it works without filter, then you have to convert transfer function coefficients to SOS form (a chain of biquad or 2nd order filters). Note, that those coefficients from comments are not SOS, those are numerator (B) and denominator (A) coefficients of transfer function (4th order in this case).

// TDK/InvenSense ICS-43434
// Datasheet: https://www.invensense.com/wp-content/uploads/2016/02/DS-000069-ICS-43434-v1.1.pdf
// B = [0.477326418836803, -0.486486982406126, -0.336455844522277, 0.234624646917202, 0.111023257388606];
// A = [1.0, -1.93073383849136326, 0.86519456089576796, 0.06442838283825100, 0.00111249298800616];

To conv…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mikenorgate
Comment options

Answer selected by mikenorgate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants