mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	Enables building C3 examples in CI. Fixes related warnings/errors and disables examples that cannot run.
		
			
				
	
	
		
			24 lines
		
	
	
		
			895 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			895 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
## SPI master half duplex EEPROM example
 | 
						|
 | 
						|
 This code demonstrates how to use the SPI master half duplex mode to read/write a AT93C46D
 | 
						|
 EEPROM (8-bit mode). There is also an Kconfig option `EXAMPLE_USE_SPI1_PINS` allowing use the
 | 
						|
 SPI1 (bus with code Flash connected on official modules).
 | 
						|
 | 
						|
### Connections
 | 
						|
 | 
						|
For different chip and host used, the connections may be different.
 | 
						|
 | 
						|
|      | ESP32 | ESP32 | ESP32S2 | ESP32C3 |
 | 
						|
| ---- | ----- | ----- | ------- | ------- |
 | 
						|
| Host | SPI1  | HSPI  | FSPI    | SPI2    |
 | 
						|
| VCC  | 3.3V  | 3.3V  | 3.3V    | 3.3V    |
 | 
						|
| GND  | GND   | GND   | GND     | GND     |
 | 
						|
| DO   | 7     | 18    | 37      | 2       |
 | 
						|
| DI   | 8     | 23    | 35      | 7       |
 | 
						|
| SK   | 6     | 19    | 36      | 6       |
 | 
						|
| CS   | 13    | 13    | 34      | 10      |
 | 
						|
| ORG  | GND   | GND   | GND     | GND     |
 | 
						|
 | 
						|
### Notes
 | 
						|
 | 
						|
If you meet timeout issues, please check your connections. |