Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/09 14:25
Read: times


 
#162544 - Simulate External Oscillator in Keil?
I'm working on a part of my program that requires pulse counting at specific frequencies. I was wondering if anyone knows of a piece of code that I could put into my initialization.ini file that would allow me to set specific frequencies (obviously hard coded one frequency at a time like 58Hz free running, kind of like setting the slave device address in the I2C external simulation) that would simulate toggling a defined pin. I'm using the I2C_master.ini file so I know something can be done, but my search doesn't seem to yield anything useful.

I only need a 50% duty cycle with a frequency range of say 11Hz to around 400Hz with the MPU running at 12Mhz, so nothing crazy.

Any thoughts or suggestions?

Thanks
Chris

List of 7 messages in thread
TopicAuthorDate
Simulate External Oscillator in Keil?            01/01/70 00:00      
   A Signal Function?            01/01/70 00:00      
      That works, some issues            01/01/70 00:00      
         Signal functions are not 'C' functions!            01/01/70 00:00      
            that was my first train of thought....but            01/01/70 00:00      
               It doesn't work like that            01/01/70 00:00      
                  This works fine for what I need....hope it helps someone            01/01/70 00:00      

Back to Subject List