Module Initialization
www.ti.com
284
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
SPI (Serial Peripheral Interface)
Figure 8-15 represents the main sequence common to all transfers.
Figure 8-15. Flow Chart – Common Transfer Sequence
8.5.2 End-of-Transfer Sequences
In these sequences, some soft variables are used:
• write_count = 0
• read_count = 0
• channel_enable = FALSE
• last_transfer = FALSE
• last_request = FALSE
These variables are initialized before starting the channel.