Hello all,
since a lot of hours I try to open UART1 in an embedded application on my Q2686H.
My source code is based on the UART_access sample, delivered by M2M-Studio.
I only changed the default port from UART2 to UART1. Unfortunately the adl_OpenDevice function always fails when I try to open UART1.
It should be a problem, that USART1 is used for the default AT-Command-Port. That´s why I closed the USART1 through the following command:
AT+WMFM=0,0,1
After that the WMFM answered with:
AT+WMFM?
+WMFM: 0,2,1,0 <- so the USART1 seems to be closed?!
+WMFM: 0,2,2,0
+WMFM: 0,2,3,1
+WMFM: 1,2,4,0
+WMFM: 1,2,4,1
OK
With USART2 everything works fine. Is there another method to close the USART1? What is my mistake?
Thanks in advance!
Andreas
My setup:
Wireless CPU Q2686 (FW 7.43)
M2M Studio (2.33)