We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 600a830 commit 09f690aCopy full SHA for 09f690a
variants/ARDUINO_NANO33BLE/variant.cpp
@@ -156,8 +156,18 @@ void initVariant() {
156
pinMode(PIN_ENABLE_I2C_PULLUP, OUTPUT);
157
158
digitalWrite(PIN_ENABLE_SENSORS_3V3, HIGH);
159
+ delay(10);
160
digitalWrite(PIN_ENABLE_I2C_PULLUP, HIGH);
161
162
+ // Set high drive pin to properly power the bmi150
163
+ nrf_gpio_cfg(
164
+ digitalPinToPinName(PIN_ENABLE_SENSORS_3V3),
165
+ NRF_GPIO_PIN_DIR_OUTPUT,
166
+ NRF_GPIO_PIN_INPUT_DISCONNECT,
167
+ NRF_GPIO_PIN_NOPULL,
168
+ NRF_GPIO_PIN_H0H1,
169
+ NRF_GPIO_PIN_NOSENSE);
170
+
171
// Disable UARTE0 which is initially enabled by the bootloader
172
nrf_uarte_task_trigger(NRF_UARTE0, NRF_UARTE_TASK_STOPRX);
173
while (!nrf_uarte_event_check(NRF_UARTE0, NRF_UARTE_EVENT_RXTO)) ;
0 commit comments