• Welcome to Andy's Workshop Forums. Please login or sign up.
 
March 29, 2024, 06:30:15 am

News:

SMF - Just Installed!


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ddrown

1
Quote from: Andy Brown on July 13, 2019, 10:22:18 am
I've recently built a development board for the new STM32G081RBT6 MCU featuring the Cortex M0+ core.


Hello! And thank you for your videos, I'm a fan.

You mention in the video trying to get the ch340 to work on linux with the 9986 vendor ID.  I think there's two choices:

* add the IDs to /sys/bus/usb-serial/drivers/ch341-uart/new_id https://stackoverflow.com/questions/442833/forcing-driver-to-device-match  (this will have to happen every time you boot)

* recompile the ch341 driver with the new vendor ID:  https://elixir.bootlin.com/linux/latest/source/drivers/usb/serial/ch341.c#L82  (this would have to happen every time you upgraded your kernel)

Quote from: Andy Brown
I have no idea how crystals are constructed but I do find it fascinating and it looks a bit like a tuning fork. Does anyone out there know what's going on in there?


Crystals physically vibrate so the resemblance to a tuning fork is no accident.  There are different shapes used, and this cut is called the tuning fork shape.  "The chief application [of the tuning fork cut] is the 32.768 kHz RTC crystal" - https://en.wikipedia.org/wiki/Crystal_oscillator#Crystal_cuts