I am trying to calculate mean of buffered mic channel data. i am using xCORE Array Microphone which has 7 mics and I am using circular buffer to buffer some data for postprocessing. When I am calling dsp_vector_mean function over this buffered data program seems to halt over there. When I try to debug its showing message:
It means some exception is happening. I am able to calculate mean over predefined test vector but not getting what's wrong over here? Any hint or debug cases?Program stopped at 0x40000.
It stopped with signal SIGTRAP, Trace/breakpoint trap.
Type "info stack" or "info registers" for more information.
Current language: auto; currently minimal
mi_cmd_var_create: unable to create variable object
I am attaching my xc file here for reference.
Thanks,
Shailesh