This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
  • Note: This was originally posted on 10th September 2012 at http://forums.arm.com

    yap I have catch it, was the problem with periferial clock settings. But it takes anothes 2 days to understand what is wrong, because I'm using not keil (uVision) but IAR, ;[
    thanks for advice anyway.
  • Note: This was originally posted on 8th September 2012 at http://forums.arm.com

    Debugg the code and with the help of "UART window" just check if your code works properly. (Debugg using the simulator of your IDE. UART window may be present in the simulator (I don't know what IDE you are using but i use Keil and have a UART window.)
    Check the values of all the clocks generated (system clocks, peripheral clocks and baud rate).

    If everything is working fine in your code, then check the hardware of your board. Check if the rs232 driver IC is working fine. To ensure this, perform following actions:
    1. Just short the Rx & Tx pin (on PC side i.e. input side). Transmit some characters from the terminal and check if you are getting the same on input terminal.
    2. If thats ok, then short the Rx & Tx pins (on the CPU side) and transmit some characters and check if you are getting the same on input terminal.

    If you haven't found anything yet, then its time to check your serial cable. Just check if the connections are proper. Invert the Rx and Tx of the cable at one connector. and repeat the above steps.
    you'll definitely find out where the problem lies.

    All the best :)