I successfully run "ble_app_hrs_c" on BLE_Central example at 38,400bps on the PCA10001 device. My modification on PCA10001 board as follows;
-
cut out 32.768KHz X-tal connection to nRF51822 as I configue Internal-RC OSC for working
-
Internal RC setup as follow in function of static void ble_stack_init(void)
NRF_CLOCK->LFCLKSRC = (CLOCK_LFCLKSRC_SRC_RC << CLOCK_LFCLKSRC_SRC_Pos); // Initialize the SoftDevice handler module. SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION, NULL); // SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
-
Download S120 and this example code to flash then it successfully reply UART port.
I designed my own board using nRF51822QFAA-version H0(latest one)
- This board also does not have 32.768KHz X-tal(using Internal-OSC)
- I only connect nRF51822 UART_TX and UART_RX pins to my MCU
- I tested other applications such as Radio examples and it works properly
- I also tested my own programmed ESB scan application using UART and it also work.
- When I download S120 and ble_app_hrs_c to my own board, UART does not work.
This is my problem, what's wrong?