Post Created date
SAMD20 with external crystal
I've managed to get it working. The field CONF_CLOCK_OSC32K_ENABLE_32KHZ_OUTPUT  Needs to be set as true. I presumed this turned turned a digital output into a clock output...
Thursday, 16 May 2019 - 04:00
SAMD20 with external crystal
Regarding the 32kHz crystal, here is my configuration from conf_clocks.h   /* SYSTEM_CLOCK_SOURCE_XOSC32K configuration - External 32KHz crystal/clock oscillator */ #...
Wednesday, 15 May 2019 - 22:33
tinyAVR 1-Series TWI Polled Byte-Read with NACK
Hi,   I found that polling the RIF bit before doing a read was key to getting my code working. You'd think that it would acceptable to read it after initiating a read, but...
Tuesday, 30 April 2019 - 22:31
tinyAVR 1-Series TWI Polled Byte-Read with NACK
Hi,   I see you mentioned one of my posts. I got TWI to work the other day and posted the code in a different post:   Here's my TWI...
Tuesday, 30 April 2019 - 03:14
Tiny AVR 1-series TWI woes
Hi,   No problem. Here's how I've used it for talking to as DS3231 (ignore the Atmel Start stuff, I just used it for it uart): #include <atmel_start.h> #include <...
Thursday, 25 April 2019 - 23:03
Tiny AVR 1-series TWI woes
I've succeeded in getting the TWI hardware to work in polled mode. I've tested this with an ATTiny402 and an ATTiny416, using a DS3231 and an LTC2487. I've attached the library...
Thursday, 18 April 2019 - 02:36
ATTiny416 acting as TWI/I2C slave device, failure on second read.
I've just bought the same dev board for the sole purpose of getting the TWI hardware working properly, so your post is very timely. If you look at my post history you will see...
Tuesday, 2 April 2019 - 00:25
I2C Library Problems with ATtiny817
Fabrice, Can you please confirm that the code above works for more than one transaction?
Tuesday, 5 February 2019 - 21:56
I2C Library Problems with ATtiny817
Hi Fabrice,   I have tested your TWI code on an ATTiny402 talking to an I2C ADC. It works okay, but at the end of the transaction it doesn't send the stop sequence. I've...
Monday, 4 February 2019 - 23:14
Tiny AVR 1-series TWI woes
The TWI registers and functionality are no different between the 402 and the 412. My chip is labelled 402. I'm not concerned about the software bug for now, it's not the source of...
Wednesday, 9 January 2019 - 06:10
ATTiny814 I2C code
I got it working, but it's not pretty. I worked out I need to disable the TWI between each write-read sequence and bit-bang my own stop sequence, otherwise it leave the SCL line...
Tuesday, 24 April 2018 - 03:30
ATmega328P Xplained and Atmel Studio 7.0.1417
TintuVayalattu wrote: Hi trevorg,   Is the device properly detected by AS? How did you test Virtual Com?   Yes AS detects the board controller but refuses to connect to...
Wednesday, 16 August 2017 - 22:45