Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
Code Project
  1. Home
  2. The Lounge
  3. Spelunking

Spelunking

Scheduled Pinned Locked Moved The Lounge
designvisual-studiocomgraphicshardware
4 Posts 4 Posters 0 Views 1 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.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I was trying to get DMA transfers working on the Seeed Wio Terminal. It's based on a SAMD51 MCU which itself is wrapped around an ARM Cortex M4 platform. The trick is there are 8x2 DMA registers you need to fiddle with depending on which peripheral you want to control, and I had no information as to what mapped where. I love VS Code "Go to Definition..." as it allowed me to traverse through the Wio Terminal's Arduino implementation until I found the registers it used for SPI3. SERCOM7 was my huckleberry And now I'm super satisfied that I figured that out, and got my data to the screen asynchronously. It feels like hacking old Apple computers back in the mid 1980s, at least for me.

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    R J 2 Replies Last reply
    0
    • H honey the codewitch

      I was trying to get DMA transfers working on the Seeed Wio Terminal. It's based on a SAMD51 MCU which itself is wrapped around an ARM Cortex M4 platform. The trick is there are 8x2 DMA registers you need to fiddle with depending on which peripheral you want to control, and I had no information as to what mapped where. I love VS Code "Go to Definition..." as it allowed me to traverse through the Wio Terminal's Arduino implementation until I found the registers it used for SPI3. SERCOM7 was my huckleberry And now I'm super satisfied that I figured that out, and got my data to the screen asynchronously. It feels like hacking old Apple computers back in the mid 1980s, at least for me.

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      R Offline
      R Offline
      Ron Anders
      wrote on last edited by
      #2

      In this day and age where everything is nice and pretty much wrapped up with a bow, it's cool that you have to / get to fiddle with the low level stuff that is more satisfying dragon to tame. :thumbsup:

      J 1 Reply Last reply
      0
      • R Ron Anders

        In this day and age where everything is nice and pretty much wrapped up with a bow, it's cool that you have to / get to fiddle with the low level stuff that is more satisfying dragon to tame. :thumbsup:

        J Offline
        J Offline
        jeron1
        wrote on last edited by
        #3

        I submit that it's just as satisfying when you get things working with the help of properly documented registers, it's probably a faster implementation as well.

        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

        1 Reply Last reply
        0
        • H honey the codewitch

          I was trying to get DMA transfers working on the Seeed Wio Terminal. It's based on a SAMD51 MCU which itself is wrapped around an ARM Cortex M4 platform. The trick is there are 8x2 DMA registers you need to fiddle with depending on which peripheral you want to control, and I had no information as to what mapped where. I love VS Code "Go to Definition..." as it allowed me to traverse through the Wio Terminal's Arduino implementation until I found the registers it used for SPI3. SERCOM7 was my huckleberry And now I'm super satisfied that I figured that out, and got my data to the screen asynchronously. It feels like hacking old Apple computers back in the mid 1980s, at least for me.

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          J Offline
          J Offline
          jmaida
          wrote on last edited by
          #4

          "SERCOM7 was my huckleberry" Old west expression of "I like it because it works." Had not heard that expression in a long time. BTW. Actual Huckleberry Jam and Preserves is quite good with a very unique flavor.

          "A little time, a little trouble, your better day" Badfinger

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


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups