AT command port select


#1

Hi forum,

As I known, I can send the AT command via the micro-USB Port from a PC by entering, #microcom -E /dev/ttyAT

Is it possible to use the UART1 interface start my AT command travel?

How can I open it ?

Which interface is the default AT port on the target?
Can anyone tell me?

Thanks in advance.


#2

On the WP85XX i am connected to at the moment its running a getty on HSL1 i can can connect to it and use it as the console …

In the devices section of devstudio you can change this behaviour

/sbin/getty ttyHSL1 115200 vt100

#3

Hi,

By default UART1 is not an AT port but you change that through devstudio possibly or with the AT!MAPUART command.
Cf http://legato.io/legato-docs/latest/howToCustomizeUART.html

For instance AT!MAPUART=1,1 should make UART1 an AT command interface.
AT!MAPUART=1,2 would make UART2 an AT command interface (be careful with the weird parameters order).


#4

Dear gregnietsky,
Thanks.


#5

Dear CoRfr,

Thank you for you info. This may help me.
Is it possible to send my AT command via I2C BUS to wp8548 module?
See the flow chart:


#6

Hiya.

Not without writing an app to run on the WP85.

And the WP85 only has a master I2C port, so you’d have to use a GPIO to send a request from your device to the WP85, then have the WP85 poll your device over I2C.

ciao, Dave


#7

Understood!
Thank you for your information.

Regards!

Milo lu — lumao1122

在2017年07月08日 04:44,davidc 写道:
| | davidc
July 7 |

Hiya.

Not without writing an app to run on the WP85.

And the WP85 only has a master I2C port, so you’d have to use a GPIO to send a request from your device to the WP85, then have the WP85 poll your device over I2C.

ciao, Dave

Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.