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

Interfacing NRF52832DK with Quectel EC20

Hi,

    I'm trying to interface NRF52DK with Quectel EC20 Evaluation board through UART. I used the example UART code from the SDK to send AT commands to the Quectel Board but, it was not working and whatever the command I sent was printing on the Termite, Then I tried using app_uart_put() It is also not working, whatever AT command I'm sending is printing on termite but it has no effect on the module, Is there any other way to do it?

Parents
  • You need to give a lot more detail.

    How does "termite" fit into all this?

    Remember that the Quectel EC20 (whatever that is) neither knows nor cares what microcontroller you use - all it sees is the signals on its UART inputs.

    So how have you verified that you are supplying the correct signals?

    • Voltage levels?
    • Baud rate?
    • Number of data bits?
    • Parity?
    • Number of stop bits?
    NRF52DK

    Remember that the DK has a hardware connection from the Virtual COM Port (in the on-board J-Link) to the nRF52832 chip - you will need to disconnect that (or use different pins for the UART) to connect the UART to any other device.

    Details are in the DK User Guide

  • Hi,

    Quectel operates on 1.8V but the Evalution board already has a voltage level translator, 

    115200 is the Baudrate 

    Data bits 8

    No Parity

    Stop Bits 1 

    Regarding Termite what I was trying to say was I'm able to see the AT Command what I'm sending through UART but it has no effect on the Quectel EVB

    Also how can I define the GPIO pins as UART pins?

  • Regarding Termite what I was trying to say was I'm able to see the AT Command what I'm sending through UART but it has no effect on the Quectel EVB

    We still have no idea how you have your Termite connected.

    Post a schematic.

    Again:

    Remember that the DK has a hardware connection from the Virtual COM Port (in the on-board J-Link) to the nRF52832 chip

    how can I define the GPIO pins as UART pins?

    It's in your UART initialisation.

    It sounds like you need to spend some more time getting familiar with the nRF52832, DevKit, etc before adding external equipment.

    Have you looked at the UART examples in the SDK ?

  • Hi

    Yes I tried the UART example in the SDK and communicated with PC, then I found that while communicating with other peripherals we have to send data byte by byte so I used app_uart_put() it is also not working. As you said I tried to change the UART pins so I followed this thread still I don't understand fully can you elaborate a little more. I'm completely new NRF and this my first time using a protocol.

  • I found that while communicating with other peripherals we have to send data byte by byte

    What do you mean by that?

    I'm completely new NRF

    Do you have any experience with any other microcontroller(s) ?

    Do you have any experience with programming in general ?

Reply Children
No Data
Related