Discussion Title | Created date |
---|---|
ATtiny202 - How to start TCB in Single-Shot Mode repeatedly ? I don't fully understand how to repatedly start TCB in Single-Shot Mode to generate exact pause each 500 ms. The test program generate 29 us pulses instead of 78.64 ms (1/... |
Sunday, 28 March 2021 - 18:50 |
ATtiny202 - ASM code I don't fully understand the addressig mode od AVR ATtinyxxx 0-Series. The following dissasembled code shows: r = ~(r ^ 0b10101010); 0x78: LDS R25, 0x00 0x79: CPI R24, 0xF1 0x7A... |
Wednesday, 10 March 2021 - 09:24 |
ATtiny202 - bits doubling Is there any way how to double bits in the 4 bits nibble in XC8 compiler or AVR ASM ? E.g. from 0b00001110 I need to get 0b11111100. It will help me to encode data (~(x^0b10101010... |
Monday, 8 March 2021 - 22:01 |
ATtiny202 - Oregon Scientific temperature sensor replacement My THN132N wireless temperature sensor is dead so I have decided to replace it by ATtiny202 with built in temperature measurement and send data to the Oregon Scientific base... |
Monday, 15 February 2021 - 08:53 |
ATtiny202 temperature measurement settings ? In the ATtiny202-402-DataSheet-DS40001969B is mentioned on the pdf page 416: 29.3.2.6 Temperature Measurement The temperature measurement is based on an on-chip temperature... |
Friday, 12 February 2021 - 01:32 |
ATtiny202 How to create program more readable? I am stuck on how to make program more readable by separating functional blocks (e.g. USART, RTC, TCB ...) into separate program files (*.c/*.h) and link them to the main program... |
Friday, 29 January 2021 - 19:50 |
ATtiny202 how to use variables properly ? I am having problems with simple programm which should approximate reflow profile by 7th order polynomial approximation. main.c #define F_CPU 3333333 #include <... |
Tuesday, 26 January 2021 - 00:02 |
ATtiny202 read I2C 16 bits from MAX6675 I ordered MAX6675 Module + K Type Thermocouple Temperature Sensor and I am waiting for its delivery. In the meantime I am working on the I2C ATtiny202 program to read the... |
Thursday, 21 January 2021 - 20:32 |
ATSAMR34-XPRO SERCOM5 I2C DMA compilation error I am trying to test SERCOM5 I2C DMA write command but I am getting compilation error: expected expression before ';' token on the line 91, config.peripheral_trigger... |
Saturday, 30 May 2020 - 21:10 |
ATSAMR34-XPRO - Delay function freezes I added to my project by ASF Wizard: . Delay routines (service) systick SERCOM I2C - Master Mode I2C (driver) callback . When I set the break point on "nop" and run the debug, the... |
Wednesday, 13 May 2020 - 20:12 |
ATSAMR34-XPRO - I2C Callback I have created a new ASF project for my ATSAMR34-XPRO and added SERCOM I2C - Master Mode I2C driver callback. The ASF created the skeleton code simply sets the LED to the state of... |
Saturday, 9 May 2020 - 21:11 |
ATSAMR34-XPRO Delay Function? In XC8 AVR Compiler (MPLAB X IDE) I can use _delay_ms() function in #include <util/delay.h> for the ATtiny202. I have started to work with 32bit MCU and I am trying to... |
Monday, 4 May 2020 - 20:59 |