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.

CC2538: UART interrupt not under standing?

Part Number: CC2538
Other Parts Discussed in Thread: Z-STACK

Hi,

I'm using Zstack-3.0. here I'm confusing about UART to read and write.

In this function processUART_ReadBuf(); nowhere it's calling, but still, this function executing how it is, can anyone help me. How is the uart giving the interrupt 

  • Hey there chethan,

    So if I am understanding correctly, you're interested in the behavior of MT for having proper UART read/write integration into the project? For your own reference, you can look at several different MT projects such as OTAServer Dongle, and ZNP.

    This post may also be of some assistance for you: e2e.ti.com/.../2505013

    What is your end goal here? I cannot find the function 'processUART_ReadBuf' anywhere in the Z-Stack 3.0.1 SDK.
  • I'm using Zstack-3.0.0. In UartInterface_service, there is a file called uartDebug_serviec.c


    i don't know processUART_ReadBuf function is called by some where from where it calling i searched i didn't get.

    here is the code below

    /******************************************************************

    uint8 processUART_ReadBuf(uint8 *newBuffer)
    {

                uint16 intCommand;
                uint16 intCommand2;
                intCommand = atoi(newBuffer);
                token = strtok(newBuffer, "_-");

                if(intCommand == 51)
                {
                      osal_start_timerEx( Kiko_TouchPannel_TaskID, READ_TOUCH, 500 );

                }

    }

     

  • I don't see uartDebug_serviec.c under my Z-Stack 3.0 folder. Are you sure this file is from TI Z-Stack?
  • Like YK, I also do not have this file anywhere in my Z-Stack 3.0.0 SDK nor inside the 3.0.1 SDK.