ı am using RTwdog3 of imxrt1170. There are 4 different clock source for it.
In fsl_rtwdog.h driver file, there is 4 clock source as below;
typedef enum _rtwdog_clock_source
{
kRTWDOG_ClockSource0 = 0U, /*!< Clock source 0 */
kRTWDOG_ClockSource1 = 1U, /*!< Clock source 1 */
kRTWDOG_ClockSource2 = 2U, /*!< Clock source 2 */
kRTWDOG_ClockSource3 = 3U, /*!< Clock source 3 */
} rtwdog_clock_source_t;
So which source clock id above will I choose for using external XTAL 32.768KHz? Which id is corresponding to which clock is not clear to me. I could not find any explainatory info in reference manual.
Solved! Go to Solution.
Hi @burhanhagi ,
RT1170RM missed the information, you can refer to the RT1060, it is the same:
Wish it helps you!
Best Regards,
Kerry
I also searched for that information in the lastest reference manual (Rev 2 from 2023-06) of the i.MXRT1170 device family, but without success.
@burhanhagi, I am happy that you already asked this question here.
@kerryzhou, thank you for this information. I would be grateful if you would please present this information in the next revision of the reference manual.
Please also check if it is possible to update the related enumeration in the MCUXpresso SDK in fsl_wdog32.h:
/*! @brief Describes WDOG32 clock source. */
typedef enum _wdog32_clock_source
{
kWDOG32_ClockSource0 = 0U, /*!< Clock source 0 */
kWDOG32_ClockSource1 = 1U, /*!< Clock source 1 */
kWDOG32_ClockSource2 = 2U, /*!< Clock source 2 */
kWDOG32_ClockSource3 = 3U, /*!< Clock source 3 */
} wdog32_clock_source_t;
Thanks in advance.
Thank you @kerryzhou
Hi @burhanhagi ,
RT1170RM missed the information, you can refer to the RT1060, it is the same:
Wish it helps you!
Best Regards,
Kerry