Tell you what ? WAMI is fine. How’d you know that, would you tell me ?
The H bridge has been tested right at the moment and the sound on our tweeters is emitted correctly.
Here are some screen shots of the logic analyzer with the appropriate legend:
Channel 0/1: output voltage on the emitter
Channel 2: enable pin voltage (input)
Channel 6/7: voltage of the two input pins that drive the H bridge
Explanations of the sample code:
The two input pins are driven by a PWM Timer and have opposed phases, while the enable signal is raised for 1 second each 10 seconds for the moment
The two output pins have the same value as the two input ones (with an amplification ratio) when the enable signal is raised, which allows the tweeter to beep at the same frequency as the input one (21kHz by the way)
Here are the screen shots