To Forum:
I have received assistance from several Forum members and thought it was time to contribute something.
Several Forum Questions were 'where to but a XEP100 Demo PCB compatible with Code Warrior (CW)'. I know
of two, one from SofTec and one from Technologocal Atrs. I purchased on from the latter and it works fine,
although a USBMD Translator download is required to be compatible with TecArts Serial Interface.
I have experienced several problems with theXGATE Ref Manual. It is poorly written, contains errors and requires
a major rewrite. Once these pitfalls are over comeXGATE Excels as a Serial Interface (reducing CPU overhead
as Freescale insinuates).
However Freescale offers no examples of using XGATE as a Serial Controller (Except for one that is totally
useless) and several Forum questions have asked for valid examples. I had the need to translate an Industrial
Communication program to XGATE, in case a HCS12(X) MPU could be used to replace and existing MPU.
At the request of serval embedded programmer friends I extracted a simple XGATE Transceiver program and
rewrote it as a Tutorial. They, and several others, have stated this took some of the mystery (and errors) out of
the RM, was the only example program they could find, and suggest that I provide it on the Forum.
The attached ASSEMBLY Language CWv5.1 Project using PE's Full Simulation Model that requires no MPU.
Although it is simple and can be improved it demonstrates all procedures necessary for a full blown Transceiver.
It is offered as is and you may bend it, stable it, modify it or kill it as you desire.
I welcome any comment the Forum may have (except spelling).
I have enclosed a ZIP and aRAR file, both are identical.
I have updated the Directory of the files as of 1:30 25 May - You should download the new Enclosures...
Regards
Leonard
Original Attachment has been moved to: XG_SERIAL_TUTORIAL.zip
Original Attachment has been moved to: XG_SERIAL_TUTORIAL.rar.zip
Great job Leonard, we're lucky to have you as a contributor of Freescale!
THANKS! :smileygrin:
Thanks for your response Monica. I'm glad someone 'got' something out of the Example (and speaks Assembly Language).
I noticed that most (on the Forum) uses 'C' and an Assembly programmer is rare. I'm not on the Forum very often, I'm
updating/working on my House in Colorado.
I'm no expert on on anything, but I believe I have programmed every Microproccer know to mankind. So if I can be of
any futher help please contact me. I would be rather nice talking to an Assembly programmer.
Ragards
Leonard
Well, certainly you'll be more than helpful, contributions such like yours are exactly what we need, and we're glad you share with all.
Thanks again, Leonard, you rock! :smileygrin:
Best regards,
Monica.