Replies: 2 comments 10 replies
-
which RTOS you are running ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, it is a professional non open source RTOS.
Now, I have just added an WFI to be stopped until I receive an interruption (usb or 1ms SysTick). Now, something goes wrong with the tinyUSB.
Any idea? I tried other stm (not H7) and things work well |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am facing a strange behavior . I set TinyUSB to work with a CDC & MSC devices (like the proposed example in the package).
Now, I ported the example cdc_msc in my environment (RTOS on a Nucleo stm32743). Here I have a strange behavior . If tud_task(); is placed in a loop (using 100% of the cpu) the program works (I can communicate via the cdc and I can see the mounted disk on my desktop).
This works (but it uses 100% of the cpu)
This does not work ...
Of course, the second example should be the good one; kern_suspedProcess(500) suspend the process for 500us and change the context. With the scope I measured that tud_task(); is really called regularly @ 500us with a very little jitter .
Exactly the same code works perfectly on the Nucleo stm32l4r5.
Any ideas about this strange behavior ?
BR
Edo
Beta Was this translation helpful? Give feedback.
All reactions