1˵

    ṩһDMA÷赽RAM֮䴫ݡ
    

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_CH2DMA_CH3DMA_CH4DMA_CH5
    4SPI1 ã
            SCK   -->  PB12
            MISO  -->  PB11
            MOSI  -->  PB10
            ȫ˫
            ģʽ
            8bit
            ԣʼΪ/ڶ
            Ƭѡ
            ǰMSB
    
    5SPI2 ã
            SCK   -->  PC0
            MISO  -->  PC3
            MOSI  -->  PC2
            ȫ˫
            ģʽ
            8bit
            ԣʼΪ/ڶ
            Ƭѡ
            ǰMSB
    
    6USART1ã
            TX  -->  PA9
            ʣ115200
            λ8bit
            ֹͣλ1bit
            У

    7Բ
        aӣPB12PC0PB11PC3PB10PC2
        bش븴λ
        cӴڿӡϢ֤
        
4ע
    


1. Function description
    This routine provides a DMA usage for transferring data between peripherals 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_CH2, DMA_CH3, DMA_CH4, DMA_CH5
4. SPI1 configuration:
        SCK   -->  PB12
        MISO  -->  PB11
        MOSI  -->  PB10
    	Full duplex
    	Main mode
    	8 bit transmission
    	Polarity: start at low/second edge
    	Piece of software to choose
    	Big end in front MSB

5. SPI2 Configuration:
        SCK   -->  PC0 
        MISO  -->  PC3
        MOSI  -->  PC2
    	Full duplex
    	From the pattern
    	8 bit transmission
    	Polarity: start at low/second edge
    	Piece of software to choose
    	Big end in front MSB

6. USART1 configuration:
        TX  -->  PA9
    	Baud rate: 115200
    	Data bit: 8 bits
    	Stop bit: 1bit
    	No check

    7. Test steps and phenomena
        A. Pin connection: PB12 connects to PC0, PB11 connects to PC3, PB10 connects to PC2
        B. Compile download code reset run
        C. View the printed information from the serial port and verify the result
        
4. Precautions
    None
