Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dsp_adaptive_nlms error when the input source_sample is a very low value #134

Open
QuinnWang opened this issue Jul 15, 2019 · 0 comments
Open
Labels
type:investigation Needs investigation to categorize

Comments

@QuinnWang
Copy link

QuinnWang commented Jul 15, 2019

In the app_adaptive.xc, change the first input parameter in dsp_adaptive_nlms from Q31(0.08) to Q31(0.0008), then will encounter the problem:
Normalized LMS 5
Unhandled exception: ARITHMETIC, data: 0x00000000

The problem should be the input value is too small to cause the dsp_math_divide to have a 0 divider.

This will happen when customer using the real world PCM samples (mute audio or very low amplitude audio samples)

Please advise if it is usage problem or lib code problem, thanks in advance.

@oscarbailey-xmos oscarbailey-xmos added the type:investigation Needs investigation to categorize label Jan 6, 2021
@oscarbailey-xmos oscarbailey-xmos added this to the Ready For Publication milestone Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:investigation Needs investigation to categorize
Projects
None yet
Development

No branches or pull requests

3 participants