- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I'm Suyo.
I want to use SPI of 16bit. It writes 8Bit in 11-11 of SPI Core with Avalon interface(NiosII document). Don't 16 bits correspond? I think that only 8Bit supports because the type of the variable, too, is the char type of alt_u8. SOPC Builder can set with 16 bits. Because it is, it thinks that 16 bits can support. How when wanting to write software at 16 bits, should it be? I rewrote the driver of SPI. It rewrote alt_u8 to alt_u16. The error occurs when doing a rewritten header file include in the program. There is a change point of the program contents hardly. Why will the error occur? Also, it confirmed whether or not to make a sample program actually and whether or not data was written. Data isn't together written by 8 bits, 16 bits. If using IOWR_ALTERA_AVALON_SPI_TXDATA(base, data), in case of 8 bits, the data should be written. I confirmed Signal TapII but data isn't written. Also,I attempted to access using the index but data wasn't written. Is there a person who rewrote the driver of SPI to 16 bits? Tell to me. Please help me. Best Regards, SuyoLink Copied
0 Replies

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