Problems with 2 * SSP in SPI with DMA Controller useage

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

Problems with 2 * SSP in SPI with DMA Controller useage

254 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by silber on Thu Nov 18 11:25:12 MST 2010
Hi,

I using a LPC1754 and i want to use the 2 SSP Blocks with DMA.

SPI Interface config :
SSP_CPHA_FIRST
SSP_CPOL_HI
ClockRate    24MHz
SSP_DATABIT_8
SSP_MASTER_MODE
Loop Back mode

Core Clock 96 MHz

Im using the CMSISv1p30_LPC17xx
0x400FC1C4 allready corrected

When i start the ssp1 dma when ssp0 dma is ready it works fine.
But when i start the ssp dma "simultaneously" i very often get no irq and data is also not refreshed.

DMA Setup:
Channel 0 : SSP0 Rx
Channel 1 : SSP1 Rx
Channel 2 : SSP0 Tx
Channel 3 : SSP1 Tx

also tried:
DMA Setup:
Channel 0 : SSP0 Tx
Channel 1 : SSP0 Rx
Channel 2 : SSP1 Tx
Channel 3 : SSP1 Rx

Anyone can help ?

:confused::confused::confused::confused:
0 Kudos
Reply
1 Reply

228 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by silber on Fri Nov 19 03:13:11 MST 2010
found my mistake
thx for viewing
0 Kudos
Reply