Hello all,
I am currently using the nRF9160 DK for cellular uplink to our server for an evaluation. From the nRF connect software I use the provided firmware 'AT Host' and 'Modem Shell'. Both work well, I can send/recv data and I am leaning towards the former.
However communication with the device only seems to work once the USB UART is connected and initialized, whereas I am looking at connecting to it from a simple MCU, so TX/RX pins. However there are some strange states that I can use to explain the issue, based on the following photo:
- State 1 - USB in PC, P28, P29 in. LED1, LED2 solid. I don't receive any bytes on RX via P29 *until* I connect to the virtual serial (via cu) on USB, then bytes can be read on RX where I see some initialization messages on both serial connections. I am assuming firmware is waiting on out-of-band CTS/DTS serial flag from the USB/UART? Then I can read both from the P29 and USB UART. (I note that I can then only send to the device via the P28 pin, USB UART on the device no longer seems to recv bytes)
- State 2 - USB in power plug, P28, P29 in. LED1 flashes rapidly. Nothing else, no bytes received.
- State 3 - VCC, GND, P28, P29 in. LED1 flashes rapidly. Nothing else, no bytes received (assuming similar to State 2)
- State 4 - VIN, GND, P28, P29. Nothing. Is VIN working? Is there a switch / solder joint needing bridging?
In short, how am I able to utilise it fully via just 5v, gnd, P29, P28?
Many thanks!
Karsten