DSPRelated.com

McBSP as GPIO.

Started by fraizzer in TMS320c54x24 years ago 2 replies

Hello I have a 5402 DSK, and want to use the McBSP1 as a small GPIO port. Could anyone help me with a short C example on how to...

Hello I have a 5402 DSK, and want to use the McBSP1 as a small GPIO port. Could anyone help me with a short C example on how to setup the McBSP1 as GPIO and how to control some of the pins as Output's. Best Regards Jacob


McBSP Clock Stop mode

Started by Brian C. Lane in TMS320c54x24 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


How to connect a PC using Mc BSP?

Started by in TMS320c54x24 years ago

Hi, I've to make a serial connection between PC and 'C54x EVM. Can I just use the McBSP port? Could you please tell me where to...

Hi, I've to make a serial connection between PC and 'C54x EVM. Can I just use the McBSP port? Could you please tell me where to find relative articles? Thank you very much! rgds, maming


I2S on 5416?

Started by djohn_w in TMS320c54x23 years ago

I'm sure I can't be the first to want to attach an I2S DAC (the CS4341 in particular) to a 5416. Before my brain melts completely ...

I'm sure I can't be the first to want to attach an I2S DAC (the CS4341 in particular) to a 5416. Before my brain melts completely from reading too much of the McBSP spec, has anyone already written a setup that I can steal? This is my first DSP experience. It's quite overwhelm


McBSP SPI mode on 5416 DSK

Started by bartzuid in TMS320c54x23 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


Rerouting McBSP on the 5402

Started by garymfriedman in TMS320c54x23 years ago

Hi, I have a question about the McBSPs on the 5402. My problem is this. I have been given the 5402 to use for image ...

Hi, I have a question about the McBSPs on the 5402. My problem is this. I have been given the 5402 to use for image processing. I know the sampling rate of 16kHz is too slow however i don't have the liberty of buying a new board with a better sampling rate.


McBSP speed

Started by Sekovanic Krunoslav ITWEH1 in TMS320c54x23 years ago

Hi! Are McBSP0s of C5441 capable of 8 Mbps (multichannel selection mode)? What is the highest frequency of incoming interrupts...

Hi! Are McBSP0s of C5441 capable of 8 Mbps (multichannel selection mode)? What is the highest frequency of incoming interrupts RINTM and XINTM? Thanks. Kruno


Does anyone have the initiation, read,write functions of the McBSP (DSK5416) ?

Started by Yuri_Feigin in TMS320c54x23 years ago

written in c .

written in c .


McBSP2 Recieve Interrupt (DSK 5416)

Started by Yuri_Feigin in TMS320c54x23 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


Mcbsp 0/1 transmit example - DSK 5416

Started by Yuri_Feigin in TMS320c54x23 years ago

Dear All ! Does someone have an example (project) that performs transmitting digital data through McBsp0/McBsp1 (DSK 5416)...

Dear All ! Does someone have an example (project) that performs transmitting digital data through McBsp0/McBsp1 (DSK 5416) (using DSP BIOs or NOT) ? It would be a real help for me. Thanks a Lot.


Jumper setting for MCBSP use?

Started by akhifra in TMS320c54x23 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


5402/DSK5416 Basics

Started by reebil in TMS320c54x23 years ago 2 replies

Hi, 1. I would like to drive a standard 20x2 LCD in 4 bit mode using the DSK (obviously as part of a greater project). I want to...

Hi, 1. I would like to drive a standard 20x2 LCD in 4 bit mode using the DSK (obviously as part of a greater project). I want to use the expansion peripheral interface for this purpose, using some of the MCBSP pins. As a test program, I am trying to turn the LEDs on and off wit


Another MCBSP question (signals)

Started by Krunoslav Sekovanic in TMS320c54x23 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 TMS320c54x23 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


TMS320VC5402 DSK board n its serial port problem

Started by achmad rachmadi in TMS320c54x22 years ago 2 replies

  i have problem using TMS320VC5402 DSK board, i don't know how the McBSP TMS320VC5402 get data from the serial port on DSK...

  i have problem using TMS320VC5402 DSK board, i don't know how the McBSP TMS320VC5402 get data from the serial port on DSK board, this is the description of my problem : I have digital input using serial interface (RS232 ), and i want to process those digital


Software UART in the C54x

Started by Jacob Fainguelernt in TMS320c54x22 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.


c5409 interrupt.

Started by rk_appan in TMS320c54x22 years ago 1 reply

Hello All, I am using c5409 on my target board. I am not able to configure interrupts for MCBSP. I used the vectors.asm and...

Hello All, I am using c5409 on my target board. I am not able to configure interrupts for MCBSP. I used the vectors.asm and added the ISR name in RINT0, XINT0 labels. In my command file I have mapped the vectors to 0x7f80. Emulators gives memory map error when I try to l


McBSP 3, how do I get started?

Started by bsd_mike in TMS320c54x22 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


McBSP Programmable clock and Generator

Started by jason_wachholz in TMS320c54x22 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.


Regarding ADC in DM270 Board

Started by Ramamohana Reddy in TMS320c54x21 years ago

Hi   I am using TIs DM 270 EVM for an audio application.i.e for audio recording.   and I am facing some problem while...

Hi   I am using TIs DM 270 EVM for an audio application.i.e for audio recording.   and I am facing some problem while sampling audio .unknown value is sampled if no input is there and it is coming as mechine like sound (small amount in the left head phone).   Does any one know how to configure the ADC and McBSP