I'm trying the sample code in the SDK I got from the following page.
https://mcuxpresso.nxp.com/en/welcome
Application : edma_transfer
(/SDK_2_9_0_MEK-MIMX8QM /boards /mekmimx8qm /driver_examples /lpuart /edma_transfer)
I built it with IAR Embedded Workbench and generated a binary file (.bin).
I put the binary file in the Android source.
(~/android_build_1100260 /vendor /nxp-opensource /imx-mkimage /iMX8QM)
Fixed "m4_image.bin" in make files such as soc.mak.
I built the Android source.
I wrote the generated image file to i.MX8QM-MEK.
Connect USB (on PC) and J37 (on board) with RS232 cable.
After booting the board, I opened the serial terminal. (115200 baud rate)
However, when I enter a character, it does not echo.
Hello,
I would like to ask, do you see anything in the CortexM console?
It should output the following:
LPUART EDMA example
Send back received data
Echo every 8 characters
Also, as stated above it should echo after 8 characters input
Best regards,
Aldo.
Hi, @AldoG
No such message is printed on the console. (For both ttyLP0 and RS232)
Also nothing changes even if you enter 8 or more characters.
If it is a demo app of hello_world, "Hello world" is printed on RS232.
By the way, only m4_core1 has changed the binary file.
I have excluded UART0_RTS_B and UART0_CTS_B in M41 of scfw from the pin assignments.
Hi,
Could you try without doing the below changes?
By the way, only m4_core1 has changed the binary file.
I have excluded UART0_RTS_B and UART0_CTS_B in M41 of scfw from the pin assignments.
Best regards,
Aldo.
Before I changed the binary file, I couldn't use RS232(LPUART2).
So I made that change.