Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals

jawu_4351971
Level 3
First like given
Level 3

需要微秒级的时间戳,请问有没有相关寄存器可以读取系统时钟信息,获取一个相对的时间戳。

0 Likes
1 Solution
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

FX3没有开放API获取微妙级的时钟数据。

View solution in original post

0 Likes
5 Replies
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

请参考FX TRM Section 2.3.1.11

0 Likes
jawu_4351971
Level 3
First like given
Level 3

我看这个好像就是个看门狗计时器,请问怎么读取寄存器上的计时

0 Likes
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

可以使用CyU3PGetTime()这个API

0 Likes
jawu_4351971
Level 3
First like given
Level 3

这个获取到的tick是ms级的累加吧?我想要微妙级的

0 Likes
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

FX3没有开放API获取微妙级的时钟数据。

0 Likes