1˵

    ṩһDMA÷I2CRAM֮䴫ݡ  

2ʹû

    KEIL MDK-ARM V5.34.0.0
    Ӳ 
        N32G05xϵУ
            N32G05xRBQ7_STB V1.0
        N32G05xϵУ
            N32G05xRBL7_STB V1.0



3ʹ˵
	
    1ʱԴHSE+PLL
    2ʱӣ64MHz
    3DMAͨDMA_CH5DMA_CH1
    4I2C1 ã
            SCL   -->  PB10
            SDA   -->  PB11
            ADDR0x30(7bit)
            CLOCK100K
    
    5I2C2 ã
            SCL   -->  PC5
            SDA   -->  PC7
            ADDR0x30(7bit)
            CLOCK100K
    
    6UART1ã
            TX  -->  PA9
            ʣ115200
            λ8bit
            ֹͣλ1bit
            У

    7Բ
        a, :PB10PC5,PB11PC7
        bش븴λ
        cӴڿӡϢ֤

4ע
    


1. Function description
    This routine provides a DMA usage for transferring data between I2C peripheral and RAM.

2. Use environment
	Software development environment: KEIL MDK-ARM V5.34.0.0
    Hardware development 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.Clock source: HSE+PLL
    2.Master clock: 64MHz
    3.DMA channels: DMA_CH5, DMA_CH1
    4.I2C1 configuration:
        SCL   -->  PB10
        SDA   -->  PB11
        ADDR0x30(7bit)
        CLOCK100K
    5.I2C2 configuration:
        SCL   -->  PC5
        SDA   -->  PC7
        ADDR0x30(7bit)
        CLOCK100K    
    6.UART1 configuration:
        TX  -->  PA9
	Baud rate: 115200
	Data bit: 8 bits
	Stop bit: 1bit
	No check            
    7.Test steps and phenomena
    A. Development board connection: PB10 connected to PC5, PB11 connected to PC7
	B. Compile download code reset run
	C. View the printed information from the serial port and verify the result

4. Precautions
    None
