- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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, SuyoLien copié
0 Réponses

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable