PDA

View Full Version : using tms320f2812 mcu



webmaster
December 3rd, 2007, 02:47 AM
i'm using tms320f2812 mcu in a video processing project, i'm digitizing the analog video signal by using the ADC module of this micro. i'm doing some calculations in the ISR of the adc while i'm sampling in a large rate thus i need to minimize the ISR's clock cycles to prevent interrupt interference.
so i wrote all of the calculations in the ISR in assembly language i'm using
this instruction a lot "AND AL,@var,#Var1" using direct addressing mode i read on the instruction sheet that this instruction takes 1 clock cycle but actually its taking 3 clock cycles (using clock profile) does any one know the reason ??