NRF9160 DK UART fustration!!!

I'm starting to be fustrate with nrf9160 evaluation as it seems nothing works in our environment.

We have had a lot of issue to run SPI (not running yet) but as we are in a hurry we were thinking to use a STM32 MCU which is dealing properly with our SPI device and sending data to nrf9160 using UART but it seems almost impossible for us to have something properly integrated.

We are following Serial LTE Modem application demostration.

We have connected our STM32 MCU to NRF9160DK following Connecting with an external MCU

On nRF91 DK using P0.11 / P0.10 / P0.12 and P0.13 as per described on those instrucctions.

We also edited conf and overlay files as described above.

Impossible to have a basic UART communication.

a lot of following debug messages 

[00:11:57.410,400] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
00:11:57.408,599] <dbg> slm_uart_handler: rx_recovery: UART RX enabled
[[00:11:57.411,315] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
[00:11:57.411,743] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (8)
[00:11:57.412,170] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
[00:11:57.417,724] <dbg> slm_uart_handler: uart_callback: UART_RX_DISABLED
[00:11:57.418,151] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
00:11:57.411,254] <dbg> slm_uart_handler: rx_recovery: UART RX enabled
[[00:11:57.419,067] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
[00:11:57.419,494] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (8)
[00:11:57.419,921] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
[00:11:57.420,379] <dbg> slm_uart_handler: uart_callback: UART_RX_DISABLED
[00:11:57.420,776] <dbg> slm_uart_handler: uart_callback: UART_RX_STOPPED (4)
00:11:57.419,006] <dbg> slm_uart_handler: rx_recovery: UART RX enabled

is anything missing on instructions?

Also when we set up VDD to 3V there is a message where SPI cannot initialized memory.

As i say fustrating as following instruccions of everyting , nothing works.

We tested same devices on other equipments and working fine.

Even Push button 1 is not working, doing same code on B1 and B2 , B1 never works.

Parents
  • Thank sounds pretty strange. In my experience both SPI and UART works well.

    E.g. SPI is used for the external flash on the DK. And the predefined UARTS are connected to the USB bridge. I use both without that issues.

    Which version of the nRF9160-DK are you using (it's printed on the back)?

    > UART_RX_STOPPED

    I guess, you redefined the UART or do you use the standard mapping to the USB bridge?

    If you use your own mapping, such "RX_STOPPED" may be caused by a "break" on RX (that's a long "low" signal). So, did you check your wiring?

    > "we are in a hurry"

    I guess I don't need to paste endless hackneyed saying, that this is mostly the cause of such evil things.

Reply
  • Thank sounds pretty strange. In my experience both SPI and UART works well.

    E.g. SPI is used for the external flash on the DK. And the predefined UARTS are connected to the USB bridge. I use both without that issues.

    Which version of the nRF9160-DK are you using (it's printed on the back)?

    > UART_RX_STOPPED

    I guess, you redefined the UART or do you use the standard mapping to the USB bridge?

    If you use your own mapping, such "RX_STOPPED" may be caused by a "break" on RX (that's a long "low" signal). So, did you check your wiring?

    > "we are in a hurry"

    I guess I don't need to paste endless hackneyed saying, that this is mostly the cause of such evil things.

Children
No Data
Related