1˵

    չʾͨI2CģⲿEEPRONͨš   

2ʹû

   
    IDEߣKEIL MDK-ARM 5.34.0.0
    
    Ӳ
     N32G05xϵУ
            N32G05xRBQ7_STB V1.0
       N32G05xϵУ
            N32G05xRBL7_STB V1.0


3ʹ˵
	
    1ʱӣ64MHz
    2I2C1 ã
            SCL   -->  PB10          
            SDA   -->  PB11         
            CLOCK:400KHz
            
    3USART1ã
            TX  -->  PA9   
            RX  -->  PA10           
            ʣ115200
    
    4ʹEEPROMͺ:
	    AT24C044kb
        

    5Բ
        aEEPROM
        bش븴λ
        cӴڿӡϢ֤

4ע
   

1. Function description

     This example demonstrates the communication with the external EEPRON through the I2C module.

2. Use environment

    Software development environment:
    IDE tool: KEIL MDK-ARM 5.34.0.0
    
     Hardware environment:
     N32G05x series:
            Developed based on the evaluation board N32G05xRBQ7_STB V1.0
      N32G05x series:
            Developed based on the evaluation board N32G05xRBL7_STB V1.0


3. Instructions for use

     1. Main clock: 64MHz
     2. I2C1 configuration:
             SCL --> PB10
             SDA --> PB11
             CLOCK: 400KHz
            
     3. USART1 configuration:
             TX --> PA9
             RX --> PA10
             Baud rate: 115200
    
     4. Test using EEPROM model:
            AT24C04 (capacity 4kb)
        

     5. Test steps and phenomena
         a, check the EEPROM connection
         b, compile and download the code, reset and run
         c, view the print information from the serial port and verify the result

4. Matters needing attention
    without