Discussion Title | Created date |
---|---|
PC sampling in AS7? I'm trying to enable PC sampling for a SAME54 as described here: http://atmel-studio-doc.s3-websi... I can bring up the Program Counter Trace window,... |
Tuesday, 12 January 2021 - 18:54 |
Forcing an interrupt from arbitrary instructions (I'm working on a SAME54, but this likely applies to most Cortex processors...) I want to validate some code that's designed to be interrupt safe, so I'd like to be able to... |
Sunday, 6 December 2020 - 20:57 |
Preserving a variable in RAM across HIBERNATE I'm using a SAME54's HIBERNATE mode to preserve battery for extended periods of time. Short form: How do I preserve a variable located in RAM across calls to... |
Friday, 27 November 2020 - 19:37 |
Configuring SAME54 DFLL for 120MHz I've seen a bunch of threads in the forum about configuring the SAME54 DFLL for 120MHz, but I've not had any luck doing it myself. The goal: Use Atmel START to... |
Thursday, 19 November 2020 - 02:13 |
Using separate GCLKs for CPU vs peripherals I'm curious: is there an advantage to running GCLK0 and GCLK1 off the same oscillator, and using GCLK0 for the CPU and GCLK1 for peripherals? Or is it better to run... |
Tuesday, 17 November 2020 - 04:58 |
What environment do pre- and post-build commands run in? In ASF7 (v.0.129) I'd like to try my hand at including some pre- and post-build commands but I'm a bit stuck. Specifically, I want to run sed over some of the standard... |
Monday, 2 November 2020 - 22:58 |
Clock runs 20% fast under debugger? It appears that the clock in my ATSAME54 runs faster with the SWD debugger connected. Has anyone seen this? Details: The ATSAME54 configured to run off... |
Friday, 30 October 2020 - 23:00 |
Can you over-feed a dog? I'm running an ATSAML11 (Cortex M0+) and FreeRTOS with WDT enabled. I was getting sporadic WDT resets, which I traced to this code: static int initiate_tx(const uint8_t *... |
Friday, 18 September 2020 - 18:36 |
Are PORT pullups available when the port is assigned to another function? On our SAME54 project, I just instructed our HW engineer to remove the external pullups for the SD/MMC. My reasoning is twofold, but possibly misguided: I've read... |
Thursday, 27 August 2020 - 19:00 |
START generating incorrect tc.c for PWM? Goal: I want to generate a single-slope PWM signal on PD0 of my ATxmega16D4. Issue: Atmel START appears to be generating incorrect code, in particular, not... |
Sunday, 23 August 2020 - 00:27 |
printing peripheral registers using debughooks.py I'm trying to dump the contents of peripheral registers in a SAML22. With help from a few previous threads (mostly guided by meolsen's steady hand): ... |
Sunday, 16 August 2020 - 04:43 |
debughooks.py problems... (UPDATE: this started as a question about dumping all the peripheral registers, but has morphed into a potentially more useful question about creating a simple debughooks.py... |
Saturday, 15 August 2020 - 05:11 |