UART Modus "normal" RxD und TxD haben separate Pins
Code:
CharNumber = sprintf(dest, "INFO: %s\n", pDbgMsg); // dest = Pointer Anfangsadresse
Snd = &CharNumber; // Pointer zu Zeichenanzahl sprintf
ReturnAM2 = AM2_SendBlock(dest, CharNumber, Snd);
Beobachtung:
ISR(AM2_InterruptTx)
.
.
SCI2D = OutBuffer[OutIndxR]; // SCI2D bleibt auf 0x00, nach Befehl STA SCI2D
Im UART Loop Modus wird char vom Accu nach SCI2D kopiert
Hi,
I just tested SendBlock() with HCS08QE128, there is no problem on my side. See attached video.
Two points I can think of:
1. use SendChar() to test if your program can output a single character to terminal.
2. make sure the clock is curate. we can test output with lower baud rate first. for example, 4800bps
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
welcome!