Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Clock generate by C-Code

Can it be possible to generate a Clock of 1 Mhz/ 125 Kbps from Code in eclips environment.

I have altera DE2_115 board, working on clock rate of 50Mhz

regards

kaushal

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Depends exactly what you want to do. I know some people have used a gpio module and generated a "clock" on it for use with an external mdio interface to a phy. They set the data bit, and tick another gpio as a clock.