Hi,
there is no problem to set 500ms period on my side. see attached project.

if this can not solve your problem, please send your demo project. thus we can know your problem on your specific project. thanks!
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------