Part Number: TMS320F28075
Tool/software:
Hi guys, after many attempts to write a simple LED binary counter on PORTB in Assembly I'm asking for help. Every time I run my ASM code my F28075 crashes. I read the ASM example in the ASM Reference guide but my attempts still fail.
What I'm trying to do is this:
I have 32 LED's on PORTB, incrementing the accumulator by #1 and outputting the 32bit result to PORTB where the binary number will show on the LEDS. I can do this in a thread and it works fine.
I'm using INTR to call my interrupt. I save all the registers to the stack as the Reference guide says to but still no go for me.
I would also like the interrupt to keep running so the LEDS keep counting regardless of what the CPU is working on.
Please, any help here will be VERY VERY much appreciated as its doing my head in.
Thank you guys and Hope to hear from you soon.
Peter