Type in the full discussion title or a part of it.
Discussion Title Created date
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
SAMD21 fails to wake from STANDBY sleep
Note: this is clearly related to SAMD21 (SAMD21E16B) sporadically locks up and does not wake up from STANDBY sleep mode but this example *always* locks up and does not involve...
Wednesday, 12 August 2020 - 14:43
wake from sleep with and without debugger
On my ATSAMD21 Xplained Pro board, I have a relatively simple program that drives the RTC from the OSCULP32K and does the following: sets the RTC COMPARE register for 1 second in...
Monday, 3 August 2020 - 13:24
Creating a custom serial driver w/o modifying ASF4 files
This may be a fool's errand, but I'd like to create a custom serial driver (more on that in a moment) and I'd prefer not to monkey patch any of the ASF4 / START source files....
Wednesday, 29 July 2020 - 03:45
SAMD21 has insomnia [Solved]
Problem statement: I want my SAMD21 to wake on an RTC (match) interrupt or EXTIRQ button push, but it continues immediately from the __WFI statement.   My hunch is that there...
Saturday, 18 July 2020 - 21:58
SAMD21: setting RTC COMP clears READREQ.RCONT (!?!)
This is related to:      https://community.atmel.com/foru...   It appears that simply setting the RTC COMP register using the ASF4 api clears the RTC.READREQ....
Saturday, 18 July 2020 - 20:26
Wake from STANDBY upon receiving a character?
I have a nagging suspicion this has been asked before, but:  Is there a way to wake the processor from STANDBY state on a USART received character AND not lose the character...
Sunday, 5 July 2020 - 21:13
Can two Event Generators trigger one Event Channel?
Can two Event Generators trigger one Event Channel?  Or -- more or less equivalently -- can two Event Channels trigger the same action in an Event user?   In my case, I...
Monday, 25 May 2020 - 04:53
How to capture pulse width with 32 bit resolution on the XMEGA
(Preamble: having struggled with this longer than I'd like, I'm writing this up as a tutorial on the hopes that it might be useful to someone else, including the "future me".)...
Saturday, 23 May 2020 - 15:48
DFLL clock rate changes across STANDBY [solved]
My target machine is a SAME54 using SERCOM2 for printfs().  The following code is supposed to print out a message then go into STANDBY mode until there's a button press, then...
Wednesday, 29 April 2020 - 04:29
Generating ADC read from GPIO PORT event
Environment:   I'm using an XMEGA16D4 with code developed using Atmel START / ASF4 and compiled on Atmel Studio 7.   Problem Statement:   My goal is to initiate ADC...
Saturday, 7 March 2020 - 01:01
i2c_m_sync_cmd_write confusion
I'm communicating with an ADXL345 Accelerometer using Atmel START / ASF4 calls.  Read operations work (single and multi-byte), but write operations always return 0. ...
Wednesday, 22 January 2020 - 23:01

Pages