Hi, im working in a project with the nRF5340-QKAA and I need VDD as output 1.8V, for this reasoin I supply the uC with 3.6V on VDDH like this image:
this works fine, I can read the 1.8V on VDD pins but the uC doesn't run the FW, it give me this error on VS Code when I try to flash it:
In other hand if I suply with 3.6V on all pins VDDH and VDD the uC runs and the FW works fine.
As FW I use the blink example of Nordic with this main:
#include <zephyr/kernel.h> #include <zephyr/drivers/gpio.h> #include <hal/nrf_gpio.h> #define SLEEP_TIME_LEDS 1000 #define SLEEP_TIME_BUZZER 100 #define LED_RED NRF_GPIO_PIN_MAP(1, 3) #define LED_GREEN NRF_GPIO_PIN_MAP(0, 8) #define LED_BLUE NRF_GPIO_PIN_MAP(0, 9) #define BUZZER NRF_GPIO_PIN_MAP(0, 7) int main(void) { nrf_gpio_cfg_output(LED_RED); //Set pins as output nrf_gpio_cfg_output(LED_GREEN); nrf_gpio_cfg_output(LED_BLUE); nrf_gpio_cfg_output(BUZZER); while (1) { nrf_gpio_pin_set(LED_RED); k_msleep(SLEEP_TIME_LEDS); nrf_gpio_pin_clear(LED_RED); k_msleep(SLEEP_TIME_LEDS); nrf_gpio_pin_set(LED_GREEN); k_msleep(SLEEP_TIME_LEDS); nrf_gpio_pin_clear(LED_GREEN); k_msleep(SLEEP_TIME_LEDS); nrf_gpio_pin_set(LED_BLUE); k_msleep(SLEEP_TIME_LEDS); nrf_gpio_pin_clear(LED_BLUE); k_msleep(SLEEP_TIME_LEDS); } }
Any have idea why doesn work the uC whe I only suplly the VDDH pin with 3.6V?