5 Replies Latest reply on Dec 30, 2013 2:22 PM by user_78878863

    How to set the ports and pin?

    jobs.f

       Dear all,

         

                 I'm doubt how can i correctly set the ports in project?dose there is a table to check?Like the UART ,read the data from SRAM to pc,so I should how to set the RX and TX?As also a RC filter,i have checked  the Appendix,but i can't find the capacitor and resistor(except the potentiometer) corresponding ports signed on the paper.Thanks.

        • 1. Re: How to set the ports and pin?
          user_1377889

          Your question is a bit difficult to understand. When you ask for the drive-mode of the pin used for an UART you should use "Strong". When connecting the UART to a PC you will need a voltage-level shifter (like a MAX232) since a PC serial port needs a +-12V input and your PSoC just delivers 0 to VDD.

             

          Are you using a Cypress Development Kit? and if, which one??

             

           

             

          Bob

          • 2. Re: How to set the ports and pin?
            user_14586677

            RS232 Physical Layer specs -

               

             

               

                

               

                      

               

            http://www.radio-electronics.com/info/telecommunications_networks/rs232/signals-voltages-levels.php

               

             

               

            http://en.wikipedia.org/wiki/RS-232

               

             

               

             

               

            What paper are you referring to ? Post a link or copy of the paper. Regarding the

               

            filter you are talking about.

               

             

               

            Regards, Dana.

            • 3. Re: How to set the ports and pin?
              jobs.f

               @Bob,

                 

              yeah,i have a kit as the CY8CKIT-050,the messages you advised are also my need.Can you tell me how to find them?Maybe in which paper?Then my key question,like LCD' pins routined to P2[0]~p2[6],the UART ,read the data from SRAM to pc,how to set the RX and TX?As also a RC filter,i have checked  the Appendix,but i can't find the capacitor and resistor(except the potentiometer) corresponding ports signed on the paper.

              • 4. Re: How to set the ports and pin?
                jobs.f

                 @danaaknight,

                   

                I' m sorry for that.I cannot sure wether you can read chinese.I have searched it on chinese web.

                • 5. Re: How to set the ports and pin?
                  user_78878863

                  I think there are multiple questions. For using a PSoC component, just right-click on it, and read the darta sheet and look at the examples.

                     

                  This should give you a good idea how to send data to a PC using the UART.

                     

                  For the LCD connections: look at the -050 kit user manual. In the functional description, it explains where the peripherals are connected. If its not mentioned there, look at the provided schematic. There you see that the LCD is connected to P2[6:0]. You also see there, that the UART level shifter is not pre-connected to specific pins, so you can use whichever you want. You just need to connected them (hint: add female headers to the prototyping area).

                     

                  I do not understand the question about the RC filter. There is a ton of information about them available. What is the relation to PSoC?

                     

                  Maybe just post the document number (and the link) of the paper you are referring to - Google translate is rather good...