Hi,
My FX3 Firmware is to run on a 256K RAM FX3. I am looking to optimize memory usage. In this process, I am looking at my own thread stack usage to adjust their size. Doing so I came across the different thread running on the firmware.
I have the following trace for the FX3 API threads :
Priority 4 Size 3FB High 21B Usage 52 : 04_UIB_THREAD
Priority 4 Size 3FB High E3 Usage 22 : 05_LPP_THREAD
Priority 4 Size 3FB High CF Usage 20 : 03_PIB_THREAD
Priority 6 Size 1FB High BF Usage 37 : 07_DEBUG_THREAD
Priority 4 Size 7FB High C3 Usage 9 : 06_SIB_THREAD
Priority 4 Size 3FB High 13F Usage 31 : 02_SYSTEM_THREAD
Priority 2 Size 3FB High 157 Usage 33 : 01_DMA_THREAD
Priority 0 Size 3FB High AB Usage 16 : System Timer Thread
I was not expecting the 06_SIB_THREAD to be present as I don't have storage enabled on my firmware nor does my FX3 support it. The trace informs that the SIB Thread is using 9% of the 2KB of memory allocated for stack.
The SDK API starts CyU3PSibApplicationDefine in the CyU3PApplicationDefine.
Is the SIB Thread use by any other driver than the SD Controller ?
Could the SIB Thread be started based on the return of CyFx3DevIsSib0Supported ?
Regards,
Stan