McBSP Programmable clock and Generator

Started by jason_wachholz in TMS320c54x17 years ago

I'm attempting to use the CLK generator to produce a 2 MHZ bit clock and a Frame sync. I'm programming the SRGR[1..2], PCR,...

I'm attempting to use the CLK generator to produce a 2 MHZ bit clock and a Frame sync. I'm programming the SRGR[1..2], PCR, SPCR[1..2] registers. I've done my best to ensure that the reset procedure with GRST is followed according to Vol 5 Enhanced Peripherals document.


McSBP initialization

Started by Manish Varma in TMS320c54x15 years ago 1 reply

Hi All, We are developing basic analog phone using TMS320C54CST and MSM7716 as codec. Codec is going to be connected at McBSP0...

Hi All, We are developing basic analog phone using TMS320C54CST and MSM7716 as codec. Codec is going to be connected at McBSP0 for audio data and McBSP1 configured thru SPI for control data. I need to know how we can configure the McBSP for our codec (MSM7716), we have tried to configure but looks like its not working for us. So any suggession how to do this or ...


[Fwd: about McBSP]

Started by Jeff Brower in TMS320c54x20 years ago

Pegasus Byron- Please check the c54x group archives. Some time ago I posted asm source to the group that shows how to...

Pegasus Byron- Please check the c54x group archives. Some time ago I posted asm source to the group that shows how to intialize the codec device on the DSK C5402 board directly, without calling CCS functions. That should give you some guidance in working with the A


Software UART in the C54x

Started by Jacob Fainguelernt in TMS320c54x18 years ago 1 reply

I am trying to integrate the code described in the application note SPRA661A ("implementing a Software UART on the TMS320C54x with...

I am trying to integrate the code described in the application note SPRA661A ("implementing a Software UART on the TMS320C54x with te McBSP and DMA") with a DSP/BIOS application. I would like to know if anybody has done it or can give me some references.


C5402 A/D D/A CPLD Config

Started by Simon Hill in TMS320c54x20 years ago 1 reply

Hello, I am attaching an external convertor board to a c5402 peripheral interface. How do I config the board so that the McBSP...

Hello, I am attaching an external convertor board to a c5402 peripheral interface. How do I config the board so that the McBSP looks at the interface rather than the onboard convertor? Thanks, Simon.


McBSP 3, how do I get started?

Started by bsd_mike in TMS320c54x17 years ago 2 replies

Hello, I have a codec connected to McBSP3. The codec is a single channel device which expects ulaw/alaw data in the first...

Hello, I have a codec connected to McBSP3. The codec is a single channel device which expects ulaw/alaw data in the first byte after the frame pulse. I have verified I have clock, frame pulse, on appropriate pins on the board. On another board


dsp c5410 dma

Started by guzik benny in TMS320c54x20 years ago

Hi I work with DSP c5410. Each McBSP is connected to codec AD73360. I am trying to operate them in Simultaneous Sampling. The...

Hi I work with DSP c5410. Each McBSP is connected to codec AD73360. I am trying to operate them in Simultaneous Sampling. The sampled blocks of data are transferred to an external memory by DMA. Each executes I get a random channels that works properly. I can't manage to operat


Why my DMA interrupt is not processed?

Started by Jane Shen in TMS320c54x21 years ago

Hi, all, I'm stuck at this: on a 5402DSK board, transfer the data from internal memory by DMA channel 5 to McBSP DXR1_0 and send...

Hi, all, I'm stuck at this: on a 5402DSK board, transfer the data from internal memory by DMA channel 5 to McBSP DXR1_0 and send them out. the DMA runs in multiframe mode with a configuration of interrupt when block transfer completed. I could see the interrupt has been g


McBSP2 Recieve Interrupt (DSK 5416)

Started by Yuri_Feigin in TMS320c54x19 years ago 1 reply

Hi All ! I connected the McBSP 2 to PCM3002 codec (via CPLD). I also configured the codec by its control registers (via...

Hi All ! I connected the McBSP 2 to PCM3002 codec (via CPLD). I also configured the codec by its control registers (via CPLD). I also configured the McBSP2 configurations. I set the IMR to 0x40. INTM=0; I"m recording from microphone and I


Re: problems with C5420 HPI and McBSP

Started by Jeff Brower in TMS320c54x20 years ago

Sanjay- On Fri, 24 Aug 2001, "Sanjay Kumar Madhava Rao" <> wrote: >Hi All, > We are using TI's C5420 in our trau processing...

Sanjay- On Fri, 24 Aug 2001, "Sanjay Kumar Madhava Rao" <> wrote: >Hi All, > We are using TI's C5420 in our trau processing application. I have >used McBSP0 and DMA channel 2 and 3(Rx and Tx). HPI is implemented >using shared memory and Period


Jumper setting for MCBSP use?

Started by akhifra in TMS320c54x18 years ago

Hello, I am working with the C5416 DSK. I need to use the serial port pins off of the 80 pin connector on the board. Is there...

Hello, I am working with the C5416 DSK. I need to use the serial port pins off of the 80 pin connector on the board. Is there some kind of jumper setting or something of that nature that I must set in order to disconnect the serial port from the codec? For the C6711 board


McBSP SPI mode on 5416 DSK

Started by bartzuid in TMS320c54x19 years ago

I am using the mcbsp0 to control a spi device. I have used the following functions: void InitSPI(void) { mhMcbsp =...

I am using the mcbsp0 to control a spi device. I have used the following functions: void InitSPI(void) { mhMcbsp = MCBSP_open(MCBSP_PORT0, MCBSP_OPEN_RESET); MCBSP_config(mhMcbsp, &Config); } void sendSPI(void) { MCBSP_start(mhMcbsp, MCBSP_R


TMS5416 MCBSP port 1 problem

Started by m_mo...@yahoo.com in TMS320c54x11 years ago

Dear all I have a stbus controller unit program which uses MCBSP0 port of the TMS320C5416 processor. now I use the same code for MCBSP1 but I...

Dear all I have a stbus controller unit program which uses MCBSP0 port of the TMS320C5416 processor. now I use the same code for MCBSP1 but I got a lot of interrupts. interrupt vector assignment of MCBSP1 is done correctly, but the same code doesn't work for it. is there any difference between MCBSP0 and 1. what changes I must do for it to work properly. Regards Mehrdad OMAP35x EVM jump...


SPI mode for 5409

Started by nikhil rao in TMS320c54x21 years ago 1 reply

I am trying to do read and writes using the SPI mode on the MCBSP. I can see the correct signals (data, clk and fsx) for writes but...

I am trying to do read and writes using the SPI mode on the MCBSP. I can see the correct signals (data, clk and fsx) for writes but for reads, clk toggles from 0 -> 1 and fsx toggles from 1->0 and then stays there, has anybody seen this ??? I am not using the DSK. Thanks


Weird error message

Started by Anonymous in TMS320c54x20 years ago

When I try to use the McBSP code from inside a .cpp file, I get lots of the following errors : [aic11.cpp] ...

When I try to use the McBSP code from inside a .cpp file, I get lots of the following errors : [aic11.cpp] "c:/ti/c5400/bios/include/csl_mcbsphal.h", line 79: warning: incompatible redefinition of macro "CSLAPI" (declared at line 36 of "c:/ti/c54


Need help with TLV320AIC23 and C54

Started by kevin_agnew in TMS320c54x19 years ago

I have the above audio codec attached to a C54 using a MCBSP to send/receive audio data. We have verified the timing on the ...

I have the above audio codec attached to a C54 using a MCBSP to send/receive audio data. We have verified the timing on the CLKX/CLKR, FSX/FSR, and DX/DR signals with an oscope and everything matches the TLV320AIC23 spec. The AIC is programmed as MASTER so it is driving CLKX/CLKR and


McBSP 5402 DSK

Started by gabrieldsp in TMS320c54x19 years ago

I am use the DSK 5402, and i have some problems with McBSP1, i can?t drive = out the CLKX1. my program: #include extern...

I am use the DSK 5402, and i have some problems with McBSP1, i can?t drive = out the CLKX1. my program: #include extern void Config5402(); extern void ConfigMcBSP(); int data; ioport int port0004; void main(void)


McBSP Clock Stop mode

Started by Brian C. Lane in TMS320c54x19 years ago 1 reply

I'm working on using McBSP1 on a 5416 in clock stop mode as a SPI master. I have successfully set it up so that it will transmit a...

I'm working on using McBSP1 on a 5416 in clock stop mode as a SPI master. I have successfully set it up so that it will transmit a block of bytes using DMA #2, and generate an interrupt when the block is finished. Now I'm trying to use 2 DMA channels, one for transmit (to keep


Another MCBSP question (signals)

Started by Krunoslav Sekovanic in TMS320c54x18 years ago

Hi! I tried to configure C5402 to generate this kind of clk/frm signals: clk: -_-_-_-_-_-_ frm: ______--____ data...

Hi! I tried to configure C5402 to generate this kind of clk/frm signals: clk: -_-_-_-_-_-_ frm: ______--____ data _______xxxxx (hope it's visible; if not, please copy to fixed width font capable txt editor) So: - frm pulse width is 1 clk p


MCBSP configuration

Started by narcispr in TMS320c54x18 years ago

I use a MCBSP1 to send data from DSP (c5409) to DAC. Now I send a 16bits word only for a right channel but I need send two 16bits ...

I use a MCBSP1 to send data from DSP (c5409) to DAC. Now I send a 16bits word only for a right channel but I need send two 16bits words for a left and rigth channel. How can I configure the MCBSP1 to send two 16bits frames? Nowadays my configuration is: //To confi