This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Communication between pca10040 and another device using UART

Hello,

I would like to establish communication between my pca10040 and my cellular modem. Currently I am using ble_app_uart on the peripheral example and I can put messages and get messages via UART manually (opening tera term with pca10040's COM port and sending \ receiving messages via BLE). Is there a way to forward the COM port or UART interface of pca10040 to the COM port of the cellular modem?

Thanks in advance

Parents
  • Not really;) Are you connecting both things to COM ports of some 3rd device or you connect UART from PCA10040 (there is no COM port;) to some serial input/output port of the modem?:) If you want to connect them directly then obviously your "modem" must have the same electrical properties when it comes to serial (UART) line and you need to then execute some agreed logic on top of it from both FWs (who will talk when, what baud rate and coding will be used, what protocol to interpret byte stream etc.) But that's always the same with UART, doesn't matter if it's Nordic nRF5x chip, Arduino, PC with native serial port or some FTDI RS232-3V3TTL convertor...

Reply
  • Not really;) Are you connecting both things to COM ports of some 3rd device or you connect UART from PCA10040 (there is no COM port;) to some serial input/output port of the modem?:) If you want to connect them directly then obviously your "modem" must have the same electrical properties when it comes to serial (UART) line and you need to then execute some agreed logic on top of it from both FWs (who will talk when, what baud rate and coding will be used, what protocol to interpret byte stream etc.) But that's always the same with UART, doesn't matter if it's Nordic nRF5x chip, Arduino, PC with native serial port or some FTDI RS232-3V3TTL convertor...

Children
No Data
Related