2. 進去trace code後, 才發現是設定上的錯誤, 由於硬體板子上並沒有XTAL元件, 只要一進去ble_stack_init() function, 就會出現死當.
.rc_ctiv = 16, // Interval in 0.25 s, 16 * 0.25 = 4 sec
.rc_temp_ctiv = 2, // Check temperature every .rc_ctiv, but calibrate every .rc_temp_ctiv
This configuration will set RC oscillator, and check for temperature delta every 4 second, and calibrate the RC every 8 second.
4. 修改完成.
沒有留言:
張貼留言