mpc5748g- RTC in millisecond

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mpc5748g- RTC in millisecond

721件の閲覧回数
chaudhari123
Contributor I

Hi,

I am using SDK driver. after receiving the CAN message I want time in millisecond . how can I get time in milliseconds using RTC? please guide me.

Thank you and regards;

snehal123

 

0 件の賞賛
2 返答(返信)

574件の閲覧回数
MattJCole
Contributor V

Where can i get information about doing so?

0 件の賞賛

702件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there's RTC_DRV_GetTimeDate function in the RTC driver:

lukaszadrapa_0-1630398861429.png

However, the rtc_timedate_t supports seconds only:

lukaszadrapa_1-1630398906941.png

If you need to go down to milliseconds, it's necessary to develop own solution using another timer like STM, for example.

Regards,

Lukas

0 件の賞賛