Hello,
I'd like to ask what needs to be configured to enable communication between two boards: nrF7002-DK and nRF5340-DK via another UART (e.g. UART1).
Please provide necessary updated files.
Thank you
Hello,
I'd like to ask what needs to be configured to enable communication between two boards: nrF7002-DK and nRF5340-DK via another UART (e.g. UART1).
Please provide necessary updated files.
Thank you
Hi,
First you would need to define the DTS overlay file for both boards, i.e. if you are using UART1, then define the UART1 in both the board's overlay file.
Then update your prj.conf to enable UART and logging etc.
After this you need to make sure that you have connected both the boards physically together, TX or one to the RX of another and vice versa, something similar to this: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/slm_shell/README.html#requirements
Please also take a look at the following ticket: How to Separate Logging and Serial Communication on Different VCOMs (nRF5340)
-Priyanka
Hello, I'm using HTTP server sample:HTTP Server on nRF7002-DK, and I'd like to send received messages via UART to nRF5340 running Bluetooth: Peripheral UART, but no communication is on pins P1.00 and P1.01 but I see log in serial monitor, could you please help me with this specific sample - parts of code needs to be replaced? Thanks
There seems to be a problem with voltage levels - on nRF5340-DK TX pin I measure 3.3V but on nRF7002-DK on TX pin 1.8V.
Hi,
iotdeveloper said:but no communication is on pins P1.00 and P1.01 but I see log in serial monitor
That might be because the pins that you are using, from UART1 are default used for seral logging. Please take a look at this ticket: NRF7002DK Use NRF5340 UART1 pins
iotdeveloper said:There seems to be a problem with voltage levels - on nRF5340-DK TX pin I measure 3.3V but on nRF7002-DK on TX pin 1.8V.
Please do not directly connect the nRF7002DK and NRF5340DK UART lines without a level shifter, since as you mentioned, both boards run at different logic levels. You can refer to the following:
nRF7002 DK external UART communication logic level conversion?
https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/connector_if.html
Regards,
Priyanka
Hi,
iotdeveloper said:but no communication is on pins P1.00 and P1.01 but I see log in serial monitor
That might be because the pins that you are using, from UART1 are default used for seral logging. Please take a look at this ticket: NRF7002DK Use NRF5340 UART1 pins
iotdeveloper said:There seems to be a problem with voltage levels - on nRF5340-DK TX pin I measure 3.3V but on nRF7002-DK on TX pin 1.8V.
Please do not directly connect the nRF7002DK and NRF5340DK UART lines without a level shifter, since as you mentioned, both boards run at different logic levels. You can refer to the following:
nRF7002 DK external UART communication logic level conversion?
https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/connector_if.html
Regards,
Priyanka