DSPRelated.com
Forums

C6711 DSK McBSP1 as an SPI slave. RX issue

Started by pand...@hotmail.com February 2, 2010
Hello to All,

I've been spending a lot of time trying get past this, but could not:
I'm using the C6711 DSK together with the EVM board to connect to a Microchip PIC, which is my SPI master. I've already checked with a digital scope that I get the right signals from the uController, but the DSP serial port is not detecting any data input.
Wiring is as follows:
Pin Evm J15 Pin (J3) DSP MCU

3 33 CLKX SCK
11 36 DX SDI
13 42 DR SDO
7 35 FSX SS 18 GND GND GND

I connected the DR line even if I won't be using it.

McBSP1 conf is as follows:

*(unsigned volatile int *)McBSP1_PCR = 0xF;
*(unsigned volatile int *)McBSP1_RCR = 0x40000;
*(unsigned volatile int *)McBSP1_XCR = 0x40000;
*(unsigned volatile int *)McBSP1_DXR = 0;
*(unsigned volatile int *)McBSP1_SRGR = 0xFFFFF901;
*(unsigned volatile int *)McBSP1_MCR = 0x30000;
*(unsigned volatile int *)McBSP1_RCER = 0;
*(unsigned volatile int *)McBSP1_XCER = 0;
*(unsigned volatile int *)McBSP1_SPCR = 0x3001801;

I have an interrupt bound to the data received event, but it never triggers. Can anybody help me?

Thanks!

_____________________________________
Hi all,
I am planning to buy one of the DSP TI6xx series processor, which should have connectivity from MATLAB and should be fixed point.
Could any one please suggest me the correct name of processor as per my requirement?

Regards,
Nihal
Nihal,

I would suggest the 6416.

R. Williams

---------- Original Message -----------
From: Nihal Ahmad
To: c...
Sent: Tue, 2 Feb 2010 19:21:40 -0800 (PST)
Subject: [c6x] Regarding TI6xx Processor

>
>
> Hi all,
> I am planning to buy one of the DSP TI6xx series processor, which should have connectivity from MATLAB and should be fixed point.
> Could any one please suggest me the correct name of processor as per my requirement?
>
> Regards,
> Nihal