There is no problem with SPI transmission. How do you judge the end of the transmission according to the routine? The situation I encountered is this: always in the first send does not end
 
					
				
		
 Robin_Shen
		
			Robin_Shen
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi bincheng,
About the typical usage, have you try to use another SPI send char 13?
This example sends zeros repeatedly until it receives a character with code 13 from the slave.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
How to set the acceptance of SPI communication is valid on the second edge of the clock detection?Never get a response after sending a message。The picture is the communication requirement of the SPI slave. Please help to configure the SPI configuration of the MKE06 chip.
 
					
				
		
 Robin_Shen
		
			Robin_Shen
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Maybe you need to reconfigure the SPI clock format shown below:
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
