-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardware without XTAL and without DCDC #50
Comments
@ericlangel You can try this one and see if it works. I just took the redbear dfu bootloader example project from this repository and adapted for no external 32.768Khz xtal. Compiled it using the free mdk arm version (code size limited - but it's sufficient to do your work in this case) and added in the
then I used the new define for the clock source config in the
I made it available here for testing. It's the compiled hex file including the required softdevice also (used the mergehex Nordic's utility.) You need to replace the SoftdeviceS132_2.0_SDK11_Bootloader_20161221.hex file with this one where Arduino keeps it for the redbear package which is usually in: I tested the shared bootloader hex file from above on a nrf52832 based module which has an external 32.768 xtal crystal and it worked - this proves that it works as it should select to use the internal RC oscillator even though it has the external crystal. Regarding the dc-dc internal converter - the bootloader has no dependency on the hardware side. What I mean here is that even if you have the required external components for the dc-dc converter to operate or not it still should boot up. The dc-dc converter can be enabled on the software side and it will operate if the external components are present - if not then it should work without it. |
I also created a PR for this one. |
Hello mtiutiu, thank you for your reply. I will test it the next days. in the "device.h" in ...\RedBear\hardware\nRF52832\0.0.2\cores\RBL_nRF52832\mbed_os\targets\TARGET_NORDIC\TARGET_NRF5\TARGET_MCU_NRF52832\TARGET_NRF52_DK there is the definition for the LF Clock /**
*/ with the SYNTH Clock selected i got my Application running. But not with the RC Clock. |
Great. Well in my case I used a PTR5518 module which is nrf51822 based and without the LF XTAL mounted nor with the required external components for the DC-DC converter. It didn't worked with the redbear standard bootloader obviously but after modifying it as explained in my previous comment it started to work like a charm without doing other changes related to this Arduino nRF5x core. I also created a PR for this one but I don't think it will get approved because I don't think it will be of interest for @ChiHung or RedBear company from obvious reasons. |
Hello,
i have a NRF52832 Module without 32.768kHz X'tal and without DCDC.
But the Redbear examples doesn't work at all.
The Nordic Support said there are config headers which have to be changed to the right clock source and power source.
So which files have to be changed to use internal LDO and RC oscillator?
i found the "device.h" file and changed the Clock_Src to 4, but this doesn't help.
/*
NRF_LF_SRC_XTAL 2
NRF_LF_SRC_SYNTH 3
NRF_LF_SRC_RC 4
*/
#define MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC 4
where i can find the Power settings?
I hope someone can help me
The text was updated successfully, but these errors were encountered: