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.

Want to check External interrupt response on AM335x Stater kit...

Hi friends,

      I am new to this Linux platform, I am using AM335x starter kit for performing some experiments,

      I want to see interrupt response time of my board, for that I am planning to use On-board External interrupt

     Switch (sw6), given on board, but I didn’t able to find respective driver file on SDKv5.5 source.


     please suggest me where I have to make changes to achieve it.

     If any document is available related to it then Please share with me.


     Thanks in advance,

      Regards,

      Vishal Rana

  • This switch is connected to the nNMI processor pin. This is a dedicated interrupt pin that activates INT7. See section 6 in the AM335X TRM Rev. J for details.

  • Hi Biser,

          I checked section 6 in the AM335X TRM Rev. J as you suggest, I am able to find out lot of information.

          But I didn't get information where I have to do all those in firmware, In which  kernel file, how to write ISR handler

          in driver, what to do in application code.

          sorry of asking that much details, I am new to Linux and reading books to learn it fast but in books,

          I am  getting information for x86 and other.

          If any Software guide for TI processor and Linux or any link is available then please suggest me.

          I want to toggle LEDs on Starter board using Interrupt and without using interrupt.

          PLEASE GUIDE ME AND ASLO SUGGEST ME DOCUMENT TO REFER FOR CARRYING OUT

          ALL THESE  TYPE OF EXPERIMENTS.

     

          Thanks in advance.

           Regards

           Vishal

       

  • Vishal,

    A good reading about linux interrupts is this: http://lwn.net/images/pdf/LDD3/ch10.pdf

    You can find the whole book here: http://lwn.net/Kernel/LDD3/

    Best regards,
    Miroslav