TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

UART Application for an End Device

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 2 Replies | 3 Followers

Top 150 Contributor
45 Posts
Community Member
SSK posted on 26 May 2009 5:10 AM

Hello All,

 

I have created a simple Rx-Tx application using the eZ430Rf2500 and SimpliciTi 1.0.6 where my Access Point is sending data to my end device.

I have written a small UART application for my end device so that I can see what the access point is sending the end device.

I am running the access point from a battery and the end device is connected to the USB (the other way around as compared to the Sensor Monitor Code)

However this UART application does not seem to work for an end device. When I open the hyperTerminal window I can see nothing.

When I wrote a similar UART Application for the access point, it worked just fine.

The UART application on the end device however is not working.

Can anyone tell me what I am doing wrong? Is it possible to configure a UART application on an end device?

Please let me know,

Regards,

Sharwari

All Replies

Top 200 Contributor
37 Posts
Community Member

If you're using the RF2500T boards, which I think you are, then the hardware is obviously identical for the AP and ED. That must leave the problem in software somewhere (or with hyperTerminal - it has evil powers).

I see you say that you wrote a "similar" app for the AP, but as you know, one wrong bit in the configuration and things won't work. I'd suggest switching your AP and ED around, make sure the serial code is working on the AP (e.g. by sending out the SimpliciTI message and UART message at same time), then directly copy/paste that code over to the ED. If you can't get things to work doing that, then I think you'll need to bring some more details to the table.

I can't think of any reasons for SimpliciTI to mess with the UART or for your hardware setup to be different between the AP and ED. Well, *I can*, but not any that are very likely at the moment.

Top 75 Contributor
71 Posts
Community Member

Hi Mr.Sharwari,

I think you are not receiving any data first of all.Please check on the ED side that you have enabled RX and RX is default OFF condition in simpliciti and RX can be enabled through SMPL_Ioctl function See the folowing

 SMPL_Ioctl( IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_RXON, 0);

Does your recieve function is in ISR ? Incase it is ISR use the above  and in case of polling you need not use SMPL_Ioctl.

 

Regards

Umamahesh Y V

Page 1 of 1 (3 items) |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.