RTwdog clock selection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTwdog clock selection

Jump to solution
1,073 Views
burhanhagi
Contributor IV

ı am using RTwdog3 of imxrt1170. There are 4 different clock source for it. 

burhanh_0-1682665024544.png

 

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.

 

0 Kudos
Reply
1 Solution
1,062 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @burhanhagi ,

    RT1170RM missed the information, you can refer to the RT1060, it is the same:

kerryzhou_0-1682671000551.png

 

Wish it helps you!

Best Regards,

Kerry

 

View solution in original post

3 Replies
657 Views
scotty
Contributor IV

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.

0 Kudos
Reply
1,058 Views
burhanhagi
Contributor IV

Thank you @kerryzhou 

1,063 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @burhanhagi ,

    RT1170RM missed the information, you can refer to the RT1060, it is the same:

kerryzhou_0-1682671000551.png

 

Wish it helps you!

Best Regards,

Kerry