1˵

    ṩһDMA÷赽RAM֮䴫ݡ
    
2ʹû

	
        IDEߣKEIL MDK-ARM 5.26
    
    Ӳ
         N32G43XRL-STB V1.0


3ʹ˵
	
    1ʱԴHSE+PLL
    2ʱӣ108MHz
    3DMAͨDMA_CH2DMA_CH3DMA_CH4DMA_CH5
    4SPI1 ã
            SCK   -->  PA5
            MISO  -->  PA6
            MOSI  -->  PA7
            ȫ˫
            ģʽ
            8bit
            ԣʼΪ/ڶ
            Ƭѡ
            ǰMSB
    
    5SPI2 ã
            SCK   -->  PB13
            MISO  -->  PB14
            MOSI  -->  PB15
            ȫ˫
            ģʽ
            8bit
            ԣʼΪ/ڶ
            Ƭѡ
            ǰMSB
    
    6USART1ã
            TX  -->  PA9
            ʣ115200
            λ8bit
            ֹͣλ1bit
            У

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


1. Function description
    This routine provides a DMA usage for transferring data between peripherals and RAM.
    
2. Use environment
    Software Development environment:
	IDE tool: KEIL MDK-ARM 5.26   
    Hardware environment:
	Development board N32G43XRL-STB V1.0

3. Instructions for use
    1. Clock source: HSE+PLL
    2. Master clock: 108MHz
    3. DMA channels: DMA_CH2, DMA_CH3, DMA_CH4, DMA_CH5
    4. SPI1 configuration:
        SCK   -->  PA5
        MISO  -->  PA6
        MOSI  -->  PA7
	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   -->  PB13
        MISO  -->  PB14
        MOSI  -->  PB15
	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. Compile download code reset run
	b. View the printed information from the serial port and verify the result
        
4. Matters needing attention
    None