Greetings Kerry:
Thanks for your prompt response.
I'm use RealTerm to show the byte data in hex. I'm using the following subroutine to send 5 bytes repeatedly to try to resolve the problem (I run this about once/0.7 seconds):
void print_lpuart0_data() {
char a [5];
a[0] = 0xFF;
a[1] = 1;
a[2] = 2;
a[3] = 3;
a[4] = 0xAF;
for (int i = 0; i < 5; ++i) {
while (!(LPUART0_STAT & 0x800000)){} // Wait for TDRE flag to clear
LPUART0_DATA = a[i];
}
}
At the RealTerm end it displays:
01 02 03 01 02 03 01 02 03 01 02 03 01 02 03 (etc.)
The point of the RealTerm software is to display this kind of serial data accurately, so I'm thinking the problem is more likely in the OpenSDA interface. However, I'm no serial communication expert, so I could be missing something basic here.
I checked the COM settings in Device Manager (I'm running Windows 7) and tried to update the driver, and the system seemed to think I have the most current PE Micro driver (OpenSDA - CDC Serial Port; Driver Date 4/24/2009; Driver Version 1.1.2600.1). I could not find any other settings at my host computer or in RealTerm that seem to be relevant.
I also updated the FRDM-KL43Z board to the most recent PE Micro driver (Installed Application: PEMicro FRDMKL43Z48M Mass Storage/Debug App; Application Version is: 1.18), and the problem remains.
Again, thanks for your help.
-Thomas