Hello,
I want to transfer analog values via BLE to a external Device. The SAADC is initialize for 2 channels, triggered by RTC-timer and i've get the right values from both channels. When i connect over BLE, the values i get change from ~12000 inc to ~9000 inc (14 bit resolution). Also after disconnecting the values are wrong until i restart the nrf.
My suppostion is a wrong Ramtable in Segger Studio, i have to change NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE, NRF_SDH_BLE_VS_UUID_COUNT
// <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4. #ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE #define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1900 #endif // <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs. #ifndef NRF_SDH_BLE_VS_UUID_COUNT #define NRF_SDH_BLE_VS_UUID_COUNT 20 #endif
in sdk_config.h and RAM_START=0x200026b8, RAM_SIZE=0xd948, because i have over 15 characteristics.
But when i read the softdevice spec, it must to be enough reserved ram.
SDK 15.3.0
Softdevice 6.1.1

