This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I can not use HalUARTWrite to print long string. Do you have any idea ?

Other Parts Discussed in Thread: CC2530, Z-STACK

Hello !! Everyone. This is my first post for TI E2E Community. I have some question about Z-stack home automation. I use cc2530.

I create function for print testing.

static void test(){
  
  char gg[] = "gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg";
  HalUARTWrite(MT_UART_DEFAULT_PORT, gg, strlen(gg));
  HalUARTWrite(MT_UART_DEFAULT_PORT, gg, strlen(gg));
  HalUARTWrite(MT_UART_DEFAULT_PORT, gg, strlen(gg));
  
}

gg[] was printed only first call HalUARTWrite() and the next two HalUARTWrite()  do not print anything.

Later, I add more g character.

static void test(){
  
  char gg[] = "gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg";
  HalUARTWrite(MT_UART_DEFAULT_PORT, gg, strlen(gg));
  
}

It does not print anything too.

Do you have any ideal with this case ?

Please excuse my poor English.

Best regards,

Supakorn