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.

About OMAP-L137(Dev board) UART example code provided by ti

Hi,

In  uart loop back example provided by ti

in main.c  ISTP register is used but it has not declared, i am not able to find the where it has been declared can u please tell me about that, and how to declare.

  • Hi Shankar hiregadad,
    I hope you got an answer from the following post.
    e2e.ti.com/.../492149

  • where can i find ISTP declaration. it has been used in main.c but if i click on this go for declaration its got going to any file 

  • Hi shankar hiregadad,


    ISTP is one of the control registers of C674x's CPU. When you include C6x.h ( usually located at "C:\ti\ccsv6\tools\compiler\c6000_7.4.12\include") you will be able to access.In C6x.h you will see the C type declarations of these control registers...

    For more info on Control registers, please visit : www.ti.com/.../sprufe8b.pdf

    In "intvecs.asm" the "intcVectorTable" is defined. It is located at "rcsl_examples\evmomapl137\dsp_examples\uart\uart_interrupt_loopback_dspl137\src"

    ;*-----------------------------------------------------------------------------

    ;*

    ;* intvecs.asm

    ;* -----------

    ;*

    ;* Description:

    ;* This file includes a generic setup to map the DSP interrupt service

    ;* table (IST) to the corresponding interrupt service routines (ISR).

    ;*

    ;*-----------------------------------------------------------------------------

    ; Global symbols defined here

    .global _intcVectorTable

    .global _c_int00

    .global _UART2_isr

    ;***************************************************************************************

    ;* Map interrupt service table (IST) to corresponding interrupt service routines (ISR)

    ;***************************************************************************************

    .sect ".vecs"

    .align 1024

    _intcVectorTable:

    _vector0: VEC_ENTRY _c_int00 ;RESET

    _vector1: VEC_ENTRY _vec_dummy ;NMI

    _vector2: VEC_ENTRY _vec_dummy ;RSVD

    _vector3: VEC_ENTRY _vec_dummy ;RSVD

    _vector4: VEC_ENTRY _UART2_isr ;DSP Maskable INT4 : Mapped to func 'UART2_isr'

    _vector5: VEC_ENTRY _vec_dummy ;DSP Maskable INT5 : Empty

    _vector6: VEC_ENTRY _vec_dummy ;DSP Maskable INT6 : Empty

    _vector7: VEC_ENTRY _vec_dummy ;DSP Maskable INT7 : Empty

    _vector8: VEC_ENTRY _vec_dummy ;DSP Maskable INT8 : Empty

    _vector9: VEC_ENTRY _vec_dummy ;DSP Maskable INT9 : Empty

    _vector10: VEC_ENTRY _vec_dummy ;DSP Maskable INT10: Empty

    _vector11: VEC_ENTRY _vec_dummy ;DSP Maskable INT11: Empty

    _vector12: VEC_ENTRY _vec_dummy ;DSP Maskable INT12: Empty

    _vector13: VEC_ENTRY _vec_dummy ;DSP Maskable INT13: Empty

    _vector14: VEC_ENTRY _vec_dummy ;DSP Maskable INT14: Empty

    _vector15: VEC_ENTRY _vec_dummy ;DSP Maskable INT15: Empty

  • Hi,

    Thank you so much and sorry for late reply.

    Thanks and Regards

    Shankar Hiregadad

  • Hi Shankar,

    You are welcome.