TinyGo and Raspberry Pi Pico: SPI and Shift Registers with Logic Analyzer

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 11

  • @holgerhoffmann9758
    @holgerhoffmann9758 2 ปีที่แล้ว

    Really enjoying your videos! Very well made. So looking forward to the next ones. Thank you so much for your work.

  • @tonygilkerson
    @tonygilkerson 2 ปีที่แล้ว

    Perfect! I was thinking of doing this and boom! You did it for me, thanks. Great stuff

  • @KevinThomas-iw2lk
    @KevinThomas-iw2lk ปีที่แล้ว

    So glad you have a TinyGo series will you be continuing this to add how to do file persistence writing to the flash and reading from the flash?

  • @boyeemister5558
    @boyeemister5558 2 ปีที่แล้ว +2

    Could you make a short video on I2C? I am trying to get some of the usual Arduino Kit Sensors to run (not only I2C also single Wire bus or normal analog input) but I had no luck so far. So the idea is to just switch out the Arduino for the RPI pico with tinygo running I don't know if that is possible 😅

    • @pragmatiktech
      @pragmatiktech  2 ปีที่แล้ว +3

      I2C is definitely on the cards. I may not get to it in the next couple of episodes, but I will try.

  • @tonygilkerson
    @tonygilkerson 2 ปีที่แล้ว

    When you get two PICOs talking via SPI could you talk about how that compares to two PICOs talking via serial (UART)? Serial seems easier/simpler so I am trying to decide which way to go, thanks

    • @pragmatiktech
      @pragmatiktech  2 ปีที่แล้ว

      Tony, I will definitely talk about it. Just remember, SPI is going to be significantly faster because it's a synchronous protocol. So, if you have a need for speed (apologies to top gun there ;) ) you might want to go the SPI route.

    • @tonygilkerson
      @tonygilkerson 2 ปีที่แล้ว

      @@pragmatiktech Your point about speed, understood. In my case I want pass simple commands between two controllers. For example, something like "get encoder position" which would return just two bytes. Given the small size of the commands and responses I am thinking speed will not be an issue but I could be wrong.
      with SPI say I have a master with several slave (sorry terms) each slave has a channel select pin. Do I need to set a mutex in go to ensure I never set multiple channel select pins on at the same time? I am using go routines to pole slave controllers but I am concerned that I will try to communicate to multiple devices at the same time. Maybe now it is not an issue because go can only use one core, but eventually i hope to use multiple cores. --- Great channel thanks in advance

  • @lohikarhu734
    @lohikarhu734 2 ปีที่แล้ว

    Hey, I can't seem to get to your website??

    • @pragmatiktech
      @pragmatiktech  2 ปีที่แล้ว

      Lohi, I just checked and the link is working - I even VPN'ed via a couple of countries to double check. I've been having some issues with my site since it's a Notion site fronted with Cloudflare. Maybe something went wrong there. Would you please give it a shot now, and let me know if it works?