Part Number: AM5746
Tool/software: TI-RTOS
Hi,
The question is how to determine the stack size of the USB and PCIe driver.
My customers want to know how to determine the value of stackSize set in the sample project.
■Sample Project
①C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\usb\example\bios\dev_bulk_main.c
tskParams.stackSize = 0x4000;
②C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\usb\example\bios\dev_audio_main.c
taskParams.stackSize = 0x1c00;
③C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\pcie\example\sample\src\pcie_sample.c
params.stackSize =36824;
Question:
We want to prevent overflows and avoid taking too much stack size.
Would you tell me how to decide the stack size.
HW:AM574xIDK
SW:pdk_am57xx_1_0_11
Regards,
Rei