Page 1 of 1


Posted: Tue Jul 06, 2010 10:45 am
by qiujianben
We have some problems when using the SSC PDC function on SAM3S.

1. The SSC_TCR and SSC_TNCR can’t be zero when first run to main(). The values are the last debug time’s value.

2. Can you help to check the SSC Configuration for I2S source codes in the attach file? The SSC_PDC can only send out 2 bytes when enable the TXTEN in SSC_PTCR register.

3. Can you provide us an example about how to use the SSC_PCC function? Or give us some suggestion.


Posted: Tue Jul 06, 2010 10:46 am
by qiujianben
Here is the ATMEL support engineers response, but problems are not solved.

1. From chapter 23.4.3 in datasheet of SAM3S, we could get that PERIPH_TCR and PERIPH_TNCR should be zero after a completed PDC transferring. You also could be noticed by flags in the peripheral status register. Please make sure that your previous PDC action is completed before you start a new one. In you debug mode, had you stopped your previous PDC transferring and did not resume it again?

2. I am sorry I cannot not find any clue in your piece of codes.

3. Unfortunately, we do not have SSC demo codes in SAM3S-EK software package.

I am sorry for less help; however, please double check your SSC related registers' status. This could narrow down your issue.