Part Number: MSP430FR2433
Other Parts Discussed in Thread: MSP-EXP430FR2433
Hi Team,
Posting on behalf of our customer.
I have this MSP-EXP430FR2433 and CCS installed. I have some code here, which Google Gemini helped me with. My goal is to run the code on the LaunchPad and then change it to run on my target which has a MSP4302422 on it. It is very simple, a pair of ports - one of which will be pulled low and then a three byte serial message is sent out.
I have my project running, but there is a problem.
Perhaps the clock within the MSP430 is not accurate enough?
I believe there is some factory calibration on the REFO to make
it more accurate? I am using the defaults, which gives a DIVCLK
of 1 MHz for SMCLK and divide by 32 to get the MIDI rate 31,250 Hz.
The 3 byte message should be 960 microseconds long however on
the scope it appears to be a tiny bit less than 920 microseconds.
IN any event, the MIDI keyboard reports "MIDI error".
Perhaps I need to use more provided hardware in the MSP430 to get
the baud rate about 6% slower than what I am getting. I actually did
suspect this might happen, but I didn't think the clock would be off
as much as it appears to be.
What do you think?
Regards,
Danilo