Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Capture pin inconsistencies

Capture pin inconsistencies

2006-02-14 by jase_ko

Hi guys,

We are after a bit of help with the LPC2124.
We are trying to use the capture pin (CAP 0.2) to determine the 
speed of a vehicle based on the number of pulses we receive.

We find that we are getting consistant stray outliers.

Below is the source code we are using and the results we are getting 
to a terminal program.

Any help would be ace.

void main()
{

// init tick timer
  T0MR0 = 0xFFFFFFFF;
  T0MCR = 0x03;						

  // Interrupt and Reset on MR0
  VICVectAddr2 = (unsigned long)IRQTickTimer;	// set interrupt 
vector in 0
  VICVectCntl2 = 0x20 | 4;	// use it for Timer 0 Interrupt
  VICIntEnable |= 0x00000010;	// Enable Timer0 Interrupt

// init capture
  PINSEL1 |= 0x00000003;  // select capture pin on pin 16. (uses 
timer 0)
  T0CCR |= 0x00000040;	  // rising edge active (not falling 
edge)
  T0TCR = 0x00000001;	  // TC and PC are enabled for 
counting
  T0PR = 0x00000000;


// init serial comms
  // Initialise the UART0 serial communications.
  PINSEL0 |= 0x00000005;  // Enable RxD1 and TxD1
  U0LCR = 0x83;		  // 8N1 with DLAB enabled.
  U0DLL = 97;		  // 9600 Baud Rate @ 15MHz VPB Clock
  U0LCR = 0x03;		  // DLAB = 0
  U0FCR = 0xc7;		  // turn on fifo buffer

  // Initialise the UART1 serial communications.
  PINSEL0 |= 0x00050000;  // Enable RxD1 and TxD1
  U1LCR = 0x83;		  // 8N1 with DLAB enabled.
  SetUART1BaudRate();
  U1LCR = 0x03;		  // DLAB = 0


  static unsigned long prevTC = 0;
  unsigned long currTC = T0CR2;
  unsigned long prevTicks = 0;
  // ssv1.speed.ticks is an unsigned long

  while (1)
  {
    currTC = T0CR2;
    if (currTC > prevTC)
    {
      ssv1.speed.ticks = currTC - prevTC;
      prevTC = currTC;
      SerialSendLongInt (ssv1.speed.ticks); SerialSendString ("  ");
      SerialSendLongInt (ssv1.speed.ticks-prevTicks);
      SerialSendString ("\n");
      prevTicks = ssv1.speed.ticks;
    }
  }
}



Printout from the terminal
185078  -6
185085  7
185083  -2
185097  14
185096  -1
185056  -40
370182  185126
185082  -185100
185090  8
185068  -22
185088  20
185080  -8
185077  -3
185096  19
185105  9
185085  -20
185107  22
185108  1
185100  -8
185097  -3
185111  14
185099  -12
185112  13
185087  -25
185074  -13
370156  185082
185089  -185067
185096  7
185058  -38
185114  56
185088  -26
185095  7
185117  22
183515  -1602
371311  187796
555767  184456
185071  -370696
173318  -11753

RE: [lpc2000] Capture pin inconsistencies

2006-02-14 by Joel Winarske

Hello,

I don't see your interrupt code, but you really need to read the errata
sheet.

http://www.standardics.philips.com/support/documents/microcontrollers/pdf/er
rata.lpc2124.pdf

Found here:
http://www.standardics.philips.com/products/lpc2000/all/~LPC2124/#LPC2124


Joel

Re: Capture pin inconsistencies

2006-02-14 by charlesgrenz

Hi

 I am assuming that this is also using a serial polling routine and
with numbers and space that you are sending out at 9600 baud (1ms per
character) you take about 11ms per string. Change it to an interrupt
type so you do not have to wait for the Txd. An alternative is to
boost the baud rate to like 57.6K or even 115.2K.

You should also change the capture to an interrupt to collect the time
and save it into a simple stack in case you get locked up waiting for
communications if you need to keep the baud rate at 9600.

regards,
Charles

--- In lpc2000@yahoogroups.com, "jase_ko" <jase.ko@...> wrote:
Show quoted textHide quoted text
>
> Hi guys,
> 
> We are after a bit of help with the LPC2124.
> We are trying to use the capture pin (CAP 0.2) to determine the 
> speed of a vehicle based on the number of pulses we receive.
> 
> We find that we are getting consistant stray outliers.
> 
> Below is the source code we are using and the results we are getting 
> to a terminal program.
> 
> Any help would be ace.
> 
> void main()
> {
> 
> // init tick timer
>   T0MR0 = 0xFFFFFFFF;
>   T0MCR = 0x03;						
> 
>   // Interrupt and Reset on MR0
>   VICVectAddr2 = (unsigned long)IRQTickTimer;	// set interrupt 
> vector in 0
>   VICVectCntl2 = 0x20 | 4;	// use it for Timer 0 Interrupt
>   VICIntEnable |= 0x00000010;	// Enable Timer0 Interrupt
> 
> // init capture
>   PINSEL1 |= 0x00000003;  // select capture pin on pin 16. (uses 
> timer 0)
>   T0CCR |= 0x00000040;	  // rising edge active (not falling 
> edge)
>   T0TCR = 0x00000001;	  // TC and PC are enabled for 
> counting
>   T0PR = 0x00000000;
> 
> 
> // init serial comms
>   // Initialise the UART0 serial communications.
>   PINSEL0 |= 0x00000005;  // Enable RxD1 and TxD1
>   U0LCR = 0x83;		  // 8N1 with DLAB enabled.
>   U0DLL = 97;		  // 9600 Baud Rate @ 15MHz VPB Clock
>   U0LCR = 0x03;		  // DLAB = 0
>   U0FCR = 0xc7;		  // turn on fifo buffer
> 
>   // Initialise the UART1 serial communications.
>   PINSEL0 |= 0x00050000;  // Enable RxD1 and TxD1
>   U1LCR = 0x83;		  // 8N1 with DLAB enabled.
>   SetUART1BaudRate();
>   U1LCR = 0x03;		  // DLAB = 0
> 
> 
>   static unsigned long prevTC = 0;
>   unsigned long currTC = T0CR2;
>   unsigned long prevTicks = 0;
>   // ssv1.speed.ticks is an unsigned long
> 
>   while (1)
>   {
>     currTC = T0CR2;
>     if (currTC > prevTC)
>     {
>       ssv1.speed.ticks = currTC - prevTC;
>       prevTC = currTC;
>       SerialSendLongInt (ssv1.speed.ticks); SerialSendString ("  ");
>       SerialSendLongInt (ssv1.speed.ticks-prevTicks);
>       SerialSendString ("\n");
>       prevTicks = ssv1.speed.ticks;
>     }
>   }
> }
> 
> 
> 
> Printout from the terminal
> 185078  -6
> 185085  7
> 185083  -2
> 185097  14
> 185096  -1
> 185056  -40
> 370182  185126
> 185082  -185100
> 185090  8
> 185068  -22
> 185088  20
> 185080  -8
> 185077  -3
> 185096  19
> 185105  9
> 185085  -20
> 185107  22
> 185108  1
> 185100  -8
> 185097  -3
> 185111  14
> 185099  -12
> 185112  13
> 185087  -25
> 185074  -13
> 370156  185082
> 185089  -185067
> 185096  7
> 185058  -38
> 185114  56
> 185088  -26
> 185095  7
> 185117  22
> 183515  -1602
> 371311  187796
> 555767  184456
> 185071  -370696
> 173318  -11753
>

RE: [lpc2000] Re: Capture pin inconsistencies

2006-02-14 by Joel Winarske

>  I am assuming that this is also using a serial polling routine and
> with numbers and space that you are sending out at 9600 baud (1ms per
> character) you take about 11ms per string. Change it to an interrupt
> type so you do not have to wait for the Txd. An alternative is to
> boost the baud rate to like 57.6K or even 115.2K.
> 
> You should also change the capture to an interrupt to collect the time
> and save it into a simple stack in case you get locked up waiting for
> communications if you need to keep the baud rate at 9600.

Indeed.  I didn't look at that while loop, that's not so good.

Be sure to check the errata sheet when implementing interrupt capture code.

Joel

Re: Capture pin inconsistencies

2006-02-15 by jase_ko

Here is the IRQ code for the timer.
We dont use interrupts for the capture pin. (We tried once, but it 
then stuffed up IRQ serial comms).
When the pin fires it updates the capture pin counter and then we 
read this at our leisure.

I had a look at the errata. The only thing it mentions about a 
capture pin is for pin P0.21. We use P0.16, CAP0.2


void IRQTickTimer() __attribute__ ((interrupt));
void IRQTickTimer()
{
	T0IR = 1;		// Clear interrupt flag
	VICVectAddr = 0;	// Acknowledge Interrupt
}

Re: Capture pin inconsistencies

2006-02-15 by charlesgrenz

Since this is interrupt driven for the capture, then the serial
routine is killing the counters by missing them. I would move the
currTC = T0CR2 into the IRQ routien and make it a volatile global so
that you can read it and clear it off. I would also do the prevTC =
currTC in the interrupt routine as well.

regards,
Charles

--- In lpc2000@yahoogroups.com, "jase_ko" <jase.ko@...> wrote:
Show quoted textHide quoted text
>
> Here is the IRQ code for the timer.
> We dont use interrupts for the capture pin. (We tried once, but it 
> then stuffed up IRQ serial comms).
> When the pin fires it updates the capture pin counter and then we 
> read this at our leisure.
> 
> I had a look at the errata. The only thing it mentions about a 
> capture pin is for pin P0.21. We use P0.16, CAP0.2
> 
> 
> void IRQTickTimer() __attribute__ ((interrupt));
> void IRQTickTimer()
> {
> 	T0IR = 1;		// Clear interrupt flag
> 	VICVectAddr = 0;	// Acknowledge Interrupt
> }
>

Re: Capture pin inconsistencies

2006-02-15 by charlesgrenz

Sorry about that, I quickly read the email and realized that you did
not use IRQ's. Well your only option then is to use a faster baudrate
but there will be no gurantee that you are not going to miss some time
counts.

If your IRQ did not work, then maybe you had nested IRQ's active but
did not save/restore the registers?

regards,
Charles

--- In lpc2000@yahoogroups.com, "jase_ko" <jase.ko@...> wrote:
Show quoted textHide quoted text
>
> Here is the IRQ code for the timer.
> We dont use interrupts for the capture pin. (We tried once, but it 
> then stuffed up IRQ serial comms).
> When the pin fires it updates the capture pin counter and then we 
> read this at our leisure.
> 
> I had a look at the errata. The only thing it mentions about a 
> capture pin is for pin P0.21. We use P0.16, CAP0.2
> 
> 
> void IRQTickTimer() __attribute__ ((interrupt));
> void IRQTickTimer()
> {
> 	T0IR = 1;		// Clear interrupt flag
> 	VICVectAddr = 0;	// Acknowledge Interrupt
> }
>

RE: [lpc2000] Re: Capture pin inconsistencies

2006-02-15 by Joel Winarske

> I had a look at the errata. The only thing it mentions about a
> capture pin is for pin P0.21. We use P0.16, CAP0.2

Read Page 7 titled "TIMER.1 Missed Interrupt Potential".

Note this is not a problem with the LPC214x or the LPC2101/2/3.


Joel

Problem talking LPC2148<->SED13305

2006-02-16 by Sean

Hello all,

I am having an issue here and I hope someone has some suggestions.  I'm 
trying to interface some LCDs to my micro, I have a graphical 128x64 which 
has an embedded controller chip interfaced fine, using P1.16-P1.23 as 8-bit 
parallel IO.  However when I try to hook up a SED13305 the data seems to 
get corrupted.  I'll issue a write to the device to store something in 
VRAM, then immediately try to read it back.  Here's where things get weird.

If I try to use the WR and RD signals like they should be used (RD always 
high, Clear WR, Set Byte, Set WR), the write appears to work, however 
repeated reads of the same memory area return different results each 
time.  Enough reads show that the data was written successfully.  However 
if I modify only the write routine to use the WR and RD signals in a 
different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear RD) then 
repeated reads return the same data every time, however bits 7:8 are always 
"10".  Note that the read routine is the exact same both times.

How is it possible to have a small change to the write routine effect how 
the read routine works?

I have tried playing with timing to no avail.  I looked at everything with 
an oscilloscope and the timing and data look correct.  I've verified all 
connections with a multimeter. I have both the micro and the SED running 
off of 3.3V.  Note that if the SED is running at 5V then I get complete 
garbage on read (meaning probably nothing worked), even though the SED says 
it works from 2.7V to 5.5V.

I think I'm going to have to try to make another test board, but before I 
run out to do that does anyone have any ideas as to why this is happening?

Thanks,

-- Sean

Re: [lpc2000] Problem talking LPC2148<->SED13305

2006-02-16 by Herbert Demmel

Sean,

are you sure about having enabled the 8080 mode of the SED13305 (and not 
the 6800 mode) ???

If you have accidently enabeld the 6800 mode writing gets ok, but reading 
gives stupid values - I had that effekt already by myself and it costed me 
nearly three days to find out what's wrong - in my case a LCM with a 
built-in S1D13700 claimed to work with the 8080 mode, but there have been 
undocumented jumpers on the LCM which were set to 6800 mode :-(

Hope that helps.

Regards
Herbert


At 22:26 15.02.2006 -0500, you wrote:
>Hello all,
>
>I am having an issue here and I hope someone has some suggestions.  I'm
>trying to interface some LCDs to my micro, I have a graphical 128x64 which
>has an embedded controller chip interfaced fine, using P1.16-P1.23 as 8-bit
>parallel IO.  However when I try to hook up a SED13305 the data seems to
>get corrupted.  I'll issue a write to the device to store something in
>VRAM, then immediately try to read it back.  Here's where things get weird.
>
>If I try to use the WR and RD signals like they should be used (RD always
>high, Clear WR, Set Byte, Set WR), the write appears to work, however
>repeated reads of the same memory area return different results each
>time.  Enough reads show that the data was written successfully.  However
>if I modify only the write routine to use the WR and RD signals in a
>different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear RD) then
>repeated reads return the same data every time, however bits 7:8 are always
>"10".  Note that the read routine is the exact same both times.
>
>How is it possible to have a small change to the write routine effect how
>the read routine works?
>
>I have tried playing with timing to no avail.  I looked at everything with
>an oscilloscope and the timing and data look correct.  I've verified all
>connections with a multimeter. I have both the micro and the SED running
>off of 3.3V.  Note that if the SED is running at 5V then I get complete
>garbage on read (meaning probably nothing worked), even though the SED says
>it works from 2.7V to 5.5V.
>
>I think I'm going to have to try to make another test board, but before I
>run out to do that does anyone have any ideas as to why this is happening?
>
>Thanks,
>
>-- Sean

----------------------------------------------------------
demmel products
Radnitzkygasse 43
A-1100 Vienna / Austria / Europe
Voice: +43-1-6894700-0
Fax: +43-1-6894700-40
Email: dh@...
WWW: http://www.demmel.com


[Non-text portions of this message have been removed]

Re: [lpc2000] Problem talking LPC2148<->SED13305

2006-02-16 by G B

Sean,

I have used the SED 1335 in the past.  One thing that is too
obvious is that the SED part is probably not the fastest thing
in the world, and you may be exceeding it speed capability.

I never had this problem with the Z80 family I was using at the
time, but the new ARM chips are way too fast for the 1335, I do not
know about the chip you are using.

Just a thought.

Glen


Sean wrote:
Show quoted textHide quoted text
> Hello all,
> 
> I am having an issue here and I hope someone has some suggestions.  I'm 
> trying to interface some LCDs to my micro, I have a graphical 128x64 which 
> has an embedded controller chip interfaced fine, using P1.16-P1.23 as 8-bit 
> parallel IO.  However when I try to hook up a SED13305 the data seems to 
> get corrupted.  I'll issue a write to the device to store something in 
> VRAM, then immediately try to read it back.  Here's where things get weird.
> 
> If I try to use the WR and RD signals like they should be used (RD always 
> high, Clear WR, Set Byte, Set WR), the write appears to work, however 
> repeated reads of the same memory area return different results each 
> time.  Enough reads show that the data was written successfully.  However 
> if I modify only the write routine to use the WR and RD signals in a 
> different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear RD) then 
> repeated reads return the same data every time, however bits 7:8 are always 
> "10".  Note that the read routine is the exact same both times.
> 
> How is it possible to have a small change to the write routine effect how 
> the read routine works?
> 
> I have tried playing with timing to no avail.  I looked at everything with 
> an oscilloscope and the timing and data look correct.  I've verified all 
> connections with a multimeter. I have both the micro and the SED running 
> off of 3.3V.  Note that if the SED is running at 5V then I get complete 
> garbage on read (meaning probably nothing worked), even though the SED says 
> it works from 2.7V to 5.5V.
> 
> I think I'm going to have to try to make another test board, but before I 
> run out to do that does anyone have any ideas as to why this is happening?
> 
> Thanks,
> 
> -- Sean
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>

[lpc2000] Problem LPC2148<->SED13305 (anyone know alternatives?)

2006-02-16 by Sean

Thanks for the comment Glen,

I checked the timing with an Oscilloscope and it's fine.  The pulses stay 
for about 500nS (I'm using legacy GPIO mapping so it's slower).  A complete 
write cycle takes 940nS.  If anything I think it may be too slow, but I've 
seem this used with a 8051 (much slower) without any issues, unfortunately 
I don't have the source code for that.  Maybe I'll try using FGPIO and see 
if that makes a difference.

Does anyone know of any alternatives to SED13305 (that's cheap?)

Thanks!

-- Sean

At 07:15 2/16/2006, you wrote:
Show quoted textHide quoted text
>Sean,
>
>I have used the SED 1335 in the past.  One thing that is too
>obvious is that the SED part is probably not the fastest thing
>in the world, and you may be exceeding it speed capability.
>
>I never had this problem with the Z80 family I was using at the
>time, but the new ARM chips are way too fast for the 1335, I do not
>know about the chip you are using.
>
>Just a thought.
>
>Glen
>
>
>Sean wrote:
>
> > Hello all,
> >
> > I am having an issue here and I hope someone has some suggestions.  I'm
> > trying to interface some LCDs to my micro, I have a graphical 128x64 which
> > has an embedded controller chip interfaced fine, using P1.16-P1.23 as 
> 8-bit
> > parallel IO.  However when I try to hook up a SED13305 the data seems to
> > get corrupted.  I'll issue a write to the device to store something in
> > VRAM, then immediately try to read it back.  Here's where things get weird.
> >
> > If I try to use the WR and RD signals like they should be used (RD always
> > high, Clear WR, Set Byte, Set WR), the write appears to work, however
> > repeated reads of the same memory area return different results each
> > time.  Enough reads show that the data was written successfully.  However
> > if I modify only the write routine to use the WR and RD signals in a
> > different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear RD) then
> > repeated reads return the same data every time, however bits 7:8 are 
> always
> > "10".  Note that the read routine is the exact same both times.
> >
> > How is it possible to have a small change to the write routine effect how
> > the read routine works?
> >
> > I have tried playing with timing to no avail.  I looked at everything with
> > an oscilloscope and the timing and data look correct.  I've verified all
> > connections with a multimeter. I have both the micro and the SED running
> > off of 3.3V.  Note that if the SED is running at 5V then I get complete
> > garbage on read (meaning probably nothing worked), even though the SED 
> says
> > it works from 2.7V to 5.5V.
> >
> > I think I'm going to have to try to make another test board, but before I
> > run out to do that does anyone have any ideas as to why this is happening?
> >
> > Thanks,
> >
> > -- Sean
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>microprocessors
><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>microcontrollers
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

Re: [lpc2000] Problem LPC2148<->SED13305 (anyone know alternatives?)

2006-02-16 by Herbert Demmel

Sean,

did you read my comment about the 6800 and 8080 mode - resp. did you check 
if you are running the correct mode?

Herbert

At 12:04 16.02.2006 -0500, you wrote:

>Thanks for the comment Glen,
>
>I checked the timing with an Oscilloscope and it's fine.  The pulses stay
>for about 500nS (I'm using legacy GPIO mapping so it's slower).  A complete
>write cycle takes 940nS.  If anything I think it may be too slow, but I've
>seem this used with a 8051 (much slower) without any issues, unfortunately
>I don't have the source code for that.  Maybe I'll try using FGPIO and see
>if that makes a difference.
>
>Does anyone know of any alternatives to SED13305 (that's cheap?)
>
>Thanks!
>
>-- Sean
>
>At 07:15 2/16/2006, you wrote:
> >Sean,
> >
> >I have used the SED 1335 in the past.  One thing that is too
> >obvious is that the SED part is probably not the fastest thing
> >in the world, and you may be exceeding it speed capability.
> >
> >I never had this problem with the Z80 family I was using at the
> >time, but the new ARM chips are way too fast for the 1335, I do not
> >know about the chip you are using.
> >
> >Just a thought.
> >
> >Glen
> >
> >
> >Sean wrote:
> >
> > > Hello all,
> > >
> > > I am having an issue here and I hope someone has some suggestions.  I'm
> > > trying to interface some LCDs to my micro, I have a graphical 128x64 
> which
> > > has an embedded controller chip interfaced fine, using P1.16-P1.23 as
> > 8-bit
> > > parallel IO.  However when I try to hook up a SED13305 the data seems to
> > > get corrupted.  I'll issue a write to the device to store something in
> > > VRAM, then immediately try to read it back.  Here's where things get 
> weird.
> > >
> > > If I try to use the WR and RD signals like they should be used (RD always
> > > high, Clear WR, Set Byte, Set WR), the write appears to work, however
> > > repeated reads of the same memory area return different results each
> > > time.  Enough reads show that the data was written successfully.  However
> > > if I modify only the write routine to use the WR and RD signals in a
> > > different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear RD) then
> > > repeated reads return the same data every time, however bits 7:8 are
> > always
> > > "10".  Note that the read routine is the exact same both times.
> > >
> > > How is it possible to have a small change to the write routine effect how
> > > the read routine works?
> > >
> > > I have tried playing with timing to no avail.  I looked at everything 
> with
> > > an oscilloscope and the timing and data look correct.  I've verified all
> > > connections with a multimeter. I have both the micro and the SED running
> > > off of 3.3V.  Note that if the SED is running at 5V then I get complete
> > > garbage on read (meaning probably nothing worked), even though the SED
> > says
> > > it works from 2.7V to 5.5V.
> > >
> > > I think I'm going to have to try to make another test board, but before I
> > > run out to do that does anyone have any ideas as to why this is 
> happening?
> > >
> > > Thanks,
> > >
> > > -- Sean
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >SPONSORED LINKS
> ><<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers& 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >microprocessors
> ><<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >microcontrollers
> >
> >
> >----------
> >YAHOO! GROUPS LINKS
> >
> >    *  Visit your group 
> "<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> > on the web.
> >    *
> >    *  To unsubscribe from this group, send an email to:
> >    *
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> >    *
> >    *  Your use of Yahoo! Groups is subject to the
> > 
> <<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
> Terms of Service.
> >
> >
> >----------
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>microprocessors
><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>microcontrollers
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

----------------------------------------------------------
demmel products
Radnitzkygasse 43
A-1100 Vienna / Austria / Europe
Voice: +43-1-6894700-0
Fax: +43-1-6894700-40
Email: dh@...
WWW: http://www.demmel.com


[Non-text portions of this message have been removed]

Re: [lpc2000] Problem LPC2148<->SED13305 (anyone know alternatives?)

2006-02-16 by Sean

Herbert:

Yes, I did, thank you for your comment.

I checked twice, the pins SEL1,SEL2 are both grounded, which indicates 8080 
mode.  I will check again to double check.  The reference design that I am 
using here originally had a NOT gate for the WR/RD signals so that they 
were always opposite each other, and then combined with an OR gated with CS 
(so WR/RD could only ever go low if CS was also low).  I have since removed 
these chips because I thought that they were causing part of the problem, 
but the behaviour is the same no matter what.  Maybe I'll try forcing it to 
6800 mode and see if it works any different.  Maybe I need to add a 
decoupling cap close to SEL1 or something.  Come to think of it, why are 
there 2 SEL pins if both configurations have SEL2 tied low?

Thanks for the suggestions.

-- Sean

At 12:09 2/16/2006, you wrote:
Show quoted textHide quoted text
>Sean,
>
>did you read my comment about the 6800 and 8080 mode - resp. did you check
>if you are running the correct mode?
>
>Herbert
>
>At 12:04 16.02.2006 -0500, you wrote:
>
> >Thanks for the comment Glen,
> >
> >I checked the timing with an Oscilloscope and it's fine.  The pulses stay
> >for about 500nS (I'm using legacy GPIO mapping so it's slower).  A complete
> >write cycle takes 940nS.  If anything I think it may be too slow, but I've
> >seem this used with a 8051 (much slower) without any issues, unfortunately
> >I don't have the source code for that.  Maybe I'll try using FGPIO and see
> >if that makes a difference.
> >
> >Does anyone know of any alternatives to SED13305 (that's cheap?)
> >
> >Thanks!
> >
> >-- Sean
> >
> >At 07:15 2/16/2006, you wrote:
> > >Sean,
> > >
> > >I have used the SED 1335 in the past.  One thing that is too
> > >obvious is that the SED part is probably not the fastest thing
> > >in the world, and you may be exceeding it speed capability.
> > >
> > >I never had this problem with the Z80 family I was using at the
> > >time, but the new ARM chips are way too fast for the 1335, I do not
> > >know about the chip you are using.
> > >
> > >Just a thought.
> > >
> > >Glen
> > >
> > >
> > >Sean wrote:
> > >
> > > > Hello all,
> > > >
> > > > I am having an issue here and I hope someone has some suggestions.  I'm
> > > > trying to interface some LCDs to my micro, I have a graphical 128x64
> > which
> > > > has an embedded controller chip interfaced fine, using P1.16-P1.23 as
> > > 8-bit
> > > > parallel IO.  However when I try to hook up a SED13305 the data 
> seems to
> > > > get corrupted.  I'll issue a write to the device to store something in
> > > > VRAM, then immediately try to read it back.  Here's where things get
> > weird.
> > > >
> > > > If I try to use the WR and RD signals like they should be used (RD 
> always
> > > > high, Clear WR, Set Byte, Set WR), the write appears to work, however
> > > > repeated reads of the same memory area return different results each
> > > > time.  Enough reads show that the data was written 
> successfully.  However
> > > > if I modify only the write routine to use the WR and RD signals in a
> > > > different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear 
> RD) then
> > > > repeated reads return the same data every time, however bits 7:8 are
> > > always
> > > > "10".  Note that the read routine is the exact same both times.
> > > >
> > > > How is it possible to have a small change to the write routine 
> effect how
> > > > the read routine works?
> > > >
> > > > I have tried playing with timing to no avail.  I looked at everything
> > with
> > > > an oscilloscope and the timing and data look correct.  I've 
> verified all
> > > > connections with a multimeter. I have both the micro and the SED 
> running
> > > > off of 3.3V.  Note that if the SED is running at 5V then I get complete
> > > > garbage on read (meaning probably nothing worked), even though the SED
> > > says
> > > > it works from 2.7V to 5.5V.
> > > >
> > > > I think I'm going to have to try to make another test board, but 
> before I
> > > > run out to do that does anyone have any ideas as to why this is
> > happening?
> > > >
> > > > Thanks,
> > > >
> > > > -- Sean
> > > >
> > > >
> > > >
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >SPONSORED LINKS
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrol 
> ler>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller
> > 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> >
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrolle 
> rs&>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&
> > 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> >
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microco 
> ntr>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr
> > 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >
> > >microprocessors
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcon 
> tro>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro
> > 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >
> > >microcontrollers
> > >
> > >
> > >----------
> > >YAHOO! GROUPS LINKS
> > >
> > >    *  Visit your group
> > 
> "<<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> >
> > > on the web.
> > >    *
> > >    *  To unsubscribe from this group, send an email to:
> > >    *
> > >
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> > >
> > >    *
> > >    *  Your use of Yahoo! Groups is subject to the
> > >
> > 
> <<<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
>
> > Terms of Service.
> > >
> > >
> > >----------
> >
> >
> >
> >SPONSORED LINKS
> ><<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers& 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >microprocessors
> ><<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >microcontrollers
> >
> >
> >----------
> >YAHOO! GROUPS LINKS
> >
> >    *  Visit your group 
> "<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> > on the web.
> >    *
> >    *  To unsubscribe from this group, send an email to:
> >    *
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> >    *
> >    *  Your use of Yahoo! Groups is subject to the
> > 
> <<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
> Terms of Service.
> >
> >
> >----------
>
>----------------------------------------------------------
>demmel products
>Radnitzkygasse 43
>A-1100 Vienna / Austria / Europe
>Voice: +43-1-6894700-0
>Fax: +43-1-6894700-40
>Email: dh@...
>WWW: <http://www.demmel.com>http://www.demmel.com
>
>
>[Non-text portions of this message have been removed]
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>microprocessors
><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>microcontrollers
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

Re: [lpc2000] Problem LPC2148<->SED13305 (anyone know alternatives?)

2006-02-16 by Herbert Demmel

Sean,

At 12:22 16.02.2006 -0500, you wrote:
>Herbert:
>
>Yes, I did, thank you for your comment.

I just was unsure if you read my comment.


>I checked twice, the pins SEL1,SEL2 are both grounded, which indicates 8080
>mode.  I will check again to double check.  The reference design that I am
>using here originally had a NOT gate for the WR/RD signals so that they
>were always opposite each other, and then combined with an OR gated with CS
>(so WR/RD could only ever go low if CS was also low).  I have since removed
>these chips because I thought that they were causing part of the problem,
>but the behaviour is the same no matter what.  Maybe I'll try forcing it to
>6800 mode and see if it works any different.  Maybe I need to add a
>decoupling cap close to SEL1 or something.  Come to think of it, why are
>there 2 SEL pins if both configurations have SEL2 tied low?

I assume this is because of upwards compatibility.

Basically you even can tie the CS\ to GND and use RD\, WR\, A0, and D0...D7 
only. There is no maximum lenght for the RD\ and WR\ pulses (it even works 
on single stepping the uC and toggling the line with portio i/o functions).

I just wonder why you are using the S1D13305 (I think this is the correct 
name, the old name was SED1335), this chip normally is used for LCMs > 
128x64 only. A typical display controller for 128x64 is KS107/108 (although 
they are very slow). In the most cases (all cases I'm aware of if we speak 
about 128x64) you have the correct chip already on the LCM.

Regards
Herbert


>Thanks for the suggestions.
>
>-- Sean
>
>At 12:09 2/16/2006, you wrote:
> >Sean,
> >
> >did you read my comment about the 6800 and 8080 mode - resp. did you check
> >if you are running the correct mode?
> >
> >Herbert
> >
> >At 12:04 16.02.2006 -0500, you wrote:
> >
> > >Thanks for the comment Glen,
> > >
> > >I checked the timing with an Oscilloscope and it's fine.  The pulses stay
> > >for about 500nS (I'm using legacy GPIO mapping so it's slower).  A 
> complete
> > >write cycle takes 940nS.  If anything I think it may be too slow, but I've
> > >seem this used with a 8051 (much slower) without any issues, unfortunately
> > >I don't have the source code for that.  Maybe I'll try using FGPIO and see
> > >if that makes a difference.
> > >
> > >Does anyone know of any alternatives to SED13305 (that's cheap?)
> > >
> > >Thanks!
> > >
> > >-- Sean
> > >
> > >At 07:15 2/16/2006, you wrote:
> > > >Sean,
> > > >
> > > >I have used the SED 1335 in the past.  One thing that is too
> > > >obvious is that the SED part is probably not the fastest thing
> > > >in the world, and you may be exceeding it speed capability.
> > > >
> > > >I never had this problem with the Z80 family I was using at the
> > > >time, but the new ARM chips are way too fast for the 1335, I do not
> > > >know about the chip you are using.
> > > >
> > > >Just a thought.
> > > >
> > > >Glen
> > > >
> > > >
> > > >Sean wrote:
> > > >
> > > > > Hello all,
> > > > >
> > > > > I am having an issue here and I hope someone has some 
> suggestions.  I'm
> > > > > trying to interface some LCDs to my micro, I have a graphical 128x64
> > > which
> > > > > has an embedded controller chip interfaced fine, using P1.16-P1.23 as
> > > > 8-bit
> > > > > parallel IO.  However when I try to hook up a SED13305 the data
> > seems to
> > > > > get corrupted.  I'll issue a write to the device to store 
> something in
> > > > > VRAM, then immediately try to read it back.  Here's where things get
> > > weird.
> > > > >
> > > > > If I try to use the WR and RD signals like they should be used (RD
> > always
> > > > > high, Clear WR, Set Byte, Set WR), the write appears to work, however
> > > > > repeated reads of the same memory area return different results each
> > > > > time.  Enough reads show that the data was written
> > successfully.  However
> > > > > if I modify only the write routine to use the WR and RD signals in a
> > > > > different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear
> > RD) then
> > > > > repeated reads return the same data every time, however bits 7:8 are
> > > > always
> > > > > "10".  Note that the read routine is the exact same both times.
> > > > >
> > > > > How is it possible to have a small change to the write routine
> > effect how
> > > > > the read routine works?
> > > > >
> > > > > I have tried playing with timing to no avail.  I looked at everything
> > > with
> > > > > an oscilloscope and the timing and data look correct.  I've
> > verified all
> > > > > connections with a multimeter. I have both the micro and the SED
> > running
> > > > > off of 3.3V.  Note that if the SED is running at 5V then I get 
> complete
> > > > > garbage on read (meaning probably nothing worked), even though 
> the SED
> > > > says
> > > > > it works from 2.7V to 5.5V.
> > > > >
> > > > > I think I'm going to have to try to make another test board, but
> > before I
> > > > > run out to do that does anyone have any ideas as to why this is
> > > happening?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > -- Sean
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Yahoo! Groups Links
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >SPONSORED LINKS
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcont 
> rol>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrol
> > 
> ler><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller
> > >
> > 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ><<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> >
> > >
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontro 
> lle>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrolle
> > 
> rs&><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&
> > >
> > 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA><<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> >
> > >
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Micr 
> oco>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microco
> > 
> ntr><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr
> > >
> > 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw><<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >
> > >
> > > >microprocessors
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Micro 
> con>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcon
> > 
> tro><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro
> > >
> > 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw><<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >
> > >
> > > >microcontrollers
> > > >
> > > >
> > > >----------
> > > >YAHOO! GROUPS LINKS
> > > >
> > > >    *  Visit your group
> > >
> > 
> "<<<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> >
> > >
> > > > on the web.
> > > >    *
> > > >    *  To unsubscribe from this group, send an email to:
> > > >    *
> > > >
> > >
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> > >
> > > >
> > > >    *
> > > >    *  Your use of Yahoo! Groups is subject to the
> > > >
> > >
> > 
> <<<<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
>
> >
> > > Terms of Service.
> > > >
> > > >
> > > >----------
> > >
> > >
> > >
> > >SPONSORED LINKS
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrol 
> ler>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller
> > 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> >
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrolle 
> rs&>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&
> > 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> >
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microco 
> ntr>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr
> > 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >
> > >microprocessors
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcon 
> tro>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro
> > 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >
> > >microcontrollers
> > >
> > >
> > >----------
> > >YAHOO! GROUPS LINKS
> > >
> > >    *  Visit your group
> > 
> "<<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> >
> > > on the web.
> > >    *
> > >    *  To unsubscribe from this group, send an email to:
> > >    *
> > >
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> > >
> > >    *
> > >    *  Your use of Yahoo! Groups is subject to the
> > >
> > 
> <<<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
>
> > Terms of Service.
> > >
> > >
> > >----------
> >
> >----------------------------------------------------------
> >demmel products
> >Radnitzkygasse 43
> >A-1100 Vienna / Austria / Europe
> >Voice: +43-1-6894700-0
> >Fax: +43-1-6894700-40
> >Email: dh@...
> >WWW: <<http://www.demmel.com>http://www.demmel.com>http://www.demmel.com
> >
> >
> >[Non-text portions of this message have been removed]
> >
> >
> >
> >SPONSORED LINKS
> ><<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers& 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >microprocessors
> ><<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >microcontrollers
> >
> >
> >----------
> >YAHOO! GROUPS LINKS
> >
> >    *  Visit your group 
> "<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> > on the web.
> >    *
> >    *  To unsubscribe from this group, send an email to:
> >    *
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> >    *
> >    *  Your use of Yahoo! Groups is subject to the
> > 
> <<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
> Terms of Service.
> >
> >
> >----------
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>microprocessors
><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>microcontrollers
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

----------------------------------------------------------
demmel products
Radnitzkygasse 43
A-1100 Vienna / Austria / Europe
Voice: +43-1-6894700-0
Fax: +43-1-6894700-40
Email: dh@...
WWW: http://www.demmel.com


[Non-text portions of this message have been removed]

Re: [lpc2000] Problem LPC2148<->SED13305 (anyone know alternatives?)

2006-02-16 by Herbert Demmel

Sean,

At 12:22 16.02.2006 -0500, you wrote:
>Herbert:
>
>Yes, I did, thank you for your comment.

I just was unsure if you read my comment.


>I checked twice, the pins SEL1,SEL2 are both grounded, which indicates 8080
>mode.  I will check again to double check.  The reference design that I am
>using here originally had a NOT gate for the WR/RD signals so that they
>were always opposite each other, and then combined with an OR gated with CS
>(so WR/RD could only ever go low if CS was also low).  I have since removed
>these chips because I thought that they were causing part of the problem,
>but the behaviour is the same no matter what.  Maybe I'll try forcing it to
>6800 mode and see if it works any different.  Maybe I need to add a
>decoupling cap close to SEL1 or something.  Come to think of it, why are
>there 2 SEL pins if both configurations have SEL2 tied low?

I assume this is because of upwards compatibility.

Basically you even can tie the CS\ to GND and use RD\, WR\, A0, and D0...D7 
only. There is no maximum lenght for the RD\ and WR\ pulses (it even works 
on single stepping the uC and toggling the line with portio i/o functions).

I just wonder why you are using the S1D13305 (I think this is the correct 
name, the old name was SED1335), this chip normally is used for LCMs > 
128x64 only. A typical display controller for 128x64 is KS107/108 (although 
they are very slow). In the most cases (all cases I'm aware of if we speak 
about 128x64) you have the correct chip already on the LCM.

Regards
Herbert


>Thanks for the suggestions.
>
>-- Sean
>
>At 12:09 2/16/2006, you wrote:
> >Sean,
> >
> >did you read my comment about the 6800 and 8080 mode - resp. did you check
> >if you are running the correct mode?
> >
> >Herbert
> >
> >At 12:04 16.02.2006 -0500, you wrote:
> >
> > >Thanks for the comment Glen,
> > >
> > >I checked the timing with an Oscilloscope and it's fine.  The pulses stay
> > >for about 500nS (I'm using legacy GPIO mapping so it's slower).  A 
> complete
> > >write cycle takes 940nS.  If anything I think it may be too slow, but I've
> > >seem this used with a 8051 (much slower) without any issues, unfortunately
> > >I don't have the source code for that.  Maybe I'll try using FGPIO and see
> > >if that makes a difference.
> > >
> > >Does anyone know of any alternatives to SED13305 (that's cheap?)
> > >
> > >Thanks!
> > >
> > >-- Sean
> > >
> > >At 07:15 2/16/2006, you wrote:
> > > >Sean,
> > > >
> > > >I have used the SED 1335 in the past.  One thing that is too
> > > >obvious is that the SED part is probably not the fastest thing
> > > >in the world, and you may be exceeding it speed capability.
> > > >
> > > >I never had this problem with the Z80 family I was using at the
> > > >time, but the new ARM chips are way too fast for the 1335, I do not
> > > >know about the chip you are using.
> > > >
> > > >Just a thought.
> > > >
> > > >Glen
> > > >
> > > >
> > > >Sean wrote:
> > > >
> > > > > Hello all,
> > > > >
> > > > > I am having an issue here and I hope someone has some 
> suggestions.  I'm
> > > > > trying to interface some LCDs to my micro, I have a graphical 128x64
> > > which
> > > > > has an embedded controller chip interfaced fine, using P1.16-P1.23 as
> > > > 8-bit
> > > > > parallel IO.  However when I try to hook up a SED13305 the data
> > seems to
> > > > > get corrupted.  I'll issue a write to the device to store 
> something in
> > > > > VRAM, then immediately try to read it back.  Here's where things get
> > > weird.
> > > > >
> > > > > If I try to use the WR and RD signals like they should be used (RD
> > always
> > > > > high, Clear WR, Set Byte, Set WR), the write appears to work, however
> > > > > repeated reads of the same memory area return different results each
> > > > > time.  Enough reads show that the data was written
> > successfully.  However
> > > > > if I modify only the write routine to use the WR and RD signals in a
> > > > > different (wrong) way (Clear WR, Set RD, Set Byte, Set WR, Clear
> > RD) then
> > > > > repeated reads return the same data every time, however bits 7:8 are
> > > > always
> > > > > "10".  Note that the read routine is the exact same both times.
> > > > >
> > > > > How is it possible to have a small change to the write routine
> > effect how
> > > > > the read routine works?
> > > > >
> > > > > I have tried playing with timing to no avail.  I looked at everything
> > > with
> > > > > an oscilloscope and the timing and data look correct.  I've
> > verified all
> > > > > connections with a multimeter. I have both the micro and the SED
> > running
> > > > > off of 3.3V.  Note that if the SED is running at 5V then I get 
> complete
> > > > > garbage on read (meaning probably nothing worked), even though 
> the SED
> > > > says
> > > > > it works from 2.7V to 5.5V.
> > > > >
> > > > > I think I'm going to have to try to make another test board, but
> > before I
> > > > > run out to do that does anyone have any ideas as to why this is
> > > happening?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > -- Sean
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Yahoo! Groups Links
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >SPONSORED LINKS
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcont 
> rol>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrol
> > 
> ler><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller
> > >
> > 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ><<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> >
> > >
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontro 
> lle>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrolle
> > 
> rs&><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&
> > >
> > 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA><<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> >
> > >
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Micr 
> oco>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microco
> > 
> ntr><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr
> > >
> > 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw><<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >
> > >
> > > >microprocessors
> > > ><<<<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Micro 
> con>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcon
> > 
> tro><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro
> > >
> > 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw><<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >
> > >
> > > >microcontrollers
> > > >
> > > >
> > > >----------
> > > >YAHOO! GROUPS LINKS
> > > >
> > > >    *  Visit your group
> > >
> > 
> "<<<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> >
> > >
> > > > on the web.
> > > >    *
> > > >    *  To unsubscribe from this group, send an email to:
> > > >    *
> > > >
> > >
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> > >
> > > >
> > > >    *
> > > >    *  Your use of Yahoo! Groups is subject to the
> > > >
> > >
> > 
> <<<<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
>
> >
> > > Terms of Service.
> > > >
> > > >
> > > >----------
> > >
> > >
> > >
> > >SPONSORED LINKS
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrol 
> ler>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller
> > 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> >
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrolle 
> rs&>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&
> > 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> >
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microco 
> ntr>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr
> > 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >
> > >microprocessors
> > ><<<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcon 
> tro>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro
> > 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >
> > >microcontrollers
> > >
> > >
> > >----------
> > >YAHOO! GROUPS LINKS
> > >
> > >    *  Visit your group
> > 
> "<<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> >
> > > on the web.
> > >    *
> > >    *  To unsubscribe from this group, send an email to:
> > >    *
> > >
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> > >
> > >    *
> > >    *  Your use of Yahoo! Groups is subject to the
> > >
> > 
> <<<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
>
> > Terms of Service.
> > >
> > >
> > >----------
> >
> >----------------------------------------------------------
> >demmel products
> >Radnitzkygasse 43
> >A-1100 Vienna / Austria / Europe
> >Voice: +43-1-6894700-0
> >Fax: +43-1-6894700-40
> >Email: dh@...
> >WWW: <<http://www.demmel.com>http://www.demmel.com>http://www.demmel.com
> >
> >
> >[Non-text portions of this message have been removed]
> >
> >
> >
> >SPONSORED LINKS
> ><<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontroller 
> s&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers& 
> w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
>
> ><<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontr 
> ollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>
> >microprocessors
> ><<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontro 
> llers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>
> >microcontrollers
> >
> >
> >----------
> >YAHOO! GROUPS LINKS
> >
> >    *  Visit your group 
> "<<http://groups.yahoo.com/group/lpc2000>http://groups.yahoo.com/group/lpc2000>lpc2000" 
>
> > on the web.
> >    *
> >    *  To unsubscribe from this group, send an email to:
> >    *
> > 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
> >
> >    *
> >    *  Your use of Yahoo! Groups is subject to the
> > 
> <<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! 
> Terms of Service.
> >
> >
> >----------
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>microprocessors
><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>microcontrollers
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

----------------------------------------------------------
demmel products
Radnitzkygasse 43
A-1100 Vienna / Austria / Europe
Voice: +43-1-6894700-0
Fax: +43-1-6894700-40
Email: dh@...
WWW: http://www.demmel.com


[Non-text portions of this message have been removed]

Re: [lpc2000] Problem talking LPC2148<->SED13305

2006-02-18 by 3gpabko

Hi Sean,
do you make a proper initialization of S1D13305?
I mean before to write to the memory. Have you issue
commands SystemSet, ScrollToAddress and etc. with
proper parameters?



--- Sean <embeddedrelated@...> wrote:

> Hello all,
> 
> I am having an issue here and I hope someone has
> some suggestions.  I'm 
> trying to interface some LCDs to my micro, I have a
> graphical 128x64 which 
> has an embedded controller chip interfaced fine,
> using P1.16-P1.23 as 8-bit 
> parallel IO.  However when I try to hook up a
> SED13305 the data seems to 
> get corrupted.  I'll issue a write to the device to
> store something in 
> VRAM, then immediately try to read it back.  Here's
> where things get weird.
> 
> If I try to use the WR and RD signals like they
> should be used (RD always 
> high, Clear WR, Set Byte, Set WR), the write appears
> to work, however 
> repeated reads of the same memory area return
> different results each 
> time.  Enough reads show that the data was written
> successfully.  However 
> if I modify only the write routine to use the WR and
> RD signals in a 
> different (wrong) way (Clear WR, Set RD, Set Byte,
> Set WR, Clear RD) then 
> repeated reads return the same data every time,
> however bits 7:8 are always 
> "10".  Note that the read routine is the exact same
> both times.
> 
> How is it possible to have a small change to the
> write routine effect how 
> the read routine works?
> 
> I have tried playing with timing to no avail.  I
> looked at everything with 
> an oscilloscope and the timing and data look
> correct.  I've verified all 
> connections with a multimeter. I have both the micro
> and the SED running 
> off of 3.3V.  Note that if the SED is running at 5V
> then I get complete 
> garbage on read (meaning probably nothing worked),
> even though the SED says 
> it works from 2.7V to 5.5V.
> 
> I think I'm going to have to try to make another
> test board, but before I 
> run out to do that does anyone have any ideas as to
> why this is happening?
> 
> Thanks,
> 
> -- Sean
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Re: [lpc2000] Problem talking LPC2148<->SED13305

2006-02-20 by Sean

Yes, I have issued the init properly, however I don't know if the chip is 
receiving the commands correctly.  Either way I don't think that you need 
full init to get access to video ram (other than setting the 
pages).  Before every read or write command I send the Set Cursor command, 
so that's fine.  Since enough reads will show that every byte was set 
successfully I think the problem is on read, not write, but then this 
doesn't explain why I'm not seeing anything displayed on the screen at 
all.  I still haven't figured out what is going on yet.

I just don't understand how changing the WRITE sequence can cause repeated 
READs to return varying data.  The only thing I can think of is there must 
be some voltage issues somewhere.  When I try running the SED chip off of 
5V I just get garbage on every read, which is pretty strange.  The VRAM I'm 
currently using requires 5V, but regardless if I power it off of 3.3V or 5V 
I get the same response, leading me to think that the VRAM isn't the 
issue.  However I don't understand why the system doesn't work when I try 
running it off of 5V.

Anyway thanks for the suggestions.  I may have to go back to the drawing 
board on this one.

-- Sean

At 14:29 2/18/2006, you wrote:
Show quoted textHide quoted text
>Hi Sean,
>do you make a proper initialization of S1D13305?
>I mean before to write to the memory. Have you issue
>commands SystemSet, ScrollToAddress and etc. with
>proper parameters?
>
>
>
>--- Sean <embeddedrelated@...> wrote:
>
> > Hello all,
> >
> > I am having an issue here and I hope someone has
> > some suggestions.  I'm
> > trying to interface some LCDs to my micro, I have a
> > graphical 128x64 which
> > has an embedded controller chip interfaced fine,
> > using P1.16-P1.23 as 8-bit
> > parallel IO.  However when I try to hook up a
> > SED13305 the data seems to
> > get corrupted.  I'll issue a write to the device to
> > store something in
> > VRAM, then immediately try to read it back.  Here's
> > where things get weird.
> >
> > If I try to use the WR and RD signals like they
> > should be used (RD always
> > high, Clear WR, Set Byte, Set WR), the write appears
> > to work, however
> > repeated reads of the same memory area return
> > different results each
> > time.  Enough reads show that the data was written
> > successfully.  However
> > if I modify only the write routine to use the WR and
> > RD signals in a
> > different (wrong) way (Clear WR, Set RD, Set Byte,
> > Set WR, Clear RD) then
> > repeated reads return the same data every time,
> > however bits 7:8 are always
> > "10".  Note that the read routine is the exact same
> > both times.
> >
> > How is it possible to have a small change to the
> > write routine effect how
> > the read routine works?
> >
> > I have tried playing with timing to no avail.  I
> > looked at everything with
> > an oscilloscope and the timing and data look
> > correct.  I've verified all
> > connections with a multimeter. I have both the micro
> > and the SED running
> > off of 3.3V.  Note that if the SED is running at 5V
> > then I get complete
> > garbage on read (meaning probably nothing worked),
> > even though the SED says
> > it works from 2.7V to 5.5V.
> >
> > I think I'm going to have to try to make another
> > test board, but before I
> > run out to do that does anyone have any ideas as to
> > why this is happening?
> >
> > Thanks,
> >
> > -- Sean
> >
> >
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
><http://mail.yahoo.com>http://mail.yahoo.com
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>Intel 
>microprocessors
><http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>Pic 
>microcontrollers
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.