Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. 8Bit or 32Bit processors

8Bit or 32Bit processors

Scheduled Pinned Locked Moved Hardware
86 Posts 11 Posters 25.1k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #77

    Anyone else here tried the Sparkfun SAMD21 board? So far, I'm having trouble getting it to upload a new sketch.

    1 Reply Last reply
    0
    • NeverDieN NeverDie

      @NeverDie said in 8Bit or 32Bit processors:

      It should be using one of these cables instead: https://www.adafruit.com/product/1675

      Argh. I hadn't really noticed before, but the pitch (1.72mm) on the SWD connector specification is much smaller than what I'm used to. In addition, the Sparkfun board arrived, and it came with no pins installed (actually no pins at all) for the SWD. It would require a special order for 1.72mm pins from I'm not sure where.

      Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #78

      @NeverDie said in 8Bit or 32Bit processors:

      @NeverDie said in 8Bit or 32Bit processors:

      It should be using one of these cables instead: https://www.adafruit.com/product/1675

      Argh. I hadn't really noticed before, but the pitch (1.72mm) on the SWD connector specification is much smaller than what I'm used to. In addition, the Sparkfun board arrived, and it came with no pins installed (actually no pins at all) for the SWD. It would require a special order for 1.72mm pins from I'm not sure where.

      Order a set of pogo pins and make yourself an adapter PCB maybe ?

      NeverDieN L 2 Replies Last reply
      0
      • Nca78N Nca78

        @NeverDie said in 8Bit or 32Bit processors:

        @NeverDie said in 8Bit or 32Bit processors:

        It should be using one of these cables instead: https://www.adafruit.com/product/1675

        Argh. I hadn't really noticed before, but the pitch (1.72mm) on the SWD connector specification is much smaller than what I'm used to. In addition, the Sparkfun board arrived, and it came with no pins installed (actually no pins at all) for the SWD. It would require a special order for 1.72mm pins from I'm not sure where.

        Order a set of pogo pins and make yourself an adapter PCB maybe ?

        NeverDieN Offline
        NeverDieN Offline
        NeverDie
        Hero Member
        wrote on last edited by NeverDie
        #79

        @Nca78 said in 8Bit or 32Bit processors:

        @NeverDie said in 8Bit or 32Bit processors:

        @NeverDie said in 8Bit or 32Bit processors:

        It should be using one of these cables instead: https://www.adafruit.com/product/1675

        Argh. I hadn't really noticed before, but the pitch (1.72mm) on the SWD connector specification is much smaller than what I'm used to. In addition, the Sparkfun board arrived, and it came with no pins installed (actually no pins at all) for the SWD. It would require a special order for 1.72mm pins from I'm not sure where.

        Order a set of pogo pins and make yourself an adapter PCB maybe ?

        That's a good suggestion. However, I think I may just solder the four key wires directly to the board, because presently I'm viewing the Sparkfun board as just a proof-of-concept and a test of whether or not it's ready for prime time. If that works out, then I plan to shift into making some specialized DIY nodes based on the same SAMD21..

        1 Reply Last reply
        0
        • NeverDieN Offline
          NeverDieN Offline
          NeverDie
          Hero Member
          wrote on last edited by
          #80

          I found my error. It turns out there's an Arduino board definition file for the Sparkfun SAMD21 mini. Once I installed that, sketches upload, verify, and work fine, although I do still get a mysterious error message "An error occurred while uploading this sketch." Meh, at least so far it doesn't seem to matter.

          So, thinking about this a bit more, I think a good next step might be making a minimalist SAMD21 pro mini, but using the TQFP32 instead of the TQFP48 that sparkfun uses. I'm hoping that the TQFP32 will be easier to solder. The resulting board may not turn out to be 100% equivalent, but it will be interesting to see what the trade-off is, if any, that led Sparkfun to go with the TQFP48.

          1 Reply Last reply
          0
          • tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #81

            @NeverDie

            Perhaps they need the extra pins that are available on the tqfp48? Can't remember if there is an additional sercom device in the 48pin, or if it's first available int he 64pin variant... But that might also be the reason why they chose to use that device..

            Nca78N 1 Reply Last reply
            0
            • NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by NeverDie
              #82

              Looks like my assumption was wrong. Delving into it more closely, I suspect the TQFP64 will be the easiest to solder. Why? Because the pin-to-pin pitch on the TQFP64 is 12mm, whereas on the TQFP48 it's 9mm, and on the TQFP32 it's only 8mm. At least to me, the solder bridges--and the alignment of pin-to-pad-- I get when the pin spacing is too close is what makes the soldering hard on these SMD's.

              Scratch that. It didn't make sense. I was looking at the wrong dimension. The pitch on the TQFP64 and TQFP48 is 0.5mm, whereas on the TQFP32 it's 0.8mm. So my assumption was correct after all.

              1 Reply Last reply
              0
              • tbowmoT tbowmo

                @NeverDie

                Perhaps they need the extra pins that are available on the tqfp48? Can't remember if there is an additional sercom device in the 48pin, or if it's first available int he 64pin variant... But that might also be the reason why they chose to use that device..

                Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by Nca78
                #83

                @tbowmo said in 8Bit or 32Bit processors:

                @NeverDie

                Perhaps they need the extra pins that are available on the tqfp48? Can't remember if there is an additional sercom device in the 48pin, or if it's first available int he 64pin variant... But that might also be the reason why they chose to use that device..

                4 SERCOMs on the 32 pins instead of 6 on the 48 pins.
                10 ADC channels instead of 14 (and 20 on the 64 pins)
                10 * 6 X&Y lines on the touch controller instead of 12 * 10 for 48 pins and 16*16 for 64 pins
                64 pins also have 5 Timer Counter instances, it's 3 on 32/48 pins

                These are all the differences (with of course different number of GPIOs),, everything else is similar in the datasheet.

                1 Reply Last reply
                1
                • Nca78N Nca78

                  @NeverDie said in 8Bit or 32Bit processors:

                  @NeverDie said in 8Bit or 32Bit processors:

                  It should be using one of these cables instead: https://www.adafruit.com/product/1675

                  Argh. I hadn't really noticed before, but the pitch (1.72mm) on the SWD connector specification is much smaller than what I'm used to. In addition, the Sparkfun board arrived, and it came with no pins installed (actually no pins at all) for the SWD. It would require a special order for 1.72mm pins from I'm not sure where.

                  Order a set of pogo pins and make yourself an adapter PCB maybe ?

                  L Offline
                  L Offline
                  lafleur
                  wrote on last edited by
                  #84

                  @Nca78

                  1.27mm headers 5x2 (.05in) Mouser 855-M50-3500542 made by Harwin

                  1 Reply Last reply
                  2
                  • NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #85

                    So as not to derail this thread, I've started a new thread here: https://forum.mysensors.org/topic/6961/minimalist-samd21-tqfp32-pro-mini
                    for further discussion related to the SAMD21.

                    1 Reply Last reply
                    1
                    • scalzS scalz

                      @GertSanders
                      ali, or chinese supplier, in fact are cheating a bit for getting those price.

                      when ordering at mouser, i generally order some stock for future boards, and regarding some parts, like passives it's almost same price as ali and you're sure of the quality (and for some sensors i'm sure they're not out of specs, clones..) , with a bigger choice.

                      but sometimes i have some missing parts too :grimacing:
                      tme has low shipping cost, or Arrow.com is nice too as it's 20€ minimum order for getting free express shipping ;)

                      I don't know how to get cheaper then..

                      Nca78N Offline
                      Nca78N Offline
                      Nca78
                      Hardware Contributor
                      wrote on last edited by
                      #86

                      @scalz said in 8Bit or 32Bit processors:
                      Arrow.com is nice too as it's 20€ minimum order for getting free express shipping ;)

                      Just received my first order today, delivered only 4 opening days after order in Vietnam, and ... no taxes not even VAT :D
                      In total i ordered 12 SAMD of 3 kinds, a few atsha and some 0603 ferrite beads my local sellers don't have. I was a bit surprised to see a 505010cm box. But then when I opened the box I understood. This is the packaging for 4 ATSAMD20: carton box containing a giant antistatic bag containing 2 plates made for 260 MCUs each and only 4 in the middle. Missing on the picture is the bubble wrap that was around the antistatic bag.
                      Packaging for other parts was not that delirious but still excessive imho, I guess they're not trying to be awarded a green label :D

                      In the end a very positive experience: reasonable prices, not cutting corners on packaging, great express shipping (now I'm sure I'll never use DHL again...). I just need to buy another apartment for storage before I make a new order :D

                      0_1498129624099_IMAG1773.jpg

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      11

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular