LPC link and EM773

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC link and EM773

4,252件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by milanche on Fri Jan 14 03:04:06 MST 2011
Is it possible to connect LPC Link (from LPCXpresso 1114 board) with EM773 development system?
It seems to me that I just have to connect swdio, swclk, reset and GND and everything should work.
I need it just for basic evaluation of EM773.
What is good solution for later development regarding programmer/debuger for EM773?
Thanks
0 件の賞賛
返信
30 返答(返信)

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by marcoo on Mon Sep 26 06:22:25 MST 2011
Hello,

my IAR, now compile the project. The problem is to import the projects between different versions of IAR. The build settings are not correctly inport.

They are my settings:

in Option -> C/C++ Compiler -> Prepocessor -> Additional include directories  :

$PROJ_DIR$\..\..\SYSTEM\EM7XX\
$PROJ_DIR$\..\..\CMSIS\CM0\CoreSupport\
$PROJ_DIR$\..\..\CMSIS\CM0\DeviceSupport\EM7XX\
$PROJ_DIR$\..\..\OS\
$PROJ_DIR$\..\..\OS\FreeRTOS\Source\include
$PROJ_DIR$\..\..\OS\FreeRTOS\Source\portable\IAR\ARM_CM0
$PROJ_DIR$\src\
$PROJ_DIR$\BSP\
$PROJ_DIR$\..\..\LIB\
$PROJ_DIR$\..\COMMON\
$PROJ_DIR$\..\..\DRIVERS\COMMON\
$PROJ_DIR$\..\..\DRIVERS\GPIO\
$PROJ_DIR$\..\..\DRIVERS\OL2381\
$PROJ_DIR$\..\..\DRIVERS\UART\
$PROJ_DIR$\..\..\DRIVERS\WDT\
$PROJ_DIR$\..\..\DRIVERS\I2C\

in Option -> C/C++ Compiler -> Prepocessor -> Defined Symbols  :

NDEBUG
OS_FREE_RTOS
IAR_BUILD_ENV
IAR_ARM_CC

If I have a new (blank) EM773 chips, I can program it with the FTDI converter?

Regards
Marco
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Sep 24 14:52:54 MST 2011
Sounds like no one out there is really using this chip :mad:

Is this another famous PR campaign :confused:

Wasn't there a rumor that Code Red is integrating EM773 in LPCXpresso :eek:
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ktownsend on Sat Sep 24 14:35:56 MST 2011
Tried this myself with IAR 6.21 and there are definately some issues with the project trying to compile out of the box.  I've previously spoken with the person responsible for this at NXP ... I'll drop him a line and let him know.
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by marcoo on Sat Sep 24 08:05:25 MST 2011
Thank you very much for your support.
I opened the project with IAR Embedded Workbench 6.10.1 but I have many compilation errors. type:

....

Fatal Error[Pe1696]: cannot open source file "rtk.h" C:\Users\marco\Desktop\Nuova cartella\APP\switchable_plugmeter\src\app.c 57
            searched: "C:\Users\marco\Desktop\Nuova cartella\APP\switchable_plugmeter\src\"
            searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\inc\.\"
            searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\inc\c\"
Error while running C/C++ Compiler

....

Total number of errors: 36
Total number of warnings: 0

What's wrong? can you help me?

Marco
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Sep 23 12:01:15 MST 2011
Did you download and install EM773 SDK?

http://ics.nxp.com/support/design/microcontrollers/smart.metering/zip/em773.sdk.zip

See: http://ics.nxp.com/support/design/microcontrollers/smart.metering/
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by neal.frager on Fri Sep 23 11:59:10 MST 2011
Hello Marco,

If you download and install SDK 1.2 from the link you highlight, you will have all of the software for the plug meter and the USB dongle that come with the kit.  The software is designed with IAR Embedded Workbench 6.10.

There is also a Getting Started Guide PDF included with the install that describes how the software is organized and how to run the demo.

I hope this helps!

Best regards,
Neal Frager
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by marcoo on Fri Sep 23 11:50:48 MST 2011
Hi, I'm very interested in plug Meter EM773. I want to use this chip in one application but I do not understand how to program the micro.
There is a sdk? On the site (http://ics.nxp.com/support/design/microcontrollers/smart.metering/) are not able to find the source code of the firmware. where can I find them?
greetings
Marco
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mrmark on Fri Apr 15 13:06:44 MST 2011
To Neal Frager:
Hi I want to tell you a question.
I'd like to use this power meter to measure the input power entity of a photovoltaic panel plant.
If  I modify the circuit of sensing the input AC current (short circuiting the high pass capacitors C25 and C26 in the Plug meter circuit) could the circuit work well to do this kind of job?
If couldn't, how should I modify the hardware and eventually the sw to do this type of measure?
Thank you very much for your support.
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by macla on Mon Apr 11 03:48:37 MST 2011
Hi
I just read (http://www.all-electronics.de/texte/anzeigen/41235) that the metrology engine may be used together with the LPC1227. Does a description of how to that exist? What pins are used (the EM773 have dedicated pins)
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Mar 22 11:55:18 MST 2011

Quote: igorsk
Hmm, so current Code Red is not EABI compliant? How come?



Yes, our tools are EABI compliant. Neal's comment was a somewhat simplistic assessment of the issue of linking NXP's metrology library with code built with the current 3.6.x tools. However we believe that the forthcoming Red Suite 4 should solve this issue.

Regards,
CodeRedSupport
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by igorsk on Tue Mar 22 04:18:55 MST 2011
Hmm, so current Code Red is not EABI compliant? How come?
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by neal.frager on Tue Mar 22 03:20:51 MST 2011
Hello Martin,

Here are some answers to your questions about the EM773.

1. Right now, we are waiting on Code Red Xpresso version 4 which will be EABI compliant.  This will allow for rebuilding the IAR based SDK without needing to modify the actual metrology engine driver library.  Once version 4 is released from Code Red, you are welcome to try porting the SDK over to Xpresso.  At the moment, an official NXP porting effort has not yet been commissioned.

2. Yes, J-Link lite and any other JTAG emulator that works with IAR EWARM will work with our EM773 plug meter development kit.

3. The plug meter has a bi-directional radio included with the OL2381 and a bi-directional wireless M-Bus T2 mode software stack running on the EM773 CPU.  This enables the PC software to send messages back to the plug meters.  The point of the relay is to enable remotely turning on or off the power to whatever is plugged into the plug meter.  This relay can be removed entirely, if not needed, as it is an optional function for the EM773.  Other options include replacing the relay with a dimmer, as the EM773 could potentially support dimming of lighting solutions as well.

I hope this helps, and please let us know if you have additional questions.

Best regards,
Neal Frager
NXP Semiconductors
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by macla on Tue Mar 22 02:48:15 MST 2011
Being interested in the EM773 I have some questions I hope someone can help to answer:

1) Will the SDK be ported to LPCXpresso IDE from Code Red? If so, when? The Code Red support team wrote to me that they have no immediate plans to support the EM773 and if I would like it to be supported I should contact NXP. Well I would like that :)

2) If using IAR what debug probes are supported? Looking at the schematics I see only a 10-pin connector. Will e.g. IAR J-link lite for ARM work?

3) The plugmeter includes a relay that takes up a lot of space. Can someone explain to me what it is used for? Browsing through the code it seems to be used in some calibration rutine. But can one do without?

\Martin

Quote: neal.frager
I saw this thread and I believe this needs some clear clarification.  Yes, it is possible to use LPC Link with an EM773, but there are currently restrictions.

1. From a JTAG perspective, either Red Suite or Xpresso can connect to an EM773.  Very soon, I believe the EM773 configuration will be added to the supported part number list.

2. But the EM773 is not a general purpose MCU.  To make use of the metrology engine inside, there is an SDK on the EM773 product page below.  This SDK currently only supports IAR EWARM as the host IDE.

http://www.nxp.com/smartmetering

3. Inside the SDK, all of the software is open source for the EM773 plug meter and the LPC1343 USB dongle, except for the driver library for the metrology engine.  So even if someone wanted to port this SDK to Red Suite or Xpresso, they would be successful in porting the wireless communication software and all the code for the LPC1343 USB dongle, but would be unable to port the metrology engine library in it's current form.

The good news is that I work for NXP and am responsible for the EM773 product as well.  If there are enough users out there that would really prefer to use Xpresso or Red Suite as the IDE instead of IAR EWARM, I can work on getting the SDK properly ported, so that Xpresso and LPC Link could be used.

If anyone sees this support as a requirement for using the EM773, please respond to this thread and let me know.

Neal Frager

0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RatonVaquero on Sat Mar 12 10:41:05 MST 2011
great!

thanks
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by neal.frager on Sat Mar 12 09:53:21 MST 2011
To be complete, the version with the EU plug has part number OM13006.  The two kits are actually identical except for the physical plug, as they both support 90-270 and 50/60 Hz.  In Europe, the kits are also available through the same distributors, Arrow, Avnet (both EBV and Silica) and Future.

Best regards,
Neal Frager
NXP Semiconductors
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by neal.frager on Sat Mar 12 09:49:50 MST 2011
The EM773 plug meter development kit with the US plug has part number OM13005 and is available from Arrow, Avnet or Future in the US.  I am not sure why Mouser and Digikey have not purchased stock from NXP yet, but they are welcome to do so as well.

I hope this helps!

Best regards,
Neal Frager
NXP Semiconductors
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RatonVaquero on Sat Mar 12 09:45:53 MST 2011
Does anybody know where to buy the kit in the US?
I could not find it on Mouser or  Digikey...

thanks
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by neal.frager on Fri Mar 11 01:21:03 MST 2011
In addition, we have created some debug kits for connecting SWD debug to the LPC1343 USB dongle.  We are in the process of shipping these kits to our board store in Hong Kong, and they will have an OMxxxxx part number like all of our other development boards.  Once these are released, we plan to put an application note explaining how to use them on our EM773 product page.

EM773 Product Page:
http://www.nxp.com/smartmetering

But in the mean time, if you are in a hurry, the connectors mentioned below should work.

I hope this helps!

Best regards,
Neal Frager



Quote: Pat
Yes the appropriate cable for the OL2381/LPC1343 usb dongle indeed is:
http://uk.farnell.com/molex/98267-0233/cable-flat-ffc-8way-152mm/dp/1079968?Ntt=1079968

The appropriate connector is:
http://uk.farnell.com/jst-japagn-solderless-terminals/08fms-1-0sp-tf-lf-sn/socket-ffc-side-lif-1mm-8...

0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pat on Fri Mar 11 01:12:41 MST 2011

Quote: KTownsend
I got a couple of the OL2381/1343 USB keys from this kit in the mail today, but what is the intended cable to hook something up to the connector for SWD/UART? I could just pull the SMT connector off and soldering some wirewrap on their to connect it to something, but if there's a part number for a cable I can insert I can probably just order a couple from Digikey or Mouser?

Update: This seems to be the appropriate cable? http://uk.farnell.com/molex/98267-0233/cable-flat-ffc-8way-152mm/dp/1079968?Ntt=1079968



Yes the appropriate cable for the OL2381/LPC1343 usb dongle indeed is:
http://uk.farnell.com/molex/98267-0233/cable-flat-ffc-8way-152mm/dp/1079968?Ntt=1079968

The appropriate connector is:
http://uk.farnell.com/jst-japan-solderless-terminals/08fms-1-0sp-tf-lf-sn/socket-ffc-side-lif-1mm-8w...
0 件の賞賛
返信

3,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by neal.frager on Tue Feb 01 01:43:59 MST 2011
LPC Xpresso Forum,

I am pleased to announce that we have released the EM773 SDK 1.2 to the web.  Along with this release, we have also added a note below the release regarding the license agreement.  The intention of the note is to be clear that we encourage all of our EM773 customers to use and modify the open source software that is part of the SDK.  Please update with the latest SDK 1.2 below.

EM773 Product Page:
http://www.nxp.com/smartmetering

License Agreement Note:
"Please note that the metrology engine driver library included in the "LIB" directory of the SDK may not be modified. All other open source example code included in the SDK is free for users to modify and distribute with their own EM773 based products. Please carefully review the license agreement included with the EM773 SDK for details."

Best regards,
Neal Frager
0 件の賞賛
返信