DSPRelated.com

Doubt in GPIO Interrupt

Started by karthikeyan B in TMS320c6x18 years ago

Hi, I am using the GPIO pins of the DM648 DSP. I am able to write and clear the GPIO SET_DATA and CLR_DATA registers of the GPIO peripheral and...

Hi, I am using the GPIO pins of the DM648 DSP. I am able to write and clear the GPIO SET_DATA and CLR_DATA registers of the GPIO peripheral and toggle the GPIO pins. But I want to receive the GPIO interrupt to the CPU. I am able to understand that the GPIO interrupt registers can be configured for both rising and falling edge interrupts, but can anyone help me on how to configure the HWI mod...


Re: How can I access the GPIO module pinout on dsk6713?

Started by ahma...@yahoo.com in TMS320c6x18 years ago

Dear friends; Would any one send me a source code for gpio on ds6713? When I try to config gpio by gpio-config(); an error message display that...

Dear friends; Would any one send me a source code for gpio on ds6713? When I try to config gpio by gpio-config(); an error message display that there is an unrecognized token and the other error message says that an expression expected while I do all my can. regards > Hi, > > I am implementing a design using the MsASP configured as GPIO and the > GPIO module itself. I saw that it is p


GPIO as clock output

Started by iddq...@gmail.com in TMS320c6x18 years ago 2 replies

HI Does anyone know how to use GPIO pin to be a clock output? I have try to set the "GPIO high----GPIO low_____GPIO high----GPIO low_____" to...

HI Does anyone know how to use GPIO pin to be a clock output? I have try to set the "GPIO high----GPIO low_____GPIO high----GPIO low_____" to simulate the clock output. But that always give me some extra overheads that makes the clock unreliable. As you know the accuracy of the clock is important. Anyone have any idea how to use GPIO pin as clock output? All suggestions are welcome. Any help w...


Re: How can I access the GPIO module pinout on dsk6713?

Started by rich...@tcs.com in TMS320c6x18 years ago

hi frnd Did you get a solution to your problem.I have spent 5 hrs and couldnt get how to use GPIO pins.I am working on TMS320C6446 Dear...

hi frnd Did you get a solution to your problem.I have spent 5 hrs and couldnt get how to use GPIO pins.I am working on TMS320C6446 Dear friends; > Would any one send me a source code for gpio on ds6713? > When I try to config gpio by gpio-config(); an error message display that there is an unrecognized token and the other error message says that an expression expected while I do all my can.


tms320c6455dsk: muxed gpio/mcbsp1 pins to be used as gpio on J3 connector

Started by clon...@hotmail.com in TMS320c6x15 years ago

Hello everybody, I'm working on a TMS320C6455 DSK board and I want to use the muxed GPIO/McBSP1 pins as GPIO, for both input and output. As a...

Hello everybody, I'm working on a TMS320C6455 DSK board and I want to use the muxed GPIO/McBSP1 pins as GPIO, for both input and output. As a test I tried to toggle one of those pins in order to have a pseudo-clock signal on the pins of the J3 connector that are shared by GPIO and McBSP1 interfaces. Since the latter is enabled at startup of the board and is set to communicate with the AIC23 aud...


How can I access the GPIO module pinout on dsk6713?

Started by fr_leroux2 in TMS320c6x21 years ago

Hi, I am implementing a design using the MsASP configured as GPIO and the GPIO module itself. I saw that it is possible to access the...

Hi, I am implementing a design using the MsASP configured as GPIO and the GPIO module itself. I saw that it is possible to access the McASP pinouts through the HPI Expansion Connector on the dsk but I dont know how to access the GPIO pinout. I am using GPIO_5 and GPIO_6 as external interrupts and the rest the the module as IO's. Is there a daughter-


How to add a GPIO pin signal as HWI

Started by flor...@yahoo.com in TMS320c6x19 years ago 4 replies

Hi all, I was searching all the tutorial given by TI-DSP, but no where it is given clearly how to add a GPIO pin as a HWI. I am working...

Hi all, I was searching all the tutorial given by TI-DSP, but no where it is given clearly how to add a GPIO pin as a HWI. I am working with EVM-DM6437 board. In this board there is IO expander which gives a interrupt signal to the DM6437 GPIO pin:GP[4]. I want to detect this interrupt as a HWI and run a ISR. Is any one who has done this before can help to configure a gpio (say GP[4])...


GPIO:::Please check what i am missing in this

Started by rich...@tcs.com in TMS320c6x18 years ago 1 reply

We have been trying to use GPIO pins as I/O, but we are facing some problems. Even though we have included all include files for GPIO but although...

We have been trying to use GPIO pins as I/O, but we are facing some problems. Even though we have included all include files for GPIO but although my code compiles but while linking it gives errors. Regarding other settings i have used Device Simulator 6713 in CC setup and in Build options in -d i have put chip_6713. Please check the code to see what i am missing that my code is not linkin...


C6424 EVM doesn't reset

Started by "Yang, Chunhua" in TMS320c6x17 years ago 2 replies

Dear All, I use C6424 EVM board for some simple programme about EMIFA. When I connect any one of EMIF 16-bit data bus pins (working as a GPIO,...

Dear All, I use C6424 EVM board for some simple programme about EMIFA. When I connect any one of EMIF 16-bit data bus pins (working as a GPIO, any GPIO pin among 16 GPIO pins) to either ground or 3.3 V, my programme doesn't reset! However, if I dont connect any pins, it does reset properly. Can any one help me out? Best Regards, Yang


problem when using C6711 timer and TOUT as a GPIO pin

Started by tien vuong in TMS320c6x20 years ago 2 replies

Hello all, I have problem with C6711 timer when using TOUT as a GPIO pin (with CCS-3.1, DSP/BIOS-5.2). In my configuration, Timer0 is used...

Hello all, I have problem with C6711 timer when using TOUT as a GPIO pin (with CCS-3.1, DSP/BIOS-5.2). In my configuration, Timer0 is used by CLK manager module with "Microseconds/Int = 100". And "Use CLK Manager to driver PRD" in PRD manager module is set. I want to measure execution time of some code stuff by both internal timer counter (to be sent to host) and GPIO (to be checked by O...


GPIO and compiler switch -g

Started by Bernhard Gustl Bauer in TMS320c6x20 years ago

Hi, I use GPIO to generate output signals with a minimum high pulse width of 240ns. I must use NOP for the timing, because I have no free...

Hi, I use GPIO to generate output signals with a minimum high pulse width of 240ns. I must use NOP for the timing, because I have no free timer. So I entered 72 NOPs (300MHz) delay and I got a pulse width of 180ns! It looks like there is a GPIO internal timing which is much slower than SYSCLK1. I had to adjust the number of NOPs (now 90), but I can live with it. Then I turned compi


CSL GPIO

Started by McClean, Lesley-Ann in TMS320c6x23 years ago

This e-mail is subject to the disclaimer set out below. --------------------------------------------------------------------------- ...

This e-mail is subject to the disclaimer set out below. --------------------------------------------------------------------------- Hi again...more problems! I'm trying to set up my GPIO pins using the csl gpio functions. I've upgraded CCS to version 2.12.10 (which incl


GPIO usage

Started by Mike Petty in TMS320c6x22 years ago 1 reply

I've been knocking my head against this problem for a while, and I'm starting to creep uncomfortably close to a deadline. I have a...

I've been knocking my head against this problem for a while, and I'm starting to creep uncomfortably close to a deadline. I have a c6713 that I just can't get the GPIO output to work properly. I have been able to read from the GPIO pins, but I can't write to them seemingly no matter


Help for McASP configured as GPIO on DM642

Started by TM in TMS320c6x18 years ago

I am working on DM642, i have some problem regarding the configuration of the McASP AXR0[2] AXR0[3] as GPIO and pin direction as output do...

I am working on DM642, i have some problem regarding the configuration of the McASP AXR0[2] AXR0[3] as GPIO and pin direction as output do you have any sample code for the same? it will be really helpfull. And also configuring these as two PINS as GPIO outputs i need to make one PIN high and the other LOW not both high at the same time. i need to toggle these pins and check out for LED of ...


How interface External LCD Display with TMS320C6713.

Started by suman_urfeeling in TMS320c6x18 years ago 2 replies

Hi friends Working on Ti-TMS320C6713 dsk (Spectrum Digital board). Want to interface 2x16 LCD Display with DSK kit. I assume that we may...

Hi friends Working on Ti-TMS320C6713 dsk (Spectrum Digital board). Want to interface 2x16 LCD Display with DSK kit. I assume that we may connect it with GPIO connection. If GPIO is possible to solve this problem, please tell me , how enable GPIO & interface with LCD.. My software platform is CCS. So have any particular C code for this interface, kindly send me. Have any other procedure , y...


Can not reset DSP board

Started by cyan...@liv.ac.uk in TMS320c6x17 years ago 2 replies

Hi All, My DSP C6424 EVM board can not reset by pressing RESET or POR( momentary switches) after it was connected to a hardware module in...

Hi All, My DSP C6424 EVM board can not reset by pressing RESET or POR( momentary switches) after it was connected to a hardware module in Daughter card port 1 (DC_P1). The hardware module uses some of GPIO pins for data transferring purpose. The GPIO pins I used were all configured to work as GPIO functionality. However before connected it can reset properly. Please give some ideas and th...


Re: McBSP Pins as GPIOs - 6711D

Started by baba...@yahoo.com in TMS320c6x16 years ago

Hi I have a similar problem. I'm using DSK6713 and i cant use its McBSP as GPIO. Has your problem been solved? Thanks Babak > Hi all, >...

Hi I have a similar problem. I'm using DSK6713 and i cant use its McBSP as GPIO. Has your problem been solved? Thanks Babak > Hi all, > > With c6x peripheral guide spru190d, we found that > McBSP pins can be used as GPIOs. But with the > modifications to GPIO module in 6711D revision is > there any change with this. Still these McBSP pins can > be used for GPIO. Nothing is ment


GPIO board connections

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

Dear fiends Hi I've written a code in order to use GPIO pins as output ports. my code is correct and works properly, but when i connect GPIO...

Dear fiends Hi I've written a code in order to use GPIO pins as output ports. my code is correct and works properly, but when i connect GPIO pins to another device pins, DSP starts up abnormally and code composer cannot load the .out file. By the way, I noticed that when code composer checks target endianness, it finds a mismatching problem between my DSP and my built code. However, i can run ...


No interrupt from GPIO

Started by andr...@gmail.com in TMS320c6x16 years ago 2 replies

Hi. I'm trying getting to run an interrupt on falling edge from GPIO using the OMAP-L137 EVM and PSP drivers 1.20. I use the GPIO2[13] (on...

Hi. I'm trying getting to run an interrupt on falling edge from GPIO using the OMAP-L137 EVM and PSP drivers 1.20. I use the GPIO2[13] (on ASFX0). I get a successfully created GPIO handle, but the interrupt is never triggered. I've checked the input signal on the scope, it's like follows: it's periodic and 3.3V (though quite noisy, noise between 2.9V and 3.6V) during ~16 ms and then goes ...


Difference between Interrupt on bit change and External IRQ

Started by yati...@hotmail.com in TMS320c6x15 years ago 5 replies

Dear Experts, Could you please help me understand the following: What is the difference between "Interrupt on bit change on a GPIO port" and...

Dear Experts, Could you please help me understand the following: What is the difference between "Interrupt on bit change on a GPIO port" and "GPIO which can be used as External IRQ" In case of TMS320C6412, GPIO 4,5,6,7 can be used as External IRQs whereas rest of the GPIOs can be used as interrupt. But honestly I don't understand the difference between the two. And if you can share s...