Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #22677

LPC1114 Serial Init translated from c to forth issue

Newsgroups comp.lang.forth
Date 2013-05-16 07:37 -0700
Message-ID <ca6c0939-9608-48aa-92cc-c48639fb5dcf@googlegroups.com> (permalink)
Subject LPC1114 Serial Init translated from c to forth issue
From "Clyde W. Phillips Jr." <cwpjr02@gmail.com>

Show all headers | View raw


Sorry, many don't translate c to forth and many don't do arm and even if you did both this particular ARM chip is unlikely but I have a FORTH that needs to talk!

The LPC1114 is from NXP and they have a usb stick eval board and a eclipse development ide supporting c/c++.

Their example serial code works, using interrupts. My FORTH needs to talk polled i/o. The serial init routine is what I translated, without the interrupt part, and I added send a char at the end. This doesn't work.

If anyone has created code you can share to init this serial port for polling i/o I'd appreciate using it.

Less likely if you would review my translation I would be most grateful as I have no friends who code at all.

Hope to here from a few of you in the forum

Clyde

Back to comp.lang.forth | Previous | NextNext in thread | Find similar


Thread

LPC1114 Serial Init translated from c to forth issue "Clyde W. Phillips Jr." <cwpjr02@gmail.com> - 2013-05-16 07:37 -0700
  Re: LPC1114 Serial Init translated from c to forth issue "Elizabeth D. Rather" <erather@forth.com> - 2013-05-16 11:30 -1000
  Re: LPC1114 Serial Init translated from c to forth issue David Schultz <abuse@127.0.0.1> - 2013-05-16 18:12 -0500
  Re: LPC1114 Serial Init translated from c to forth issue stephenXXX@mpeforth.com (Stephen Pelc) - 2013-05-17 10:05 +0000
  Re: LPC1114 Serial Init translated from c to forth issue "Clyde W. Phillips Jr." <cwpjr02@gmail.com> - 2013-05-17 17:57 -0700

csiph-web