Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C54x | 5416/320AD77 Interfacing???

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

5416/320AD77 Interfacing??? - Geoffrey Wang - Nov 29 15:08:00 2001

Hi,

I've been having a terrible time just trying to program a McBSP to produce
any output on any line (I'm attempting to interface a 5416 with a TL320AD77
via a McBSP in SPI Master mode). It must be something very obvious...

#define ADC_BSP hMcbsp1

MCBSP_start (ADC_BSP, MCBSP_XMIT_START | MCBSP_RCV_START, 0);
while (TRUE)
{
while (!MCBSP_xrdy (ADC_BSP));
MCBSP_write16 (ADC_BSP, 0x5555);
}

with the typical DSP/BIOS initialization:

MCBSP_Handle hMcbsp1;

void CSL_cfgInit()
{
CSL_init();

hMcbsp1 = MCBSP_open(MCBSP_PORT1, MCBSP_OPEN_RESET);
MCBSP_config(hMcbsp1, &mcbspCfg1);
} MCBSP_Config mcbspCfg1 = {
0x1000, /* Serial Port Control Register 1 */
0x0200, /* Serial Port Control Register 2 */
0x0040, /* Receive Control Register 1 */
0x0005, /* Receive Control Register 2 */
0x0040, /* Transmit Control Register 1 */
0x0005, /* Transmit Control Register 2 */
0x00ff, /* Sample Rate Generator Register 1 */
0x2000, /* Sample Rate Generator Register 2 */
0x0000, /* Multichannel Control Register 1 */
0x0000, /* Multichannel Control Register 2 */
0x0f0e, /* Pin Control Register */
...rest 0s...
}

Any help or suggestions would be greatly appreciated.

Geoffrey






(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )