Relative Content

Tag Archive for embeddedrtosthreadx

Triggering a periodic task from an interrupt in ThreadX

My application wants to run a periodic task at a period of 200 microseconds (timing a bit TBD, but faster than 1 ms). One option could be to lower the system tick of ThreadX to something lower than the default 10 milliseconds, say 100 microseconds. However, I’ve read that this could incur potentially significant overhead in the RTOS. Though I’m wondering if this overhead may/may not matter depending on CPU speed? Beyond increasing the system tick, what options do I have? Some options I’m considering, but haven’t found documentation that explicitly supports it.

USBX ACK Request for Device Descriptor but doesn’t respond

I’m using AzureRTOS USBX to write a Mass Storage application for a custom ARM SoC that isn’t yet on the market. The behavior I observe when I flash and run my program is that it gets through initialization without returning errors, and the device ACKs the request for a Device Descriptor, but it never responds to that request.