7 Replies Latest reply on Dec 22, 2012 3:21 AM by kishore.kumar

    Loki: A new PSoC 3/5 based development board

    nick.johnson

      I've been working on a development board based on the PSoC 3 and 5 chips. It's similar to the Arduino form factor, but with some unique features to take advantage of the PSoC's ability to use any IO line for any peripheral - features which eliminate the issue of IO conflicts.

         

      I've posted lots of details, and everything you need to build your own expansion board, here: http://dangerousprototypes.com/forum/viewtopic.php?f=56&t=4842

         

      Any feedback you have to offer is of course greatly appreciated!

        • 1. Re: Loki: A new PSoC 3/5 based development board
          ki.leung

           Nice to see more people using the PSOC 

          • 2. Re: Loki: A new PSoC 3/5 based development board
            user_1377889

            Take care to the fact that not ALL features of a PSoC 0.6 (3/5 smile!) schould be routed to ANY pin! When looking at the pin's view you'll get informed that for instance Port 0 and Port 3 are dedicated to some of the internal OpAmps and IDACs. Additionally some switching resisances can grew up to worsen analog input signals. Other pins are dedicated for USB and I2C.

               

            In fact you may route digital signals to any pin, but take care with the analog sub-system in a PSoC.

               

             

               

            Happy routing!

               

            Bob

            • 3. Re: Loki: A new PSoC 3/5 based development board
              nick.johnson

               Good advice, Bob. I've taken care that all the pins on the GPIO header are in fact GPIOs, not SIOs, and I've excluded certain pins - those dedicated to the MHz Xtal, the USB support and SWD programming - from the GPIO header in favor of using them for their dedicated purposes.

                 

              Unfortunately, there's no avoiding the less-than-optimal analog routing in this case, since an expansion board can't guarantee which pins it will get, so my board isn't able to take advantage of the dedicated Opamp pins: applications that use analog will have to use the analog routing. Unfortunate but, I think, inevitable for the application.

              • 4. Re: Loki: A new PSoC 3/5 based development board
                user_14586677

                You might consider 4 mods -

                1) Use of a RRIO OpAmp vs a LM358, to increase drive level to MOSFET. Make
                sure your choice can handle large C load, eg. stability reasons. Design wise
                insure power sequencing in this circuit cannot cause phase reversal of the
                OpAmp outputs. Stated another way make sure OpAmp power supply comes
                up before any other pin on the OpAmp.

                2) For 3.3V Regulator, strap a diode across it to prevent blowing out reg if
                its input is shorted to ground, caused by its output cap C18 discharging back
                thru regulator. That would be D1 in this example.

                 

                   
                    
                     
                       3 terminal regulator.jpg     
                    
                   
                   



                3) Some place on board edge for a large ground post where scope probe ground
                clips can be placed w/o shorting any other part of board. That would be at
                least two or more scope ground lead clips/alligators.

                4) Use polymer tanatalums in BOM for any bulk caps, they have ~ 10 x better
                freq response curves than regular tantalums, lower noise in board. Close to
                the polymer a place for a SMT ceramic as well, .1 or .01 uF.

                Regards, Dana.

                • 5. Re: Loki: A new PSoC 3/5 based development board
                  kishore.kumar

                   Try to keep analog & digital grounds separate and connect them together at one point of the board similar to -030/-050 kits to get better analog performance.

                  • 6. Re: Loki: A new PSoC 3/5 based development board
                    nick.johnson

                     I have - there are separate digital and analog ground planes under the chip following the PSoC guidelines, and they're joined to the main ground plane at a single point to the NW of the chip.

                    • 7. Re: Loki: A new PSoC 3/5 based development board
                      kishore.kumar

                       Make sure that you take a look at this App Note (AN57821) on layout considerations...