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

serial connection between nrf52 & arduino

Hello ,
I m working on project to commande sim868 by serial (send AT Commands),
so for the fisrt i would like to test the serial connection with an arduino to see what it gives 
the sdk is 15.0.0 and nrf52832 , and connect the rx and tx to tx and rx of arduino , i used the uart example(nRF5_SDK_15.0.0_a53641a/examples/peripheral/uart)

I edited the rx and tx app_uart_comm_params_t comm_params {
 15, //RX_PIN_NUMBER 17, //TX_PIN_NUMBER }

It send  UART example started and I am able to see it with the console of the arduino but therese no way to respond from the arduino .
I think im confused with the example so i tested the serial example but nothings happend even if I edite the numbero of rx and tx to my custom pins used.
how this things works , why its everything its hard to see how it works and to use it , even documentation of the examples shows litle texte that work with putty (I test it but it dosent work for me maybe because I have mac ).

Parents
  • Hi

    Sorry, a little mix-up there. Using pins 8 and 6 are what is connected to the COM-port on the DK, but seeing as you're using a custom board, that's likely not the case for you. How is your custom board connected to the computer in your instance? The nRF52832 does not have a USB peripheral, so if you want it to work as a USB device you will have to use a USB-to-UART chip or cable.

    Best regards,

    Simon

  • How is your custom board connected to the computer in your instance?

    I'm doing it only by jlink and the pins of debuging and downloading the programme .

    so please can u guid me to the right point cause it works with arduino . it works for me for the moment the example of the uart send the "UART example started" and im able to see it on the arduino side but when im writing some thing in the serial of arduino how i can see it in the nrf side with SES (any tricks or i should do the usb peripheral )(cause i need communcation full duplex )

Reply
  • How is your custom board connected to the computer in your instance?

    I'm doing it only by jlink and the pins of debuging and downloading the programme .

    so please can u guid me to the right point cause it works with arduino . it works for me for the moment the example of the uart send the "UART example started" and im able to see it on the arduino side but when im writing some thing in the serial of arduino how i can see it in the nrf side with SES (any tricks or i should do the usb peripheral )(cause i need communcation full duplex )

Children
No Data
Related