Tool/software: Code Composer Studio
Dear all,
I'm working on a project that requires communication between 2 TM4C123GH6PM. The Slave handles a power process that shouldn't be interrupted , and the Master frequently sends request (R/W data) to the Slave. The Slave only process and response whenever the power process is done, this process is looped infinitely. Currently, I'm able to communication between 2 kits continuously and using SPI interrupt.
I found out that the Slave can only response when the Master puts data on the Tx line (which enables the SPI clock). If SPI clock always active, the Master and Slave only need to send data once in order to utilize the usage of full-duplex characteristic. Is there any way to always active the SPI clock?
If that method is impossible, I also found a plan B for this problem. The Master will frequently send data to Slave, whenever the Slave is in power process, it will clear the FIFO and continue the power process. Only until the Slave reaches to the Communication process, it can process and response the request. In order to effectively explaining the concept, I made a figure so that you can understand my idea easier (the figure is attached below). Is my method good enough? If there is any other solution that more effective than this, please show me the way.
Thank you.
