This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DIO as external LF clock source

Part Number: CC1354P10
Other Parts Discussed in Thread: SYSCONFIG

CCS and the device crash after GPIO_Init() when using a DIO as lf clock source. Also the function CCFGRead_EXT_LF_CLK_DIO() returns a bool instead of the pin number, but after fixing this the code still crashes in the memcpy function of GPIO_Init. I am using the latest version of simplelink and also tried multiple pins.

  • Hi Marten,

    Can you please share the changes to your SysConfig -> Device Configuration module to enable the "External LF clock" as the "LF Clock Source"?  Perhaps also a simple code snippet of the example which breaks when you attempt to enable this feature?  These settings are configurated by the CCFG, so after selecting the "External LF Clock DIO" you should not reuse that pin with GPIO TI Driver functions.  The Driverlib documentation describes the available CCFG Read functions.  Please note that the input LF clock source should meet the parameters outlined in the datasheet and TRM.

    Regards,
    Ryan

  • I fixed it by copying the GPIOCC26X4.c file and manually adding the CCFGRead_EXT_LF_CLK_DIO and returning a uint32_t instead of a bool. I also had to set the used dio as an input in the sysconfig tool in the GPIO section. For the project i tried to output the 32KHz clock to a GPIO, but read in the rtm the 32KHz only can be used as either input or output for a dio.