774 views
in Platform Packages by
Hello EW team,

I'm working with NXP IMXRT1050-EVKB in my project and I want to use LPUART3 to send and receive data  from the external peripherals.

At first it did not work but I added the configuration of LPUART3 in the pin-mux.c and it worked fine. Now I can see the debug log through LPUART1 but my question is: Is there a predefined EW function like the EwPrint(); that will read data from the terminal ?

Best regards.

Semeh Jomaa

1 Answer

+1 vote
by
Hello Semeh,

sure there is a predefined function. Take a look at ewmain.c and check out the EwGetKeyCommand() function. There you can see how it works to receive commands from the UART console.

To use this interface please take care that you defined USE_TERMINAL_INPUT = 1.

Kind regards
Tim

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...