Announcement

Collapse
No announcement yet.

PI Microcontroller Speed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PI Microcontroller Speed

    Most people are running the microcontrollers at 4mhz do u think u can generate 10us pulsewidth using the micro's ccp module. there is no sufficient time for other subroutines to run, mainly if using an adc, furthur insufficient time in doing FFT/DFT, try to increase the micros speed by more than 20Mhz.

    Its better to use LM555 but this doesnt support an LCD and ADC....
    regards

  • #2
    Originally posted by sharky View Post
    Most people are running the microcontrollers at 4mhz do u think u can generate 10us pulsewidth using the micro's ccp module. there is no sufficient time for other subroutines to run, mainly if using an adc, furthur insufficient time in doing FFT/DFT, try to increase the micros speed by more than 20Mhz.

    Its better to use LM555 but this doesnt support an LCD and ADC....
    regards
    Hi sharky,
    some older MCU like the pic series have limited speed cause of their architecture. E.g. PIC16f84 one of the most common used e.g. in the Stuart's PI, execute an instruction every 4 clock cycles.

    That mean if you run it at 4MHz you got 1MIPS speed. Very low.
    If you run at 20MHz (some newer version can do that) you run it at 5MIPS.
    Always low for what you ask !

    So the best is finding a faster MCU, and there are a lot.
    Also changing architecture is a good idea: e.g. ATMEL have 1:1 pipeline so if you run an ATMEL at 8MHz you get 8MIPS and that's really good if you need a fast hardware.

    Some other can run at e.g. 50MHz and more giving you the power and speed you need.

    So the choice is up to you.

    Kind regards,
    Max

    Comment

    Working...