Example MPC5775K UART_with_DMA S32DS_1.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5775K UART_with_DMA S32DS_1.0

Example MPC5775K UART_with_DMA S32DS_1.0

********************************************************************************

* Detailed Description:

* Application performs basic initialization, setup PLL to maximum allowed freq.,

* setup clock for peripherals, Setup access right for Masters and Peripherals

* on AIPS_0

*

* LINFlex UART mode with FIFO transmit using DMA

* LINFlex UART mode with FIFO receive using DMA

*

* ICache and DCache are both disabled in startup file using CACHE_ENABLE macro.

* You can change the value of the macro at the following path:

* project Properties/C/C++ General/Paths and Symbols/Symbols

* If you change the value to 1, ICahce and DCache will be enabled in startup.

*

*

* ------------------------------------------------------------------------------

* Test HW:         MPC5775K-356DS, MPC57xx Motherboard

* MCU:             PPC5775KMMY3A 0N38M

* Terminal:        19200-8-no parity-1 stop bit-no flow control on LINFlexD_0

* Fsys:            PLL0 266MHz

*                    Z4 Core 133MHz

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Target:          internal_FLASH (debug mode, release mode)

* EVB connection:  J14.2 to P12.6 Connect LINFlexD_0 RXD to main RS232

*                  J13.2 to P12.7 Connect LINFlexD_0 TXD to main RS232

*

********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1123618%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5775K%20UART_with_DMA%20S32DS_1.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123618%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Application%20performs%20basic%20initialization%2C%20setup%20PLL%20to%20maximum%20allowed%20freq.%2C%3C%2FP%3E%3CP%3E*%20setup%20clock%20for%20peripherals%2C%20Setup%20access%20right%20for%20Masters%20and%20Peripherals%3C%2FP%3E%3CP%3E*%20on%20AIPS_0%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20LINFlex%20UART%20mode%20with%20FIFO%20transmit%20using%20DMA%3C%2FP%3E%3CP%3E*%20LINFlex%20UART%20mode%20with%20FIFO%20receive%20using%20DMA%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20ICache%20and%20DCache%20are%20both%20disabled%20in%20startup%20file%20using%20CACHE_ENABLE%20macro.%3C%2FP%3E%3CP%3E*%20You%20can%20change%20the%20value%20of%20the%20macro%20at%20the%20following%20path%3A%3C%2FP%3E%3CP%3E*%20project%20Properties%2FC%2FC%2B%2B%20General%2FPaths%20and%20Symbols%2FSymbols%3C%2FP%3E%3CP%3E*%20If%20you%20change%20the%20value%20to%201%2C%20ICahce%20and%20DCache%20will%20be%20enabled%20in%20startup.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5775K-356DS%2C%20MPC57xx%20Motherboard%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5775KMMY3A%200N38M%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20LINFlexD_0%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL0%20266MHz%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Z4%20Core%20133MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20release%20mode)%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20J14.2%20to%20P12.6%20Connect%20LINFlexD_0%20RXD%20to%20main%20RS232%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20J13.2%20to%20P12.7%20Connect%20LINFlexD_0%20TXD%20to%20main%20RS232%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1123618%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Application%20performs%20basic%20initialization%2C%20setup%20PLL%20to%20maximum%20allowed%20freq.%2C%3C%2FP%3E%3CP%3E*%20setup%20clock%20for%20peripherals%2C%20Setup%20access%20right%20for%20Masters%20and%20Peripherals%3C%2FP%3E%3CP%3E*%20on%20AIPS_0%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20LINFlex%20UART%20mode%20with%20FIFO%20transmit%20using%20DMA%3C%2FP%3E%3CP%3E*%20LINFlex%20UART%20mode%20with%20FIFO%20receive%20using%20DMA%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20ICache%20and%20DCache%20are%20both%20disabled%20in%20startup%20file%20using%20CACHE_ENABLE%20macro.%3C%2FP%3E%3CP%3E*%20You%20can%20change%20the%20value%20of%20the%20macro%20at%20the%20following%20path%3A%3C%2FP%3E%3CP%3E*%20project%20Properties%2FC%2FC%2B%2B%20General%2FPaths%20and%20Symbols%2FSymbols%3C%2FP%3E%3CP%3E*%20If%20you%20change%20the%20value%20to%201%2C%20ICahce%20and%20DCache%20will%20be%20enabled%20in%20startup.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5775K-356DS%2C%20MPC57xx%20Motherboard%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5775KMMY3A%200N38M%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20LINFlexD_0%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL0%20266MHz%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Z4%20Core%20133MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20release%20mode)%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20J14.2%20to%20P12.6%20Connect%20LINFlexD_0%20RXD%20to%20main%20RS232%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20J13.2%20to%20P12.7%20Connect%20LINFlexD_0%20TXD%20to%20main%20RS232%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1123618%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎02-11-2016 07:17 AM
Updated by: