Strange behaviour using my hardware.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Strange behaviour using my hardware.

1,561 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Sun Jun 16 16:09:57 MST 2013
My LPC1114FD/102 board is simular to the NXP 1114 board but without external xtal.

So I modified the UART demo to use the IRC and it downloads fine.

But it will not echo chars thru the uart until I disconnect the usb from the lpc-link (cut board). :(

Anybody see this?

My application using same uart demo code (w/o) interrupts works on NXP board.
On the nxp board it puts out a signon message and then does an interpreter...
Downloads to my hardware of the same code will also not respond until I disconnect the usb from the LPC-Link cut board, and even then does not put out signon msg or interpret.
Instead it just echos imput like the uart demo. Even after I erase flash and redownload.

:confused:
0 Kudos
Reply
8 Replies

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Mon Jun 17 17:36:19 MST 2013
RE: Suggestion to solder out LPCxpresso Demo Boards xtal... WHOA SILVER!

The same frequency xtal (12mhz, as the IRC) is used: WTF?
Would not the external xtal reflect on clkout a finer PPM resolution than the IRC?  Both external and IRC are *12 mhz*.

If not why have a same frequency external XTAL? :)

And why suggest a destructive method first?
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Mon Jun 17 16:52:52 MST 2013
Thanks for the statement of your objectives, R2D2. I will respond accordingly.
vasanth: Yes I am able to download and debug my code and UART example code. The UART comm didn't work with either while connected / debugging...

Yet unconnected it acted only like the UART example, which simple echoes received chars... which fooled me for a bit!

Soooooo.

I'll suggest to close this thread as I have derived new information re: my board that should allow me to get past this issue.

My uart traces are in loopback mode... somehow. I will figure it out shortly but bottom line is that unconnected and when RST and ISP are not grounded my terminal program echos chars just like the UART example does....

Except I can change baud rate in the terminal program and keep on looking like the UART example... echoing away at any baud without changing anything... :D
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun Jun 16 19:37:16 MST 2013

Quote: cwpjr
Are you telling me that a sw cannot select the clock source if an external xtal is present?


No. I'm trying to generate informations. You are telling me that your board is identically equal to LPCXpresso target board. And I'm asking you if you have proved that.
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Sun Jun 16 19:12:47 MST 2013
It seems like power supply related problem.
How are you powering your application board? Are you using a separate power supply or is it via LPC-Link? Can you debug your application board using LPC-Link?
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Sun Jun 16 17:41:16 MST 2013
Are you telling me that a sw cannot select the clock source if an external xtal is present?
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun Jun 16 17:08:36 MST 2013

Quote: R2D2
:confused:

What is 'NXP Board'?  LPCXpresso target board? [COLOR=Red]Did you solder out the crystal?[/COLOR]

You are not providing much informations. No hardware schematic to review, no sample project to run. So the answer is: you made a mistake somewhere.



Then solder out crystal of LPCXpresso target board. If it behaves like your board you have the same hardware.
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Sun Jun 16 16:44:05 MST 2013
R2D2: What is 'NXP Board'?  LPCXpresso target board? Did you solder out the crystal?

Board is OM11049 LPCXpresso target board. And no I did not modify it. I modified the 1114 UART DEMO sw to use the IRC instead of the external xtal, as I pointed out already. That matches my board.

That modified sw loads on the my board and the LPCXpresso target board...

YET ON MY BOARD RUNS ONLY if I disconnect the USB from the LPC-LINK board.
0 Kudos
Reply

1,554 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun Jun 16 16:31:56 MST 2013

Quote: cwpjr
My application using same uart demo code (w/o) interrupts works on NXP board.
:confused:



:confused:

What is 'NXP Board'?  LPCXpresso target board? Did you solder out the crystal?

You are not providing much informations. No hardware schematic to review, no sample project to run. So the answer is: you made a mistake somewhere.
0 Kudos
Reply