Jump to content
43oh

sloso

Members
  • Content Count

    13
  • Joined

  • Last visited

  1. sloso

    UART, RX problem

    for better imagination click on the link mentioned below, 1. HT on the left site: LP(TX)-->MAX3232 -->Phone(RX) <-->phone TX to PC, HT response from phone OK. everything works properly as u can see 2. then look at IAR: LP(TX)-->MAX3232 -->Phone(RX)<-->phone TX to MAX3232 and back to RX LP as u can see already after "AT" I got value to RXByte 255, event RX does not wait for ENTER link for jpg(for zoom click on the picture) http://img20.imageshack.us/i/checkl.jpg/
  2. sloso

    UART, RX problem

    YEs, I connected LP --> MAX3232 --> serial cable to HT I was successfully able to send char on HT(sometimes appear on HT some strange chracters), and I was able receive(and see in RXByte) from keyboard exactly what I was typing.
  3. sloso

    UART, RX problem

    Yes I have remove RX and TX jumpers...I have tried msp430g2xx1_ta_uart9600.c , as sample it works great...after my transform to my case it work similar as with actual code...I can not receive. What u do think about crystal? maybe be is problem there...I really don't know, It is my final project Im hurry up deadline is coming soon I need to solve this....thanks a lot
  4. sloso

    UART, RX problem

    LP(TX) -> MAX232(T1IN) MAX232(T1OUT) ->phone(RX) -> this way works quite good phone(TX) -> MAX232(R1IN) MAX232(R1OUT) -> LP(RX) -> but this way Not, I always receiving value RXByte=255, it is maximal value something is wrong
  5. sloso

    UART, RX problem

    Hi, well, when I connected it tx from LP to the phone and tx from the phone to PC. LP(TX) -->MAX232-->phone(RX), and directly from phone to PC(no through MAX) I was able see the phone answer on HT!!! But if I connect it back for to see answer in my program I was not able to see, again value 255. That way I thing that maybe is problem with level problem as u told. Between LP and this cable Im using MAX232....I have tried MAX3232, both works similarly. btw and where I should connect pull-up resistor?
  6. sloso

    UART, RX problem

    btw what does it mean: level problem? Or missing pull-up?
  7. sloso

    UART, RX problem

    I conected it as u told me. Connect tx from LP to the phone and tx from the phone to PC and see what you get. It was goood idea. well, if I run the program for to send some characters to HT fom LP I can not see them...just strange character on HT...but if I'm stepping the program I'm able to see them properly I tried receive "OK" as well... and I again received sequence of strange chracter...on HT!!! it look like bad connection...but I really don't understand. why am I albe to to call...I sent command for call from LP to phone...on HT is the command wrong(strange characters), but phone d
  8. sloso

    UART, RX problem

    Im checking the answer of my phone in RXByte code: /****************************************************************************** * Half Duplex Software UART on the LaunchPad * * Description: This code provides a simple Bi-Directional Half Duplex * Software UART. The timing is dependant on SMCLK, which * is set to 1MHz. The transmit function is based off of * the example code provided by TI with the LaunchPad. * This code was originally created for "NJC's MSP430 * LaunchPad Blog". * * Author: Nicholas J. Conn - http://msp430launchpad.com * Email: webmaster at m
  9. sloso

    UART, RX problem

    Yes, phone works properly with HyperT. If I send command "AT" via LP then phone is answering "OK". But I can't receive. That way I thing my UART on LP doesn't work properly. Communication UART between LP and HT works properly. And UART communication from LP to phone works in one way (when i transmit data to phone). Problem is just receive some data (RXdata) from phone to LP.
  10. sloso

    UART, RX problem

    thanks, but I think no problem there, I have already called and have sent SMS through LP. For all that I think schematic and using AT command is OK. (btw. Im using Siemens S45) Well from LP -> phone it works (TX), but when I need to read some data from phone on LP it does work (RX).
  11. sloso

    UART, RX problem

    Hi, I would like ask. I'm need to do full duplex UART(maybe I don't need full duplex I don't know the different exactly, I going to explain u) communication on Launchpad. Im using the code from this page: http://www.msp430launchpad.com/2010/08/ ... chpad.html I have connected my LP to a mobile, I'm using it as GSM module. But I can not receive nothing from mobile (RX do not works)....I'm sending characters "AT"to phone...it works properly(everything on way TX works)....but then when I should receive answer from phone "OK" I did not. Should it works with this code? When I tried use
  12. Thanks for to welcome me. What is the different between USI and UART? Can I make UART applications because of I will need to communication with a GSM module via UART....is the any possibility to do it? thanks
  13. Hi, Im really beginner with MSP430 LaunchPad and uP programing as well. I'd like to know how to works UART communication. I have read the family guide, but anyway I don't understand. Could u provide me some easy code example...for example HT will read char from keyboard. Thank u a lot...is really important form me to understand it. thanks
×
×
  • Create New...