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 | McBSP Initialization

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

McBSP Initialization - Leigh Wells - Jun 8 18:00:00 1999

I am attempting to initialize a McBSP on the '5410 to receive. I put
the port into reset by writing 0h to SPCR(1,2),
then write to configuration registers, wait for two clocks, enable the
port by
writing 1h to SPCR(1,2), then want to set bit 7 to 1 in SPCR2 to set up
for
internally generated frame synch. After I enable the
ports, however, I cannot write correct values to SPCR2. The register
value always
comes out as 0003h instead of 0083h after trying to set bit 7. I am
assembling and linking as follows:

ASM500 mcbspini.asm
LNK500 mcbspini.obj -o mcbspini.out -e entry

How does one generally go about setting up for internally generated
frame synch? I am following the serial port initializing procedure on
page 2-24 of TMS320C54x DSP Reference Set Volume 5: Enhanced Peripherals

(SPRU302).

Any help would be greatly appreciated,

Leigh W. Wells
Electrical Engineer
Acoustic Positioning Research


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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