The Analog to Digital Converter in the SAMD21 is specified to run with a clock frequency from 30 to 2,100 kHz. The Arduino Library configures the ADC clock to be the 48 MHz system clock divided by 256, or 187.5 kHz, or a clock period of 5.33 µs. The conversion time is 7 clock periods, …
Month: May 2023
The SAMD21 based Arduino boards have a 10 bit DAC, so naturally I wanted to generate a sine wave! Some years ago when I was teaching microcontrollers I had students build a DAC using a resistor ladder. The microcontroller, a 68HCS12, used a timer interrupt to advance the value to the DAC by indexing a …
Next month Amazon is raising their printing costs for printed books by Kindle Direct Publishing. The increase is very small for all of my books except the old 68HCS12 title. I decided to absorb the cost increase, although Amazon has made it easy to apply price increases. This could mean that other KDP books might …