- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a Nios2 dev board (cyclone ii edition) from ALtera. I managed to load uClinux, and run it nicely. I have been able to run the LEDs and the push buttons, and ethernet. However, I have been struggling to get I2C, SPI and 2-line char display going. Can anyone give an insight, where I can get those IPCORE (i2c, spi) and drivers and sample app for running those things ? I saw there is something on opencores.org, but i have no idea how to integrate them using Altrea's tools, and no way i can write drivers for them. Perhaps this is something hippo can help. Thanks. AlbertLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<div class='quotetop'>QUOTE </div>
--- Quote Start --- where I can get those IPCORE (i2c, spi)[/b] --- Quote End --- you can download i2c from opencores. A SPI Core from Altera should be available in your SOPC Builder <div class='quotetop'>QUOTE </div> --- Quote Start --- drivers[/b] --- Quote End --- drivers are already in your kernel-distro. you just need to enable them when you configure your kernel <div class='quotetop'>QUOTE </div> --- Quote Start --- sample app for running those things ?[/b] --- Quote End --- Examples for spi and i2c are included in your microtronix-distro <div class='quotetop'>QUOTE </div> --- Quote Start --- I saw there is something on opencores.org, but i have no idea how to integrate them using Altrea's tools,[/b] --- Quote End --- You find some information about integration i2c in "Post your Own IP". Also look in the forum for more information. The "search" function helps alot Please also visit NiosWiki.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<div class='quotetop'>QUOTE </div>
--- Quote Start --- --- Quote Start --- originally posted by helmchen@Oct 23 2006, 10:15 AM<div class='quotetop'>quote
--- quote end ---
--- quote start ---
where i can get those ipcore (i2c, spi) --- Quote End --- you can download i2c from opencores. A SPI Core from Altera should be available in your SOPC Builder[/b] --- Quote End --- I have done it, and i downloded an modified opencore i2c that can drop into sopc builder straight. Still, have no idea how to integrate it. <div class='quotetop'>QUOTE </div> --- Quote Start --- <div class='quotetop'>QUOTE --- Quote End --- --- Quote Start --- sample app for running those things ?[/b] --- Quote End --- Examples for spi and i2c are included in your microtronix-distro [/b] --- Quote End --- I use the distro posted by hippo on nioswiki. I will find out if there is support for it. <div class='quotetop'>QUOTE </div> --- Quote Start --- You find some information about integration i2c in "Post your Own IP". Also look in the forum for more information. The "search" function helps alot Please also visit NiosWiki. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18853) --- Quote End --- [/b] --- Quote End --- [/b] --- Quote End --- Thanks. I found a lot on that, and now just need to find a way to integrate it into my system. Anyone knows how to drive the LCD on the 2c35 nios2 dev board ?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page