rbomze

Results 19 comments of rbomze

During development i learned that direct access to `NRF_POWER->GPREGRET` is definitly unsafe when `sd` is in operation. I encountered various sporadic crashes in development until i learned that. At first...

I know the ULP some bit. about 4 years ago i wrote a program in this limited assembly language to monitor a pin attached to a simple 433mhz on/off receiver....

> > During development i learned that direct access to `NRF_POWER->GPREGRET` is definitly unsafe when `sd` is in operation. I encountered various sporadic crashes in development until i learned that....

I have the perfect solution for the register. Macros: ``` #define SAFE_GPREGRET_SET(reg_idx, value) \ do { \ volatile uint32_t *reg_ptr; \ if (reg_idx == 0) { \ reg_ptr = &(NRF_POWER->GPREGRET);...

I want to test the code thoroughly in the next days in conjunction with additional sensors attached. Yet it was just tested with the detection sensor solely. In theory the...

> > > During development i learned that direct access to `NRF_POWER->GPREGRET` is definitly unsafe when `sd` is in operation. I encountered various sporadic crashes in development until i learned...

> @rbomze I did a research about soft device - unfortunately this is hard-baked in Bluetooth library and enabling it externally causes conflicts. So we need to use your idea...

> @rbomze I did a research about soft device - unfortunately this is hard-baked in Bluetooth library and enabling it externally causes conflicts. So we need to use your idea...

> Yeah, sadly Adafruit lib does not try to check if SD is already enabled. Nordic claims that using NVIC_* methods is unsafe if SD is enabled because on soft...