Hello experts,
I'm trying to use the buzzer of the SensorTag to send some broadband signal in the ultrasonic range. My initial tests with the PWM have shown the onboard buzzer emits in that frequency range.
My task would be to send a signal that is precisely the same every time it is sent, without random influences due to timing differences from the hardware or other interrupts. It should also be possible to have the signal completely under control, without glitches and clicking that can be heard at lower frequencies.
So far, I have two ideas:
1) use PWM from the timer/counter peripheral and use DMA to reproducibly change the duty cycle and/or period.
2) use the Sensor Controller Studio (SCS) and just have a tight loop running on the Sensor Controller, manually generating the waveform.
What route do you suggest? Is there a better option that I've missed?
Cheers,
Flogo