Part Number: MSP430G2533
Tool/software:
Hello,
I am working with the MSP430G2533 microcontroller and trying to enable PWM to drive a buzzer. When I write and flash a normal code snippet, the buzzer beeps correctly.
However, when I try to do the same using the BSL interface and the DLL functions provided by Elprotronic, the buzzer does not beep. I am using the DLL functions to write the code to the device and start execution, but the PWM does not seem to enable.
I suspect there might be a specific sequence or initialization steps required when using the BSL DLL functions to enable PWM that I am missing.
My questions:
- What is the recommended sequence of DLL function calls to program and start PWM code on MSP430G2533 via BSL?
- Are there any special steps or configurations needed to enable PWM or timer peripherals when programming via BSL?
- Is there a known limitation or example code for enabling PWM on MSP430G2533 using the BSL DLL functions?
- Could the issue be related to clock initialization or peripheral enablement that differs when using BSL DLL programming?
I would appreciate any guidance, example code, or documentation references to correctly enable PWM and drive the buzzer using the BSL DLL interface.
Thank you.