- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
As I read through the Peripherals handbook about the SPI core of Nios, I wonder if it is applicable to any external device which works by SPI. Something tells me that the SPI core has peculiarities that make it less general than I'd like to. Has anyone used the Nios SPI core with Analog Devices' SPI-based temperature sensors and A2Ds ? What about EEPROMS (like AT25 ...) ?Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi eliben,
yes it is possible to use it on another external device. Where I did my intermship we used it for communication with another device.... I rewrote it myself and it works perfectly http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif I think the Altera-function is not good for use... Cheers, Danny- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anyone used the Nios SPI core with Analog Devices' SPI-based temperature sensors and A2Ds ? What about EEPROMS (like AT25 ...) ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12310)</div> --- Quote End --- I've interfaced to Analog Devices A2Ds and the AT25.. Not temp sensor yet. George- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would recommand using PIO, instead of the altera SPI core. I have been using PIO to interface to serial eerom/flash. SPI is slow, it is easy to use / customize it in software. You can find some sample programs from vendors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi dannyjacobs
Can you give me your programe of SPI to me, I will learn from it , my email is kedimike@sohu.com,thanks !- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ all,
I used PIO only for SPI-select on my external board. But all I had to do was to send commands to set registers... Cheers, Danny
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