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

UART between NRF52840 DK and NRF9160 DK

Hello!

 I have a NRF52840 DK and a NRF9160 DK . The NRF52 will send AT commands through UART to the NRF91 modem. Tried to use the code from https://github.com/NordicPlayground/nRF52-clients-for-serial-LTE-modem for the NRF52 to send the AT commands. Did the set-up for the NRF9160 DK. Dowloaded the nRF5_SDK_16.0.0 and copied the folders there but I got build errors that it can not see many of the header files and also errors for different functions. I used SEGGER, opened the " nRF5_SDK_16.0.0\examples\peripheral\bsp " and replaced the .h and .c files from the folder " slm_client " into the " bsp " example. Question, general one, would be : how can I get that example from github to build correctly on my NRF52840 DK? 

Thank you!

Parents
  • I was not able to reproduce the errors. I did the following:

    • Downloaded SDK 16 and opened a command line in ..\nRF5SDK160098a08e2\examples
    • Run this command:
    • Downloaded the GNU Arm Embedded Toolchain set GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update/bin/ in nRF5SDK160098a08e2\components\toolchain\gcc\Makefile.windows
    • Opened the command line in examples/nRF52-clients-for-serial-LTE-modem/slm_ble_app_uart/pca10056/s140/armgcc and run the following command
      • make clean && make
      • It built successfully
    • Opened the command line in nRF5SDK160098a08e2/examples/nRF52-clients-for-serial-LTE-modem/slm_client/pca10056/blank/armgcc and run the following command
      • make clean && make
      • It built successfully
    • Program the sample to the nRF52840 DK, by connecting it to the computer and run make flash

    Best regards,

    Simon

Reply
  • I was not able to reproduce the errors. I did the following:

    • Downloaded SDK 16 and opened a command line in ..\nRF5SDK160098a08e2\examples
    • Run this command:
    • Downloaded the GNU Arm Embedded Toolchain set GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update/bin/ in nRF5SDK160098a08e2\components\toolchain\gcc\Makefile.windows
    • Opened the command line in examples/nRF52-clients-for-serial-LTE-modem/slm_ble_app_uart/pca10056/s140/armgcc and run the following command
      • make clean && make
      • It built successfully
    • Opened the command line in nRF5SDK160098a08e2/examples/nRF52-clients-for-serial-LTE-modem/slm_client/pca10056/blank/armgcc and run the following command
      • make clean && make
      • It built successfully
    • Program the sample to the nRF52840 DK, by connecting it to the computer and run make flash

    Best regards,

    Simon

Children
Related