DSPRelated.com

EMIF Programming

Started by "varoonian ." in TMS320c6x14 years ago 8 replies

Hello, I need to connect the TMS320"6416" DSK to the Virtex-5 FPGA. In order to do that I need to know the *IO functionalites of the DSK....

Hello, I need to connect the TMS320"6416" DSK to the Virtex-5 FPGA. In order to do that I need to know the *IO functionalites of the DSK. * **Can anyone kindly suggest any manuals or documents to go about before programming the EMIF on the DSK. Programming examples will be of great help to me. Do I also need to learn about GPIO ?? Thanks, -- Varun


using McBSP as GPIO

Started by baba...@yahoo.com in TMS320c6x14 years ago 2 replies

Hi I've configured DSK6713's McBSP registers (PCR0,PCR1) to use its pins as GPI/O. But except CLKR0 and FSR0 pins, none of McBSP's pins respond...

Hi I've configured DSK6713's McBSP registers (PCR0,PCR1) to use its pins as GPI/O. But except CLKR0 and FSR0 pins, none of McBSP's pins respond to my commands. I've set both port0 and port1 variables as same, but only CLKR and FSR of port0 are working. thank you very much _____________________________________


using McBSP as GPIO

Started by babak in TMS320c6x14 years ago

Hi I've configured DSK6713's McBSP registers (PCR0,PCR1) to use its pins as GPI/O. But except CLKR0 and FSR0 pins, none of McBSP's pins respond...

Hi I've configured DSK6713's McBSP registers (PCR0,PCR1) to use its pins as GPI/O. But except CLKR0 and FSR0 pins, none of McBSP's pins respond to my commands. I've set both port0 and port1 variables as same, but only CLKR and FSR of port0 are working. thank you very much _____________________________________


daughter card input and out ports

Started by maciek maciek in TMS320c6x16 years ago 1 reply

Hi, I am just pojecting one daughter card for DSK6416, and I have one question. Does anybody now what are input and output ranges of GPIO ports,...

Hi, I am just pojecting one daughter card for DSK6416, and I have one question. Does anybody now what are input and output ranges of GPIO ports, McBSP0 & McBSP2. I mean should I consider 3V or 5V. I want to connect SD card and I have now idea which resistors to choose. Thanks for consider Muad_dib


6711DSK/CCS3/THS1206 - Strange Behaviour

Started by niall_rockets in TMS320c6x16 years ago 2 replies

Hi all, I'll try to avoid this being the typical 'I'm a student, help me, urgent' type thread... So, some background to my problem. I'm...

Hi all, I'll try to avoid this being the typical 'I'm a student, help me, urgent' type thread... So, some background to my problem. I'm developing a fairly simple control program on a 6711 DSK using CCS 3.1. For my application, the 6711 is far from ideal (lacking inbuilt ADC, PWM or GPIO), but I 'inherited' the DSK and unlike the 'F243/XDS510 I tried, it was able to connect it to the PC...


Using McASP as GPIO! Help me!

Started by Achut in TMS320c6x13 years ago 1 reply

Hi All, I'm using TMS320C6713 DSK, I want use McASP read inputs (type button): - Button1 : pin HD6/AHCLKR1. - Button2 : pin HD2/AFSX1. -...

Hi All, I'm using TMS320C6713 DSK, I want use McASP read inputs (type button): - Button1 : pin HD6/AHCLKR1. - Button2 : pin HD2/AFSX1. - Button3 : pin HASn/ACLKX1. - Button4 : pin HRDYn/ACLKR1. But I config not successful. Anyone with experience can help me configure them as inputs, Thanks for All! _____________________________________


Help with C6713 DSK

Started by Kareem in TMS320c6x20 years ago

Hi all, I am working with MATLAB's Embedded Target for C6000 to try and prgoram my C6713 DSP but would like to know how to program...

Hi all, I am working with MATLAB's Embedded Target for C6000 to try and prgoram my C6713 DSP but would like to know how to program my GPIO pins? All I see is blocks that target the ADC and DAC on the board, through lines in and out. This is really my first time working with DSP


Software SPI

Started by Samir Bendoukha in TMS320c6x14 years ago 3 replies

Dear all, I am using the two SPI modules on the C6747 for an EEPROM and an ADC. I need to connect a an SPI DAC as well to the DSP. The DAC...

Dear all, I am using the two SPI modules on the C6747 for an EEPROM and an ADC. I need to connect a an SPI DAC as well to the DSP. The DAC will be used very rarely as it is used to provide a coarse tune for a VCO. Is it possible to connect it to a bunch of GPIO pins and do the SPI in software using the GP timer? If anyone has done this before, could you may be give me some pointers. Th...


Simulator hangs after access to GPIO

Started by Bernhard 'Gustl' Bauer in TMS320c6x19 years ago

Hi, I have DSK6713 with CCS 2.2. When I simulate my code the simulator hangs after these lines: GPIO_RSET(GPEN,0xFF6F); ...

Hi, I have DSK6713 with CCS 2.2. When I simulate my code the simulator hangs after these lines: GPIO_RSET(GPEN,0xFF6F); GPIO_RSET(GPDIR,0xFF04); GPIO_RSET(GPVAL,0x0000); The only thing I can do is kill CCS! While hunting the cause of this behavior I had a look at init6713sim.gel - I found a lot of GEL_MapAdd() but none for


C6713DSK GPIO problem, please help

Started by sh13...@yahoo.com in TMS320c6x17 years ago 1 reply

Hi I am new to DSP programming, please help me. I had a lot of troubles using GPIOs to generate interrupts, finally I decided just check my...

Hi I am new to DSP programming, please help me. I had a lot of troubles using GPIOs to generate interrupts, finally I decided just check my input pins with a very simple program. I tried many configurations for setting up the GPIOs as input, but regardless of the real input, I always get ONE from the input pins. I tried all input pins and I also tried to define the pin properties in many diffe...


DSK6713 GPIO pins

Started by rodr...@pv.com in TMS320c6x16 years ago 1 reply

Hi Guys I'm student in Mexico and I'm trying to use the this board, to receive a and send digital signals. I've seen the csl document for...

Hi Guys I'm student in Mexico and I'm trying to use the this board, to receive a and send digital signals. I've seen the csl document for TMS3206000 processors, my question would be how do You assosiate a pin of any of the ports (External Peripheral Interface, External Memory Interface or HPI) to the constants GPIO_PINx /* Enables Pins */ GPIO_pinEnable(hGpio,GPIO_PIN1 | GPIO_PIN2 | GPIO_PIN...


RE: Cycle count measurement not matching with real time behaviour

Started by Jeff Brower in TMS320c6x18 years ago

Abhishek- > Thanks a lot for your timely support. > > By using the Run Free option from Debug and toggling GPIO pin I was able > to get...

Abhishek- > Thanks a lot for your timely support. > > By using the Run Free option from Debug and toggling GPIO pin I was able > to get the exact decoding timings which were matching the expectations. Ok great. Good luck on the project. -Jeff > > > -----Original Message----- > > > From: c...@yahoogroups.com [mailto:c...@yahoogroups.com] On Behalf Of > Jeff > > > Brower > > > Sent: Thursday


timer1 based ISR max rate ?

Started by cman...@emona.com.au in TMS320c6x16 years ago 5 replies

Hello, Im planning a 6713DSK based design and am thinking of using timer1 to create a periodic ISR to handle continuous sampling an of ADC.(Im...

Hello, Im planning a 6713DSK based design and am thinking of using timer1 to create a periodic ISR to handle continuous sampling an of ADC.(Im still very new with this DSK, and so havent tried it out myself) Assuming I keep the ISR short (ie: read the ADC, toggle a GPIO, output to a DAC, some housekeeping), can someone give me a rough estimate of how fast I can expect to be able to sample ? ...


6416 External Interrupt

Started by snuzzbff in TMS320c6x16 years ago 2 replies

I have a 6416 DSK that I'm trying to enable an interrupt to the processor on one of the EXTINT pins. Right now I'm flipping bits in the CPLD...

I have a 6416 DSK that I'm trying to enable an interrupt to the processor on one of the EXTINT pins. Right now I'm flipping bits in the CPLD CTRL registers to cause an interrupt. I've looked at the GPIO and Interrupt registers in CodeComposer and it appears the interrupt is registering (bits that need to be 1 or 0 are set appropriately). However when I set a break point in the actual ...


Re: Switching speed of GPIO

Started by Jeff Brower in TMS320c6x16 years ago 3 replies

Albert- If you expect 30 Mbit/sec for *processed* data output to the MCU, then what is the total bandwidth of all the unprocessed codecs? It...

Albert- If you expect 30 Mbit/sec for *processed* data output to the MCU, then what is the total bandwidth of all the unprocessed codecs? It sounds to me like if you have enough codecs -- doubled on two separate FPGAs -- then your serial data rate will be far higher than 25 to 35 Mbit/sec on each McBSP, which is a "safe" rate for McBSP. I might suggest you consider UTOPIA for the "third ...


external Interrupt problem

Started by aliz...@yahoo.com in TMS320c6x14 years ago 1 reply

Hi friends I want to setup an external interrupt on the tms320c6713. I configure a GPIO pin as input and configure this pin for external...

Hi friends I want to setup an external interrupt on the tms320c6713. I configure a GPIO pin as input and configure this pin for external interrupt. I give it a pulse from signal generator and can see the pulse value in the GPVAL register, but its interrupt don't occur. Please help me! With best regards. _____________________________________


Problem in MCBSP:UART

Started by human_ghost13 in TMS320c6x16 years ago

Hi Everyone, After my audio data processing on DSK6713 i need to transmit the processed data serially to a Microcontoller through MCBSP. I...

Hi Everyone, After my audio data processing on DSK6713 i need to transmit the processed data serially to a Microcontoller through MCBSP. I have studied spra633b and have tried both sample codes (MCBSP in Serial port & GPIO mode) but i am facing following problems: 1. In Serial Port mode when i run the program, i am getting the error "Transmission Error" (althogh i have shorted DX1,DR1 ...


5402 - GPIO problem

Started by vijay_asm in TMS320c6x18 years ago

I work on 5402 DSP. I face a problem in I/O. 5402 has HPIport which can also be used as IO Port. I am using this port as Output. The problem...

I work on 5402 DSP. I face a problem in I/O. 5402 has HPIport which can also be used as IO Port. I am using this port as Output. The problem is Iam able to write to the IO in Main loop, but is ISR the port is not in control. I written a toggling code, the pins toggled well in mainloop, but the same didnt work in ISR. I Tried both Asm and C, no use. in asm, i tried different instructi...


external Interrupt problem 2

Started by aliz...@yahoo.com in TMS320c6x14 years ago 1 reply

Hi friends I want to setup an external interrupt on the tms320c6713. I configure a GPIO pin as input and configure this pin for external...

Hi friends I want to setup an external interrupt on the tms320c6713. I configure a GPIO pin as input and configure this pin for external interrupt. I give it a pulse from signal generator and can see the pulse value in the GPVAL register, but its interrupt don't occur. Please help me! With best regards. my code is as below: #include #include #include #incl


6727 UHPI HPIC

Started by woshidon in TMS320c6x16 years ago 1 reply

Hello. My name is Don and I have a question about the 6727 UHPI. I want to use the bit in the HPIC (hint) that the DSP can write to to generate...

Hello. My name is Don and I have a question about the 6727 UHPI. I want to use the bit in the HPIC (hint) that the DSP can write to to generate and interrupt in its host as a simple flag. I have the interrupt pin actually gpio'd and unused. But I thought I should be able to set the bit in the DSP and let the host see it and reset it it by writing a one back to the bit. Well, I can set ...