I have tried to evaluate the analog microphone (IMP23ABSU) built into the STEVAL-STWINKT1B with the FP-SNS-DATALOG1 (HS-Datalogger). The values were exported as "raw values" (this is an option that can be selected when executing the data logger script). According to the manufacturer, the unit of measurement is dB. Below you will find the DeviceConfig.json file used during data export with the datalogger.
{ "id": 7, "name": "IMP23ABSU", "sensorDescriptor": { "subSensorDescriptor": [ { "id": 0, "sensorType": "MIC", "dimensions": 1, "dimensionsLabel": [ "aud" ], "unit": "Waveform", "dataType": "int16_t", "FS": [ 130 ], "ODR": [ 8000, 16000, 32000, 48000, 96000, 192000 ], "samplesPerTs": { "min": 0, "max": 1000, "dataType": "int16_t" } } ] }, "sensorStatus": { "subSensorStatus": [ { "ODR": 192000, "ODRMeasured": 192000, "initialOffset": 0.19303, "FS": 130, "sensitivity": 1, "isActive": true, "samplesPerTs": 1000, "usbDataPacketSize": 4096, "sdWriteBufferSize": 136192, "wifiDataPacketSize": 0, "comChannelNumber": -1, "ucfLoaded": false } ] } } ST provides Python scripts for plotting, among other things. Below you can see such a plot.
According to the manufacturer, the Y values are in dB, which is very unlikely at this point (30000 dB peak).
Now to my actual question. Do I have to normalize the Y-axes somehow in order to display the sampled values in a meaningful way?
The documentation of the IMP23ABSU can be found here and the documentation of the STEVAL - here. I found that the sensitivity of the IMP23ABSU is -38 dBV ±1 dB @ 94 dBSPL, 1 kHz. Must i normalize the Y-Values by 94 dBSPL? The Datasheet of the IMP23ABSU also tells me, that the mic has an acoustic overload point of 130 dBSPL (meaning it can't measure more than 130 dB without distortion). Accordingly my sampled data has to be normalized by a given factor in order for it to be in the range of 0-130 dBSPL. Am i correct?
EDIT: I have uploaded a snippet of the schematic that shows the microphone (MP23ABSU)
and its connection via M1P_Filt with the op amp (TS922EIJT).
Perhaps this can help determining the actual amplitude unit.