DSPRelated.com
Forums

How can i supply J8?

Started by yunusemrebora June 1, 2008
Hi.I am trying to use the Emif.So i think that i have to supply
voltages to J8 which are 12V, -12V, 5V and GND.do i suppose to use
all of the voltages? May you tell me is it true or not?thank you.
yunusemrebora,

On Sun, Jun 1, 2008 at 1:02 PM, yunusemrebora wrote:
> Hi.I am trying to use the Emif.So i think that i have to supply
> voltages to J8 which are 12V, -12V, 5V and GND.do i suppose to use
> all of the voltages? May you tell me is it true or not?thank you.

What board do you have??

What are you trying to connect??

mikedunn

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
> What board do you have??
>
> What are you trying to connect??
>
> mikedunn

> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php

I have tms320c6711 dsk.i am not trying to connect anything.only i am
going to use Emif.And i read sth that emif needs J8 instead of J4.So
is it true?
yunusemrebora,

On Sun, Jun 1, 2008 at 2:30 PM, yunusemrebora wrote:
>> What board do you have??
>>
>> What are you trying to connect??
>>
>> mikedunn
>
>> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>
> I have tms320c6711 dsk.i am not trying to connect anything.only i am
> going to use Emif.And i read sth that emif needs J8 instead of J4.So
> is it true?

Just a bit of terminology clarification.

The EMIF [external memory interface] is part of the c6711 DSP. Every
time you access SDRAM, light an LED, read the switches, or reset the
DSP and perform a 'Flash boot' you are "using the EMIF". If you want
to expand the capability of your 6711 DSK, you can plug in cards to
the expansion interface [J1 and J3 - called the "daughtercard
interface" by TI.

All of the logic on the 6711 DSK runs off of +5v or voltages derived
from +5v. The daughter card interface allows the stacking of multiple
daughter cards. If you were to require more current on the +5v than
the standard 5 amp supply [if my memory serves me correctly, the 6711
DSK requires about 4 Amps momentarily on startup] or you used
daughtercards that required +12v or -12v, you could use J8 to apply
the power. FYI - the J8 connector is the same as the connector on a
std PC hard disk. You can use a PC power supply or use a PC disk
'power cable extender' to source the power.

I hope this helps.

mikedunn

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
> Just a bit of terminology clarification.
>
> The EMIF [external memory interface] is part of the c6711 DSP. Every
> time you access SDRAM, light an LED, read the switches, or reset the
> DSP and perform a 'Flash boot' you are "using the EMIF". If you
want
> to expand the capability of your 6711 DSK, you can plug in cards to
> the expansion interface [J1 and J3 - called the "daughtercard
> interface" by TI.
>
> All of the logic on the 6711 DSK runs off of +5v or voltages derived
> from +5v. The daughter card interface allows the stacking of
multiple
> daughter cards. If you were to require more current on the +5v than
> the standard 5 amp supply [if my memory serves me correctly, the
6711
> DSK requires about 4 Amps momentarily on startup] or you used
> daughtercards that required +12v or -12v, you could use J8 to apply
> the power. FYI - the J8 connector is the same as the connector on a
> std PC hard disk. You can use a PC power supply or use a PC disk
> 'power cable extender' to source the power.
>
> I hope this helps.
>
> mikedunn
> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php

first of all thank you very much for your answers.easily i will try
to light 8 leds which connected to ED[7:0].and then if i succeed, i
am going to connect ED[7:0] to a dac.

i tried to load my code without giving voltages to J8, it gave an
error."cannot read ...".so i thought that i must give energy to J8
when i try to use emif.

as simple,i am using this in my code.i am trying to take FF from
Ed[7:0].there is no errors when i compile my code.(i omitted)

*(unsigned volatile int *)INTDSK_CE3 = 0x000000FF;

I mean i write a data to inside an address.

consequently, if i want to light a led or interface a dac, do i have
to give energy to J8?

thank you.
Yunusem Rebora-

> i tried to load my code without giving voltages to J8, it gave an
> error."cannot read ...".so i thought that i must give energy to J8
> when i try to use emif.

As Mike explained, normally you shouldn't need J8 unless for very specific, uncommon reasons. In 8 years of reading
DSK 6711 related questions on this group, you are the first one to ask about it. So that tells me if you can't do
something basic like loading DSP code, then you're doing something wrong.

Sounds to me like either:

a) you have a DSK 6711 board but you don't have the
standard AC power supply (wall wart) that comes
with the board

b) you have an AC power supply, but it's the wrong one

-Jeff

>> Just a bit of terminology clarification.
>>
>> The EMIF [external memory interface] is part of the c6711 DSP. Every
>> time you access SDRAM, light an LED, read the switches, or reset the
>> DSP and perform a 'Flash boot' you are "using the EMIF". If you
> want
>> to expand the capability of your 6711 DSK, you can plug in cards to
>> the expansion interface [J1 and J3 - called the "daughtercard
>> interface" by TI.
>>
>> All of the logic on the 6711 DSK runs off of +5v or voltages derived
>> from +5v. The daughter card interface allows the stacking of
> multiple
>> daughter cards. If you were to require more current on the +5v than
>> the standard 5 amp supply [if my memory serves me correctly, the
> 6711
>> DSK requires about 4 Amps momentarily on startup] or you used
>> daughtercards that required +12v or -12v, you could use J8 to apply
>> the power. FYI - the J8 connector is the same as the connector on a
>> std PC hard disk. You can use a PC power supply or use a PC disk
>> 'power cable extender' to source the power.
>>
>> I hope this helps.
>>
>> mikedunn
>> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>
> first of all thank you very much for your answers.easily i will try
> to light 8 leds which connected to ED[7:0].and then if i succeed, i
> am going to connect ED[7:0] to a dac.
>
> i tried to load my code without giving voltages to J8, it gave an
> error."cannot read ...".so i thought that i must give energy to J8
> when i try to use emif.
>
> as simple,i am using this in my code.i am trying to take FF from
> Ed[7:0].there is no errors when i compile my code.(i omitted)
>
> *(unsigned volatile int *)INTDSK_CE3 = 0x000000FF;
>
> I mean i write a data to inside an address.
>
> consequently, if i want to light a led or interface a dac, do i have
> to give energy to J8?
>
> thank you.
> As Mike explained, normally you shouldn't need J8 unless for very
specific, uncommon reasons. In 8 years of reading
> DSK 6711 related questions on this group, you are the first one to
ask about it. So that tells me if you can't do
> something basic like loading DSP code, then you're doing something
wrong.
>
> Sounds to me like either:
>
> a) you have a DSK 6711 board but you don't have the
> standard AC power supply (wall wart) that comes
> with the board
>
> b) you have an AC power supply, but it's the wrong one
>
> -Jeff

ok i understand what you are telling.I have a Naim Dahnoun Project
for using emif.In the ppt he had been telling about J8.but i looked
carefully and understood that it is for extension.i forgot about J8.

so if i want to light 8 leds,does this code work or what must i
do?thank you.(i omitted)

TIMER_Handle hTimer; /* Handle for the timer device */

void main(void)
{
start_timer1();
interrupt_init();
IRQ_globalEnable(); /* Enable global interrupts */
for (;;); /* Wait for an interrupt */
}

void InoutIsr (void)
{
*(unsigned volatile int *) INTDSK_CE3 = 0x000000ff;
}
yunusemrebora,

On Mon, Jun 2, 2008 at 3:40 AM, yunusemrebora wrote:
>> Just a bit of terminology clarification.
>>
>> The EMIF [external memory interface] is part of the c6711 DSP. Every
>> time you access SDRAM, light an LED, read the switches, or reset the
>> DSP and perform a 'Flash boot' you are "using the EMIF". If you
> want
>> to expand the capability of your 6711 DSK, you can plug in cards to
>> the expansion interface [J1 and J3 - called the "daughtercard
>> interface" by TI.
>>
>> All of the logic on the 6711 DSK runs off of +5v or voltages derived
>> from +5v. The daughter card interface allows the stacking of
> multiple
>> daughter cards. If you were to require more current on the +5v than
>> the standard 5 amp supply [if my memory serves me correctly, the
> 6711
>> DSK requires about 4 Amps momentarily on startup] or you used
>> daughtercards that required +12v or -12v, you could use J8 to apply
>> the power. FYI - the J8 connector is the same as the connector on a
>> std PC hard disk. You can use a PC power supply or use a PC disk
>> 'power cable extender' to source the power.
>>
>> I hope this helps.
>>
>> mikedunn
>> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>
> first of all thank you very much for your answers.easily i will try
> to light 8 leds which connected to ED[7:0].and then if i succeed, i
> am going to connect ED[7:0] to a dac.


Your previous quote...
"I have tms320c6711 dsk.i am not trying to connect anything"

You say that you have 6711 DSK. If you do, DO NOT connect anything to ED[31:0].
The data bus is already loaded
AND
it is easier to connect to J1 [DB_D31:0]
AND
J1 is buffered with enough drive for LEDs.

If you do it this way [without an output latch], you cannot any EMIF
accesses except a write to a CE space.

>
> i tried to load my code without giving voltages to J8, it gave an
> error."cannot read ...".

... is something that I cannot understand. The error message gave an
address - what is it??
Why were you trying to read?? I thought that you were trying to light LEDS??

> so i thought that i must give energy to J8
> when i try to use emif.


Forget about J8.

You have a problem with what you are doing or how you are doing it.
Focus on that.

>
> as simple,i am using this in my code.i am trying to take FF from
> Ed[7:0].


I assume that you are saying that you are trying to read 'FF' from the
data bus. How can you do that??

>there is no errors when i compile my code.(i omitted)
>
> *(unsigned volatile int *)INTDSK_CE3 = 0x000000FF;


Numbers hard coded for clarity. Write FF to CE3.
*(unsigned volatile int *)0xB0000000 = 0x000000FF;

>
> I mean i write a data to inside an address.
>
> consequently, if i want to light a led or interface a dac, do i have
> to give energy to J8?

No.

FYI- If you look at the 'DSK6211_6711.gel' file you can see how the on
board LEDs [CE1 - 0x90080000] are written.
The 'GEL' language is very 'C-like'.

mikedunn
>
> thank you.

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
--- In c..., "Michael Dunn" wrote:
>
> yunusemrebora,
>

> Your previous quote...
> "I have tms320c6711 dsk.i am not trying to connect anything"

yes it is right.briefly my first aim is to light 8 leds.i set the
circuit with 8 leds and 8 resistors.only i want to give them the
right voltages with emif.If i do this, similarly i am going to
connect 8 bit DAC instead of 8 leds.i want to learn how to use it
first.

> You say that you have 6711 DSK. If you do, DO NOT connect anything
to ED[31:0].
> The data bus is already loaded
> AND
> it is easier to connect to J1 [DB_D31:0]
> AND
> J1 is buffered with enough drive for LEDs.
>
> If you do it this way [without an output latch], you cannot any EMIF
> accesses except a write to a CE space.

> Why were you trying to read?? I thought that you were trying to
light LEDS??

yes.i am trying to do this.maybe the problem is my english.sorry for
that.

so i thought that if i write 0x000000FF as below, i can take 8
digital signal from ED[7:0] which are 63-70(pin numbers for ED7 to
ED0 in total 80).

*(unsigned volatile int *)0xB0000000 = 0x000000FF;

1)There is no problem when i compile it.
2)I loaded DSK6211_6711.gel file.
3)I did Dsp-Bios configuration.(s62, h62 .. ok)
4)I loaded the program successfully.I ran the program.

pin 71 is GND.I measured the voltage between GND - ED0(pin 70), it
was approx. zero.

finally i couln't take signals from ED, what did i do wrong?thank you.
yunusemrebora,

On 6/3/08, yunusemrebora wrote:
>
> --- In c... , "Michael Dunn"
> wrote:
> >
> > yunusemrebora,
> >
>
> > Your previous quote...
> > "I have tms320c6711 dsk.i am not trying to connect anything"
>
> yes it is right.briefly my first aim is to light 8 leds.i set the
> circuit with 8 leds and 8 resistors.only i want to give them the
> right voltages with emif.If i do this, similarly i am going to
> connect 8 bit DAC instead of 8 leds.i want to learn how to use it
> first.
>
> > You say that you have 6711 DSK. If you do, DO NOT connect anything
> to ED[31:0].
> > The data bus is already loaded
> > AND
> > it is easier to connect to J1 [DB_D31:0]
> > AND
> > J1 is buffered with enough drive for LEDs.
> >
> > If you do it this way [without an output latch], you cannot any EMIF
> > accesses except a write to a CE space.
>
> > Why were you trying to read?? I thought that you were trying to
> light LEDS??
>
> yes.i am trying to do this.maybe the problem is my english.sorry for
> that.
>
> so i thought that if i write 0x000000FF as below, i can take 8
> digital signal from ED[7:0] which are 63-70(pin numbers for ED7 to
> ED0 in total 80).
>

A very important aspect of design is attention to detail.

A very important element of getting assistance is "providing accurate
details".

ED7 is NOT the same as DB_D7. They are different signals in the real
world. You need to refer to actual signal names.

*(unsigned volatile int *)0xB0000000 = 0x000000FF;
>
> 1)There is no problem when i compile it.
> 2)I loaded DSK6211_6711.gel file.
> 3)I did Dsp-Bios configuration.(s62, h62 .. ok)
> 4)I loaded the program successfully.I ran the program.
>
> pin 71 is GND.I measured the voltage between GND - ED0(pin 70), it
> was approx. zero.
>
> finally i couln't take signals from ED, what did i do wrong?thank you.
>

First, you do not need to write a program to just set the bits. Open a
memory window and set the address to 0xB0000000 and enter 0xFFFFFFFF as a
data value. Look at the result with a scope. The data bits should be high
on the scope [with nothing attached]. If they are not, select the memory
window, right click, and select refresh. If the value comes back as 0, your
'test' will not work.

What you are doing 'technically not correct', but due to an anomalie of the
EMIF [bus hold feature], I think that it might work. The EMIF is a time
multiplexed bus - the only time that values are guaranteed to be there is
during the particular cycle [some number of nano seconds] that the read or
write occurs. If you want 'static data' you should technically use a latch
[refer to the LEDs in the DSK schematics].

mikedunn

>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php