When using nRF Connect, I've set the build configuration to the nRF52DK board and tried creating a custom one, but neither option worked. LED examples are working fine. I'm trying to find a BLE device with my phone.
When using nRF Connect, I've set the build configuration to the nRF52DK board and tried creating a custom one, but neither option worked. LED examples are working fine. I'm trying to find a BLE device with my phone.
Hi,
Assuming that you're using a custom board,
Can you share the schematics for your board? I can make the case private first if you agree to share,
n my understanding, both examples should work out of the box, but unfortunately, they don't. I've uploaded the projects to the cloud. Link to the files https://drive.google.com/file/d/15gjsuDHun9xgwL13yR_y65k9e1L3tR-k/view?usp=sharing (Versions: NRF SDK 1.7.0, nrf-connect sdk 2.5.0)
The problem doesn't have to sw related, it could be RF related. For example if the board hasn't been tuned or if you haven't followed our RF guidelines when designing the board. If you want to share files then you have to upload them here, I can't access external links. Either drag-and-drop the files or use insert->Image/video/file in the reply box,
regards
Jared
And how can i set up clocking using an external high-frequency crystal correctly?
Hi,
The clock will automatically be chosen by one of the Kconfigs that you provide, looking at your schematic there is multiple points that should be addressed:
reference design:
Try setting CONFIG_BOARD_ENABLE_DCDC=n in the project config and see if it works,
regards
Jared
Now the code is stuck in log_backend_rt.c
I also soldered a low-frequency crystal and parallel capacitors
d3fine said:Now the code is stuck in log_backend_rt.c
while (SEGGER_RTT_HasDataUp(CONFIG_LOG_BACKEND_RTT_BUFFER) &&host_present) {on_failed_write(retry_cnt--);
Ok, I can't make sense out of that. but you need to address the other stuff I pointed out as well,
regards
Jared
d3fine said:Now the code is stuck in log_backend_rt.c
while (SEGGER_RTT_HasDataUp(CONFIG_LOG_BACKEND_RTT_BUFFER) &&host_present) {on_failed_write(retry_cnt--);
Ok, I can't make sense out of that. but you need to address the other stuff I pointed out as well,
regards
Jared