From a4ccce8dac213de5b581cddbf2d861a908309ff6 Mon Sep 17 00:00:00 2001 From: thomas-ha Date: Tue, 8 Mar 2016 15:54:03 +0100 Subject: [PATCH] enable 32 kHz crystal oscillator for TSCH --- examples/ipv6/rpl-tsch/project-conf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/ipv6/rpl-tsch/project-conf.h b/examples/ipv6/rpl-tsch/project-conf.h index 13595f333..71a8e5425 100644 --- a/examples/ipv6/rpl-tsch/project-conf.h +++ b/examples/ipv6/rpl-tsch/project-conf.h @@ -71,6 +71,10 @@ /* Enable SFD timestamp (uses SFD interrupt) */ #undef CC2538_RF_CONF_SFD_TIMESTAMPS #define CC2538_RF_CONF_SFD_TIMESTAMPS 1 +/* For TSCH we have to use the more accurate crystal oscillator + * by default the RC oscillator is activated */ +#undef SYS_CTRL_CONF_OSC32K_USE_XTAL +#define SYS_CTRL_CONF_OSC32K_USE_XTAL 1 /* Needed for cc2420 platforms only */ /* Disable DCO calibration (uses timerB) */