Matteo Rosettani

Help to Write a Example Program to blink LED when i push button SW1/SW2 on the M52223EVB

Discussion created by Matteo Rosettani on Sep 4, 2007
Latest reply on Mar 23, 2008 by Daniel Abad
Hi to all

I'm an Italian Grant Researcher at Università Politecnica delle Marche and i'm trying to use the evaluation board M52223EVB.
I read some pages of the Reference Manual (MCF52223RM) and the board UG (M52223EVB_UG), but this is the first time i'm trying to program a Microcontroller and i've some problem.
Fortunately, i found the software ColdFire Init, but this didn't solve all my problems. I managed to blink some Led and i understand what resgisters are implied.
My objective now is to blink a led when i push one of the two user button (SW1 or SW2), but i didn't understand what registers i would have to use.

Thanks to all in advance.

Dr Rosettani, UNIVPM

Outcomes