Post Created date
Cannot Wake SAMD21 with EXTINT
There is a "Schematic Checklist" in the data sheet. If the chip gets hot just from powering it it must be some very basic problem (like connecting VDDCORE to the supply). You can...
Saturday, 27 November 2021 - 06:46
Works for me, tested on a SAMD21 xPlained Pro. #include "sam.h" int main(void) { PM->APBCMASK.bit.SERCOM3_ = 1; GCLK->CLKCTRL.reg = GCLK_CLKCTRL_ID(...
Friday, 26 November 2021 - 16:47
memory alignment
Lajon wrote:Replace 15 with 31 (and 0x0f is also a 15 that needs to be replaced) As I wrote in post #10 (and note it's overkill to add 32 when you are aligning with 32). /Lars...
Wednesday, 24 November 2021 - 15:27
ATSAMV71 Xplained Ultra I2C peripheral Issue
It's not completely obvious for me where you in each case connect to the I2C signals. TWIHS0 I expect is on PA03 and PA04 which is on the I2C pins on both EXT1 and EXT2, is...
Monday, 22 November 2021 - 19:47
SAM L10 I2C Slave
Did you try the available callbacks? This is from the user guide: The tx pending callback is invoked when a master device requests data from a slave device via sending slave...
Monday, 15 November 2021 - 13:32
SAML11 pulse width (and period) capture using timer module
Yes 16-bit mode has worked for me. The event is the only "signal" needed, I assume all the edge detection needed is done in the TC as hinted to here (about the asynchronous event...
Monday, 15 November 2021 - 13:17
SAM L10 I2C Slave
Genar32 wrote:the library What library? /Lars  
Monday, 15 November 2021 - 09:14
SAML11 pulse width (and period) capture using timer module
You only need one event. Example for SAMC21 here:   There is also a start example: https://microchipsupport.force.c...   There are...
Sunday, 14 November 2021 - 16:28
It is possible create 8 pwm with single activation on SAMD21G17
Fixed period but also the same duty cycle on every output? TCC0 can be used for that. The waveform extension OTMX setting can be used to get the compare channel 0 on every output...
Sunday, 14 November 2021 - 13:28
Problem with timing of a SAMD21G17
stella1 wrote: I have written only one instruction Seems likely you also have a loop which takes time also, you should really show the code when you ask a question like this. /...
Sunday, 14 November 2021 - 10:40
Setting TC2 compare capture value for SAMD11C
  TC2->COUNT16.CC0.reg = 45828;This I would have to write as TC2->COUNT16.CC[0].reg = 45828; GCLK_CLKCTRL_ID(GCLK_CLKCTRL_ID_TC1_TC2)GCLK_CLKCTRL_ID_TC1_TC2 is...
Sunday, 14 November 2021 - 10:36
SAM4S32C Timer Maximum frequency
Each channel can independently select an internal or external clock source for its counter: * External clock signals(1): XC0, XC1 or XC2 * Internal clock signals: MCK/2, MCK/8,...
Saturday, 13 November 2021 - 07:29