Search the Community
Showing results for tags 'crystal'.
Found 3 results
I need to have a very accurate PWM frequency generated with my MSP430G2553IRHB32R. I'm shooting for 25.1khz. However, when running on different boards, I can see variances of up to 3khz in the frequency. I understand this is due to the slight inaccuracy in the processor's internal clock. So, I would like to attach an external crystal or oscillator to it but don't know how. I've read a couple places that say that this chip doesn't support a crystal, but that I could use an oscillator. The questions I have is how does one connect the oscillator, and what code changes are necessary to take advantage of the oscillator? Thanks.
I am currently working on a project that uses the external crystal for the watchdog timer and the internal DSO clock for all other tasks. The crystal is 32kHz. The watchdog timer interrupt is taking care of controlling the state machine in the main loop. At first sight everything looks ok. However, after a while (hours later) the controller (MSP430G2553) appears to be stuck. Closer investigation show that this is due to the watchdog timer interrupt not served, means that the 32Khz clock is not present. I already tried to play with the XTAL capacitor settings to no effect. I am wondering if scope measures could be done in order to see if there is something ongoing in the clock circuit that could point to an issue with the XTAL capacitors, driver circuit, parasitics, etc. However, I do not know what exactly to look for. Can anyone help me here?
Hi everyone! This is my second time on the forum. The first time i was here it was to ask for help with interrupts and an LED display. 43oh was very helpful and I accomplished my goal. Today I am here to ask for help again. Goal: Implement the code previously written into the chip only and drive it without the development board. (breadboard mode) I did some research and most post/websites told me that all i need is 3.3V and a 47k resistor going from VCC to the RST pin on the chip and that my program would start working... I tried this and it did not. reference:http://crossplatform.net/running-msp430-launchpad-on-a-breadboard/ My question is, since I am working with interrupts and my code is a bit complicated, would i need an external clock/crystal? What do i need to move away from the development board and onto the breadboard? Thanks in advanced, everyone here is so helpful!!