S3A6 USBX Pool Memory Size CDC-ACM

Hello,

Is it possible to reconfigure USB X CDC-ACM to decrease USBX Pool Memory Size for S3A6?

 

The problem is S3A6 has only 32K RAM,

According to Express Logic USBX Memory Requirements

we need 18K for USBX Pool Memory size, also 8K used for BSP stack and heap, only 6K RAM left for our application.

The 6K RAM left insufficient for our application.

Parents
  • Hi dxwak,

    I don't have S3A6, but I've tried to use the Communications Framework on USB on DK-S3A7 board. First, go to Project > Properties and define two preprocessor macros: UX_DEVICE_SIDE_ONLY and UX_SYSTEM_DEVICE_ONLY.

    Then, attach USBX Source and USBX Device Class CDC-ACM Source components to your project. I set USBX Pool Memory Size to 6144 in USBX on ux and the project worked fine.

    Please remember to click "Generate Project Content" and rebuild the project after above changes.

    Regards,
    adboc

  • Hi adboc

    I tried your solution for this Problem.

    Using ssp 1.7.0 but it didn't worked out,when i use g_ux_pool_memory smaller than 17k. I get UX_MEMORY_INSUFFICIENT error from   ux_common_init0 (),    ux_device_init0 () or ux_device_class_cdc_acm_init0 () depending on size of the memory pool. Did something change since then?

    kind regards

    Nico

  • Hi ENI-

    This is a very old thread. I suggest you do a new post so everyone sees it as new.

Reply Children
No Data