NFC 관련 (일반 GPIO 설정) NRF52 NFC 일반 GPIO 설정 P0_09/NFC1 P0_10/NFC2 Keil, go to: Project > Options for Target > C/C++ > Preprocessor Symbols > Define. Here you can add the CONFIG_NFCT_PINS_AS_GPIOS variable after NRF52. CONFIG_NFCT_PINS_AS_GPIOS 디파인에 추가하여야 된다. BLE/Nordic 2018.03.21
인증 테스트 방법 (DTM) DTM 소스에서 main에서 타이머 동작 안됨. dtm_wait()부분에서 for(;;) 에서 추가하여 작동해야 함. else if (mp_timer->EVENTS_COMPARE[1] != 0) { if(led_time++ > 1000) { led_time = 0; //nrf_gpio_pin_toggle(IOT_LED1); nrf_gpio_pin_toggle(LED_1); } // Reset timeout event flag for next iteration. mp_timer->EVENTS_COMPARE[1] = 0; NVIC_ClearPendingIRQ(m_timer_irq); return ++m_current_time; } BLE/Nordic 2017.07.04
nRF52 DFU 부트로더 진입 ====== SDK 12.3.0 기준 ========= 1) 일반 app 수정 DFU 진입을 원하는 BLE 서비스에서 하기 코드 추가 테스트용으로 귀찮아서 노티 서비스에 추가함. if(p_evt_write->data[0] == 1) { p_our_service->noti_our_enable = true; NRF_LOG_INFO("Notification enabled\r\n"); #define BOOTLOADER_DFU_START 0xB1 NRF_POWER->GPREGRET = BOOTLOADER_DFU_START; NRF_LOG_INFO("bootloder reset!!\r\n"); NVIC_SystemReset(); } else if(p_evt_write->data[0] == 0) { p_our_ser.. BLE/Nordic 2017.06.21