Example MPC5748G DSPI extended mode GHS614

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

Example MPC5748G DSPI extended mode GHS614

Example MPC5748G DSPI extended mode GHS614

********************************************************************************
* Detailed Description:
*
* This example shows how to use SPI module in extended SPI mode
* - DSPI3 is configured as a master
* - SPI1 is configured as a slave
* - Frame size is configured to 32bit
* - Two writes are necessary to load one 32bit frame to TX FIFO
* - For more details about the timing settings see application note AN4830
* ------------------------------------------------------------------------------
* Test HW:         MPC574XG-324DS Rev.A + MPC574XG-MB Rev.C
* MCU:             PPC5748GMMN6A 1N81M
* Fsys:            160 MHz PLL
* Debugger:        Lauterbach Trace32
* Target:          internal_FLASH
********************************************************************************

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1108922%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20DSPI%20extended%20mode%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108922%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20This%20example%20shows%20how%20to%20use%20SPI%20module%20in%20extended%20SPI%20mode%3CBR%20%2F%3E*%20-%20DSPI3%20is%20configured%20as%20a%20master%3CBR%20%2F%3E*%20-%20SPI1%20is%20configured%20as%20a%20slave%3CBR%20%2F%3E*%20-%20Frame%20size%20is%20configured%20to%2032bit%3CBR%20%2F%3E*%20-%20Two%20writes%20are%20necessary%20to%20load%20one%2032bit%20frame%20to%20TX%20FIFO%3CBR%20%2F%3E*%20-%20For%20more%20details%20about%20the%20timing%20settings%20see%20application%20note%20AN4830%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC574XG-324DS%20Rev.A%20%2B%20MPC574XG-MB%20Rev.C%3CBR%20%2F%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%20PPC5748GMMN6A%201N81M%3CBR%20%2F%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%20160%20MHz%20PLL%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎04-19-2017 06:47 AM
Updated by: