Greetings,
we are developing a custom board that holds a nrf9160 chip. We have uart lines out on pins 28 and 29, as on the DK. We need to use the AT client in order to flash certificates to the modem. This used to work and we successfully flashed certificates on some 10 or so devices using this hex:
91dk_at_client_increased_buf.hex
For some unknown reason, the LTE link monitor could successfully communicate only on some PCs (on others, all AT commands timed out, but only for our boards. Communicating with the DK worked OK).
I tried something similar as suggested here: https://devzone.nordicsemi.com/f/nordic-q-a/58055/nrf9160-custom-board---connect-uart-and-send-at-commands/238646#238646
and modified both overlay files with our setup (apeended to spm and added a file to at_client):
&uart0 { current-speed = <115200>; status = "okay"; tx-pin = <29>; rx-pin = <28>; rts-pin = <0xFFFFFFFF>; cts-pin = <0xFFFFFFFF>; }; &uart1 { status = "okay"; current-speed = <115200>; tx-pin = <27>; rx-pin = <26>; rts-pin = <0xFFFFFFFF>; cts-pin = <0xFFFFFFFF>; }; &i2c2 { status = "okay"; compatible = "nordic,nrf-twim"; sda-pin = < 11 >; scl-pin = < 12 >; clock-frequency = <I2C_BITRATE_FAST>; };
which, for uart0, is the same as the DK.
I am now wondering what could be the cause of this. I would assume the LTE Link Monitor software works (since it can communicate with the AT client on the dev kit), so there must be some additional configuration required for our board?
Ill be happy with any ideas or suggestions regarding this.
I would also like to add that writing a program that uses at_cmd_write() to send, for example, AT+CFUN?, returns the expected result (+CFUN=1). So the modem works.
- Tjaž