Other Parts Discussed in Thread: MSP430F5438A
Hi everbody,
I'm working on a project that has a MSP430F5438A on a custom PCB design. On this design there is a buzzer that i want to let "peep" on a 2.88kHZ frequency. Using the following formula: Hz = 1/Time of sinus i have a period time of 347us and a actual beep time of 174us. So the beeper port needs to be '1' for 174us.
I have found some great examples that use timerB as PWM generator but the problem is that our buzzer is not connected to a pin that has alternative timer b function, it is just connect to a normal GPIO pin with no alternative function.
I want to use the 32kHz krystal as a source for Aclk and use Aclk for the tone generation. What is the best and most relaible way to generate a 2.88kHz tone using a buzzer on a GPIO pin and tx1 as a source?
Any suggestions and tips are welcome!