Forums Search for: MCBSP
would you please help about McBSP
Hi, 1-As I know in SPI mode there is not the feature to program FPER in McBSP. I want to read 16-bit samples every 125us in SPI mode. (it is...
Hi, 1-As I know in SPI mode there is not the feature to program FPER in McBSP. I want to read 16-bit samples every 125us in SPI mode. (it is compulsory). I want to use DMA and not add any checking or time consuming code to my project. 2- If my cpu internal clk is 120 MHz and the CLKGDV field of my SRGR is 8 bits, how can I use mcbsp(in SPI mode) with internal clk source and with 100KHz...
McBSP as GPIO
Dear Group people I am going to use three pins of Mcbsp and I read Volume 5: Enhanced Peripherals document(section 2.9) and I wrote this...
Dear Group people I am going to use three pins of Mcbsp and I read Volume 5: Enhanced Peripherals document(section 2.9) and I wrote this program . #include "tonecfg.h" #include "dsk5416.h" #include "dsk5416_pcm3002.h" #include "csl_mcbsp.h" #include #include "csl_gpio.h" #include "csl_hpihal.h" #include "csl_gpio.h" #include "tonecfg.h" void delay(void) { long i, j=0; f
MCBsp and DMA syncronization problem
Dear all In 5416 DSP processor : I used MSBSP number 0 and 1 to get CODEC sound data by using DMA channel 4 and 5. Both DMAs are used to get...
Dear all In 5416 DSP processor : I used MSBSP number 0 and 1 to get CODEC sound data by using DMA channel 4 and 5. Both DMAs are used to get data from mcbsp ports. Frame sync and clock signals are input to this DSP processor. But I have reset problem. When I reset the board I find that sometimes input data is correct and has no problem but some other times input data is not correct. and s...
Use McBSP as RS-232?
How hard is it to use an McBSP as an RS-232 serial port? I understand I would need a level converter, but how complicated is the software to...
How hard is it to use an McBSP as an RS-232 serial port? I understand I would need a level converter, but how complicated is the software to write? Is there any free code from TI which will do this? -Mike
McBSP as UART
Hi, I've followed the directions in SPRA661 to implement a software UART using the McBSP port 0. I am using a C5416 device and modified the...
Hi, I've followed the directions in SPRA661 to implement a software UART using the McBSP port 0. I am using a C5416 device and modified the included assembly slightly to allow for using a far memory model. Things work okay for the most part, but I am experiencing parity and framing errors every now and then when transmitting to the DSP. Sometimes I can transmit 100 or more characters wi...
DMA interrupt issue ...
I am currently working on the C54CST version of the DSP and am having issues with configuring a DMA channel. What I am trying to do is...
I am currently working on the C54CST version of the DSP and am having issues with configuring a DMA channel. What I am trying to do is capture(recieve) the DATA coming in on MCBSP 0 and just simply store the data in memory to read it later (basically I am testing part of the functionality of the DMA). MCBSP 0 is connected to an ST-BUS device (TP3071 CODEC) and the clock and frame sync are
40 bit SPI transfers with McBSP master
Hi, I'm trying to work out how to do this. My current idea is... 1. unpack 16 bit words into 8 bit words so the DMA can copy over...
Hi, I'm trying to work out how to do this. My current idea is... 1. unpack 16 bit words into 8 bit words so the DMA can copy over each word correctly. 2. Setup the DMA, 16 bit transfers. 3. McBSP for SPI operation, XFRLEN1 = 4 (5 - 1), XWDLEN = 8bits. I can't actually test this out yet so I was hoping whether someone
DMA and MCBSP syncronization
I'm having troubles getting the DMA and the BSP to syncronize with interrupts. In general I cannot get the DMA to fire an interrupt...
I'm having troubles getting the DMA and the BSP to syncronize with interrupts. In general I cannot get the DMA to fire an interrupt after a block transfer is complete. The interrupts are enabled in the IMR. I can enter my interrupt with the MCBSP running alone. I can also run my DMA in no sync mode. I can conduct one block transfer based on t
more mcbsp questions
I am using the TI sample code for the MCBSP described in their T1 interface book. I am getting receive interrupts for...
I am using the TI sample code for the MCBSP described in their T1 interface book. I am getting receive interrupts for every frame, but no transmit interrupts. I am using MCBSP0 and DMA channels 0 and 1. Anybody have any good guesses of what I should
mcbsp2 and DMA
Can anybody point me to the document that talks about the MCBSP's and DMA? I understand that only some of the DMA channels...
Can anybody point me to the document that talks about the MCBSP's and DMA? I understand that only some of the DMA channels are available to certain MCBSP's...but I can't find a document that talks about that. Thanks in advance. -Mike
Audio Left and Right interchanged!!
hello all, I am using c5409 based board in the development environment. I have connected PCM3008 with McBSP of c5409. I...
hello all, I am using c5409 based board in the development environment. I have connected PCM3008 with McBSP of c5409. I have programmed the McBSP such that, Recevie/Transmit Frame Length is 2 words per frame and Receive/Transmit Word Length is 32-bits.
Can I use the C5402 simulator in CCS2.1 to simulate DMA,McBSP and HPI?
I haven't EVM and emluator because they are so expensive for a college student.I know CCS2.1 have many function to...
I haven't EVM and emluator because they are so expensive for a college student.I know CCS2.1 have many function to program.For example, I can use the File I/O and Probe point to simulate the I/O read or write.But I use them to simulate DMA, McBSP and HPI,I failed.Perhaps my me
C5409 DMA configuration
Hello All, I am using C5409 for a audio application. When I configure McBSP with CPU interrupts(XINT0,RIN0) I am able to play...
Hello All, I am using C5409 for a audio application. When I configure McBSP with CPU interrupts(XINT0,RIN0) I am able to play audio properly. I want DMA to be implemented for processing the audio data. I have configured both McBSP and DMA0(syncd on Transmit Event) and D
gpio
Hi, I am working with XDS510pp board.How can I configure the MCBSP as GPIO Pins.The hardware contains adc/dac as TLV320AIC10...
Hi, I am working with XDS510pp board.How can I configure the MCBSP as GPIO Pins.The hardware contains adc/dac as TLV320AIC10 codecs.Is there any chance to configure I2c setup for this board?Already i configured the codec to the McBsp with dcsi configurration.Is it posible to do
A little bit confusion in Interrupt response to the MCBSP
Hi, For DSK5416, If in the MCBSP configuration, the word length is setup as 32bits/word and frame length setup as 2...
Hi, For DSK5416, If in the MCBSP configuration, the word length is setup as 32bits/word and frame length setup as 2 words/frame, sigle phase, The interrupt response is setup to response to each XRDY signal. So for each frame, how many interrupts will be evoked? I
McBSP clock generation on the C5402
I want to create a continuous clock (set by the baud rate registers) and fsync from the MCBSP and im not sure what bits need to be...
I want to create a continuous clock (set by the baud rate registers) and fsync from the MCBSP and im not sure what bits need to be set in the baud rate registers to make this work. I have tried and got the fsync working but not the clock. Can anyone help? Tim King CES Co
DMA with auto initialization
Hi all, I am using a DMA channel with autoinitialization. I have a frame of 4 16-bit words. My question is how I have to...
Hi all, I am using a DMA channel with autoinitialization. I have a frame of 4 16-bit words. My question is how I have to configure the DMA and the McBSP in order to synchronize the DMA to the frame sync signal. The problem is that the McBSP gives an event every 16-bit wo
CCS Graphical configuration of McBSP
Hello all, Is this a known issue? I have looked for info on it but with no success. Using CCS 2.10 targetting a '5416. ...
Hello all, Is this a known issue? I have looked for info on it but with no success. Using CCS 2.10 targetting a '5416. I find that the graphical configuration of McBSP pins used as GPIO is not very sticky. Making changes in the configuration of other
migration problem about McBSP;
hi; i used c549 in the privious version of my design and i decided to use c5416 in the current design.There are burst and...
hi; i used c549 in the privious version of my design and i decided to use c5416 in the current design.There are burst and continuous mode configuration on serial ports of c549 but i don't find how i configure McBSP as a continous mode. thanks.......!
5416/320AD77 Interfacing???
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...
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_st






