Assembly CODE HSC12 Dragon Board Assembly CODE HSC12 Dragon
Assembly CODE HSC12 Dragon Board
Assembly CODE HSC12 Dragon Board
PWM signal a) White a program that will generate a PWM signal whose duty cycle is controlled by the value in location 50000. The value of $00 represents zero peroent duty cycle and the value $FF represents hundred percent duty cycle Pick any convenient frequency. Before running the program, use memory modify to change the value in location SD000 to generate the required signal. b) Modify the above program so that it wil monitor the analog voltage on FE5 and generate a PVM signal, so that the duty cycle is proportional to the voltage The duty cycle should be zero percent if the input voltage is zero and hundred peroent if the input voltage is 5 votsSolution
Free scale HCS12 Tower Sample Programs
The Tower system is a new development platform from Free scale allowing the user to stack a CPU module and multiple peripheral modules on top of each other. It has room for one CPU module and 3 peripheral modules. See the following link for more: Free scale Tower System Overview
The HCS12 CPU modules for Tower use the HCS12Gxxx chips. You can purchase the Tower elevator system and the HCS12G128 module from the following website Free scale
Make sure you buy the TWR-S12G128-KIT. This $99 Kit comes with both the Tower elevator and the HCS12G128 CPU module. DO NOT Buy the CPU module for $79 since it has only the HCS12 CPU module and does not come with the Tower elevator. You can also buy HCS12 Tower kit from the following: Mouser purchase options
Using CodeWarrior with HCS12 Tower
Testing and Using HCS12G128 MCU Module with Tower with CodeWarrior

