IRNAS / irnas-t5838-driver

Zephyr compatible driver for TDK's MEMS microphone T5838

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle verification pulses from microphone after succesful configuration

KajbaM opened this issue · comments

Context

According to datasheet, after writing and enabling AAD functionality to microphones registers, the device responds with setting wake pin to high for approx. 12us. Current implementation of driver doesn't check for this verification pulse, but just writes the data and assumes device received everything correctly.

Required steps / Implementation details

  • Modify code to implement checking for verification pulse on wake pin after writing configuration to device.
  • Decide and implement what happens if device doesn't respond with signal and implement desired error handling functionality.

Definition of Done

  • Handling of verification pulse is correctly implemented and operational.
  • Failure to receive verification pulse should be correctly handled.
  • Code is reviewed and merged.