jayshreekant 0 Posted January 8, 2013 Share Posted January 8, 2013 Hello MSP430 Coders i have finished all the basic modules, now i stuck in to uart. i need some ideas from your side,( if possible please give me code also :-P ) my Launchpad send signal to print numbers like 1,2,3 ... for every 1 second delay, numbers should be printed in to hyper terminal. what will the pin connection for the launchpad, Jumper setting and the most important thing is how the launchpad will work. Thanks you all. Quote Link to post Share on other sites
thanhtran 10 Posted January 9, 2013 Share Posted January 9, 2013 Go to Ti.com, search for the chip that you're using. Then download the example codes. It should have an example which allows you to send / receive UART data. In the example, you should see how you can connect the wires / pins. If you want the UART to talk to a PC's serial port, you need a level adapter in between the MSP and the PC. jayshreekant 1 Quote Link to post Share on other sites
TheDirty 33 Posted January 9, 2013 Share Posted January 9, 2013 To add to^ http://www.ti.com/lsds/ti/microcontroller/16-bit_msp430/msp430_software_landing.page Go down the page to "Code Examples". From there it will allow you to download peripheral code examples for a series of chips in either ASM or C. jayshreekant 1 Quote Link to post Share on other sites
Lgbeno 189 Posted January 9, 2013 Share Posted January 9, 2013 There's probably an example in code composer too. From a hardware prospective, if you are using LaunchPad, it is already bridged over USB to your pc. Just use device manager to find what com port it is enumerated as and open up the hyper terminal session on that port. The baud rate has to be 9600. jayshreekant 1 Quote Link to post Share on other sites
jayshreekant 0 Posted January 9, 2013 Author Share Posted January 9, 2013 I have already attached the USB from launchpad to Laptop, but i am not getting any data in hyperterminal (COM1), i am confused that i have to connect the the Launchpad pins to Laptop(USB) or Launchpad(mini USB) to Laptop(USB)..means .. from where i will recieve UART data.. From the Launchpad(mini USB) or from Launchpad PINS .. if from launchpad pins i am getting data then how will i connect them to Laptop(USB) Quote Link to post Share on other sites
abecedarian 330 Posted January 9, 2013 Share Posted January 9, 2013 On Windows, when you installed the drivers for the LP, a "virtual" COM port was created. On my computer, without any other COM ports previously assigned, Windows gave one MSP430 COM3 and the other COM4, and my Stellaris LP COM6. You might have to go into Device Manager to find out what that COM port is. It would be listed under "Ports (COM & LPT)" and something like "MSP430 Application UART (COMX)" where "X" is the COM port number. If you're under Linux or Mac, I can't help you there. Also, do NOT use the LP through a USB hub or port expander. Some laptops and other computers will use an internal hub to add USB ports. Quote Link to post Share on other sites
Lgbeno 189 Posted January 10, 2013 Share Posted January 10, 2013 Yeah you will very likely not be enumerating your virtual com port on com35. Every computer is different based on what other things you have plugged in over time, I have a few launch pads, they show up as com35 or com41, I've also seen com12 on a different pc. The only way to know is to get into device manager and find out. Don't need to use a separate cable. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.