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.

Compiler/TMS570LS3137: The TMS570 CPU Interrupt and Assembly instruction

Part Number: TMS570LS3137

Tool/software: TI C/C++ Compiler

Hello

Q:

  As I understand, CPU finished an assembly statement  instruction.Look for interruptions.is it right or not?

    If an assembly is being executed,The interrupt can break the assembly (only an ).Or  wait the an assembly finished ,go to  the  interrupt 

  • Hello,

    My understanding is that the execution of the assembly code is interrupted, the address of this assembly instruction is stored in R14_xx register (xx may be irq, fiq, abt, ...). This assembly code will be executed after the interrupt service is completed.

  • Hello

     Is there a problem with my description. I means that  some ONLY A  C code sentence corresponding assembly  2 or 3... Instructions,and some ONLY A  C code sentence corresponding  ONLY A assembly Instruction, When  only  A assembly  Instruction  is being executing, interrupt come, whether Wait for the execution of the statement to finish or  not,after that execute  the interrupt .Only A assembly  Instruction "MOV EAX,#050aH"

     

  • As I mentioned, when the peripheral interrupt occurs, the VIM prioritizes and signals the ARM Cortex-R4, and MCU core will stop the execution of current instruction (C or assembly) and jump to ISR. After interrupt ISR is done, it will execute the interrupted instruction (C or assembly).

  • Hello 

    The response of the CPU is also based on the clock. A Clock dont finished,the interrupt  occurs,dose the MCU core will stop the execution of current instruction (assembly),the assembly is only one assembly  Instruction.the TMS570 CPU isnot same as others?

  • Hello,

    The input signal is latched at clock edge (rising or falling), and an external interrupt normally occurs at the rising or falling clock edge.