10 years, 10 months ago.

teraterm on KL25Z

where are USBTX and USBRX on KL25Z?

3 Answers

10 years, 6 months ago.

USBTX is PTA2 and USBRX is PTA1 on the FRDM-KL25Z.

See the schematic: http://www.freescale.com/files/soft_dev_tools/hardware_tools/schematics/FRDM-KL25Z_SCH.pdf

10 years, 6 months ago.

Davide, It is the same USB connector as you program the device with. It is called the "open SDA" USB connector - the one closest to J8.

Just FYI, the fastest baud rate the KL25Z can go is 115200

Serial pc (USBTX, USBRX);

int main(void) {
    pc.baud(115200);
    pc.printf("\r\nHello World!!!\r\n");
}

...kevin

10 years, 10 months ago.

Davide,

Not sure i understand your question but i use.

Serial pc(USBTX, USBRX);

To establish the serial connection with the PC, to send data use pc.printf("Text");

PS the KL25Z is identical to the mbed in this sense.

Hope this helps. Gerrit