Connecting NRF52832(XL52832-D01) to Raspberry Pi Pico

PLEASE HELP!!!!

Project Aim: I am hoping to use the NRF52832(XL52832-D01) to connect my Pi Pico to a mobile device via Bluetooth. I have previously got this arrangement working with a HM-05 module, but this chip does not have as much compatibility with mobile devices.

Issue: After trying many arrangements and looking at forums online, I have made 0 progress with using the NRF52832(XL52832-D01) chip with the Pi Pico. 

I am attempting to connect the Pi Pico to the NRF52832(XL52832-D01), via the following connections (also an image attached to clarify):

Pi Pico

NRF52832(XL52832-D01)

3V3

VCC

GND

GND

UART0 TX

P0.03

UART0 RX

P0.02

I am using the following Thonny code to check if connected:

import machine
import utime

# Define UART pins
uart_tx = machine.Pin(0) # Replace 0 with the GPIO pin number connected to NRF52832 RX pin
uart_rx = machine.Pin(1) # Replace 1 with the GPIO pin number connected to NRF52832 TX pin

# Define UART object
uart = machine.UART(0, baudrate=9600, tx=uart_tx, rx=uart_rx)

# Send message
message = "Hello from Raspberry Pi Pico!\n"
uart.write(message)

# Wait for response
response = b""
while uart.any():
response += uart.read(1)

# Print response
print("Received: ", response.decode("utf-8"))

Final thoughts:

1. There is no flashing lights on the NRF52832(XL52832-D01) when GND and VCC are plugged into the Pi Pico, like there is on the HC-05 module. Is this normal?

2. I am looking for someone to tell me if the hardware configuration is correct, and show me the respective Thonny code that can check the NRF52832(XL52832-D01) is connected, and make is Bluetooth discoverable.

Thanks in advance

Related