AnsweredAssumed Answered

K64 UART buffer extend to 1KBytes

Question asked by Isao Takashima on Dec 16, 2014
Latest reply on Aug 14, 2015 by Jonathan Whyatt

We want to extend UART buffer up to 1KBytes.

We understand that we can extend UART buffer size by add the following code into the user_config.h.

#define BSPCFG_SCI1_QUEUE_SIZE  1024

 

But we find out the following comment in the twrk64f120m.h.

/*

** TTYB and ITTYB buffer size

** MGCT: <option type="number" min="0" max="256"/>

*/

 

We checked source code, but we cannot find out a reason that why maximum size of UART buffer is 256 bytes.

 

Here is my questions.

1. Can we extend UART buffer to 1,24 bytes?

2. If no, please explain that why we cannot extend UART buffer to 1,024 bytes.

 

Please reply as soon as possible.

 

Best regards,

Takakshima

Outcomes