USB RAM use

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB RAM use

731 Views
CCandido
Contributor V

Hi,

library usb Virtual Com Port, use 17K RAM.

question 1:

there is a way to decrease the ram size used ?

type const in flash.

pastedImage_2.png

question 2:

how to switch CDC, with request to send or without.

or, how to automatic ECHO request to send MCU.

my code ever send Frame (resquest to send).

cdc without uart.

thanks,

Carlos.

Labels (1)
0 Kudos
2 Replies

537 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Hi Carlos,

The data portion of RAM usage will consist of various elements including heap, stack, variables, buffers etc. The allocation sizes for the heap and the stack may be candidates for reduction:

The MCUXpresso IDE User Guide chapter 'Memory Configuration and Linker Scripts' covers this are is some detail - in particular see 'More advanced heap/stack placement'.

The requirement for buffer space within a USB project will typically be chosen based on some performance requirement. You would have to perform some local testing to see what penalties might be seen if these were reduced.

Questions relating to specific SDK projects should be raised in the SDK forum - where the SDK, MCU, board and project name should be given.

Yours,

MCUXpresso Support

0 Kudos

537 Views
CCandido
Contributor V

Hi  Support,

I'll try to reduce this size.

thanks,

Carlos.

0 Kudos