Hi all,
I'm using ST's CubeMX implementation on a F4 discovery board. I use ST's USB middlewares with FreeRTOS.
When I get a special OutputReport from PC side I have to answer nearly immediately (in 10-15 ms). Currently I cannot achieve this timing and it seems my high priority tasks can interrupt the USB callback. What do you think, is it possible? Because it's generated code I'm not sure but can I increase the priority of the USB interrupt (if there is any)?
Thank you,
David
10 to 15 ms is very slow, so I'm sure its possible.
Where is the USB callback function called from? If it is an interrupt then it cannot be interrupted by high priority RTOS tasks. Any non interrupt code (whether you are using an RTOS or not) can only run if no interrupts are running.
Without knowing the control flow in your application its hard to know what to suggest. How is the OutputReport communicated to you? By an interrupt, a message from another task, or some other way?
The callback which receive the data from PC is called from the OTGFSIRQHandler (it's the part of the HALPCDIRQHandler function). I think the problem is SysTickHandler's priority is higher than OTGFSIRQHandler and it's cannot be modified, but the scheduler shouldn't interrupt the OTGFSIRQHandler with any task handled by the scheduler. Am I wrong that the scheduler can interrupt the OTGFS_IRQHandler?
If your checklist will contain sensitive compliance information or audit findings, ensure the file is password-protected and stored according to your organization's data security policies.
In the world of Environmental Management Systems (EMS), the transition from "good intentions" to "certified compliance" is often paved with scattered documents and conflicting spreadsheets. If you are staring down the barrel of an upcoming audit, the subject line isn't just a search query—it’s a battle plan.
You can easily assign specific clauses to different department heads (e.g., Operations, HR, Procurement). How to Structure Your ISO 14001:2015 Excel Spreadsheet
The Ultimate Guide to ISO 14001:2015 Checklists in Excel (XLS)
ISO 14001:2015 has a high-level structure that is common to many management system standards. It includes clauses from 4 to 10: Context of the Organization (clause 4), Leadership (clause 5), Planning (clause 6), Support (clause 7), Operation (clause 8), Performance Evaluation (clause 9), and Improvement (clause 10).
To help me tailor this documentation or refine your Excel configuration, please share a few additional details:
An effective XLS checklist should be structured according to the High-Level Structure (HLS)
Sells an audit package including a 30-page EMS audit checklist in both Word and Excel formats with over 130 detailed questions, plus a completed example to help you get started
Use Excel's conditional formatting on the "Compliance Status" column. Set "Compliant" to green, "Partial" to yellow, and "Non-Compliant" to red for rapid visual scanning.
Have you established internal and external communication protocols (what, when, with whom, and how to communicate)?
: Some professional XLS tools use macros for automated reporting; ensure you trust the source before enabling them.
The actionable section of your audit checklist must strictly map to Clauses 4 through 10 of the ISO 14001:2015 framework . Your checklist layout should explicitly cover these exact parameters: Clause 4: Context of the Organization
Thank you for the answer, I think I'm a bit confused with the Cortex ISR priorities :-)
What I can observe is if I use a much higher osDelay in my high priority task I can respond for the received USB message much faster. This is why I think tasks can mess up with my OTG interrupt.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.