Post Created date
SAMD21Xplaind + START USART3 not working
It's likely the examples you see are using ASF3.  One way to tell for certain is if the examples use #include <asf.h>.  START uses ASF4 which has been completely...
Wednesday, 7 February 2018 - 20:37
ATSAMD21 I2C lines locked up
One of the I2C slaves is holding the data line low which in turn prevents any new transactions on the I2C bus.  This can happen if there is noise on the clock line and a...
Wednesday, 7 February 2018 - 19:51
Atmel Start (ASFv4) change USART baudrate
That's ASF3 code.  For START/ASF4 take a look at <project>\hal\src\hal_usart_async.c or <project>\hal\src\hal_usart_sync.c.  These files are the...
Thursday, 1 February 2018 - 16:58
SPI output on SAM D20
One other test - disconnect everything including EXT1 wires and run your sample code while probing around with the scope.  The clock should be clean, chip select drops once...
Wednesday, 31 January 2018 - 19:06
SPI output on SAM D20
You have contention on that pin - two devices are driving it at the same time.  The SAMD20 is a 3.3V device.  The scope looks to be set to 500mV/divison.  So the...
Wednesday, 31 January 2018 - 18:54
Capturing 1Mhz PWM in SAM D20
frog_jr wrote: The usart_write_wait will limit the function response (unless your baud rate is considerably greater than ~10MHz).   This.  You are stuck waiting for the...
Wednesday, 31 January 2018 - 17:08
SPI output on SAM D20
That picture looks bad.  Is the scope probe ground connected?
Wednesday, 31 January 2018 - 17:03
SPI output on SAM D20
What is connected to your board?  It looks like SPI bus is routed to all three extension connectors on the D20 Xplained board - EXT1, EXT2 and EXT3.  Is there something...
Wednesday, 31 January 2018 - 17:02
SPI output on SAM D20
Ok, missed the part above where you said this is an Atmel supplied SAMD20 Xplained board.  I thought it was your own custom board.  It's unlikely there is noise or an...
Wednesday, 31 January 2018 - 16:34
Executing Function from RAM on SAMD21
I've seen weirdness with Atmel Studio's implementation of the compiler/toolchain when trying to use the default "GNU C" compiler settings.  I ran into a few undefined values...
Wednesday, 31 January 2018 - 16:28
SPI output on SAM D20
Channel 2 does not look like a normal SS line.  First check you are connected to the proper pin (most likely).  Then make sure the logic analyzer is showing the...
Wednesday, 31 January 2018 - 16:09
Executing Function from RAM on SAMD21
Lajon wrote: (from "Find in Files" Ctrl+Shift+F and look in "Entire Solution" or "Current Project"). /Lars   Do this.  Inside Atmel Studio's IDE press Ctrl+Shift+F,...
Wednesday, 31 January 2018 - 15:43

Pages