[iMX8QM-MEK] How to use the sample application(SDK).

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[iMX8QM-MEK] How to use the sample application(SDK).

744 Views
sushi_happy
Contributor III

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.

0 Kudos
4 Replies

737 Views
AldoG
NXP TechSupport
NXP TechSupport

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.

0 Kudos

732 Views
sushi_happy
Contributor III

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.

RS232_edma.png

 

If it is a demo app of hello_world, "Hello world" is printed on RS232.

RS232_helloworld.png

 

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.

0 Kudos

656 Views
AldoG
NXP TechSupport
NXP TechSupport

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.

0 Kudos

621 Views
sushi_happy
Contributor III

@AldoG 

Before I changed the binary file, I couldn't use RS232(LPUART2).
So I made that change.

0 Kudos