How does the uController know when write the first bit in the FIFO? Does the first bit correspond to the value of MISO when edge of SSIOClk goes from 0 to 1?
In this exemple, FIFO is it 0111 or 0110?
Thank you for taking time.
Assuming you are talking about SSI communication, it depends on the mode of the transfer. Documentation about the mode selection can be found in the data sheet for the part you are working with.
I have tried to find but I havn't. I read some documentation about SSI transfer data (FIFO to SSIO register) . Unfortunatly, there wasn't any document about how was writing data from MISO in FIFO memory.
Would you mind to guide me to the right document?
This is all documented in the Synchronous Serial Interface (SSI) section of the lm3s9b96 datasheet. What may be confusing you is that MISO and MOSI are called SSITx and SSIRx in the datasheet. Each mode shows exactly what edge data is sampled on, so that you can chose the format that you need.
Don't forget, depending on whether your device is master or slave, which pins represent MISO and MOSI are swapped.
If you are the master then MOSI is SSITx, and MISO is SSIRx. If you are slave, the MOSI is SSIRx, and MISO is SSITx.
Thank you every one. In fact, I was confusing wise MISO and SSIRX. Your explain helped me a lot.
Have a nice week.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.