This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

programming ip core 8051 spartan 3e

Hello, anyone has experience with spartan 3e board kit board?
I do not get results with any program that contains: DJNZ, JMP ... results alone with programs in which I interact, if I let a program with a simple increase with subsequent visualization with LEDs, do not get any result, only the first LED lighting.
Alguin can help-me?

Health and thanks

Parents
  • The P3 is the output of LEDs that have the plate, the response of the plate is a 1 in the leds i mas.No be nothing if not accept a DJNZ, JMP ...
    I think the above frenglish sentence translates to "P3 pins read '1'". p3.2 - p3.7 should be a '1', p3.0 - p3.1 should oscillate very fast (too fast for a LED which will just appear lit).

    are you measuring with a scope or a meter or - are you relying on the LEDs?

    not related to your problem, but your code is "overcomplicated"

    Org 0
    Inici:   mov  p3,#01h
    Temp1:   djnz r0, temp1
    Temp2:   djnz r0,temp2
             Mov  p3,#02h
    Temp3 :  djnz r0, temp3
    Temp4 :  djnz r0, temp4
             Jmp  inici
             end
    

    will do the exact same

    Erik

Reply
  • The P3 is the output of LEDs that have the plate, the response of the plate is a 1 in the leds i mas.No be nothing if not accept a DJNZ, JMP ...
    I think the above frenglish sentence translates to "P3 pins read '1'". p3.2 - p3.7 should be a '1', p3.0 - p3.1 should oscillate very fast (too fast for a LED which will just appear lit).

    are you measuring with a scope or a meter or - are you relying on the LEDs?

    not related to your problem, but your code is "overcomplicated"

    Org 0
    Inici:   mov  p3,#01h
    Temp1:   djnz r0, temp1
    Temp2:   djnz r0,temp2
             Mov  p3,#02h
    Temp3 :  djnz r0, temp3
    Temp4 :  djnz r0, temp4
             Jmp  inici
             end
    

    will do the exact same

    Erik

Children