Author |
Message |
Topic: Do we want an Xmega based Arduino board? |
SZTRAD
Replies: 17
Views: 7471
|
Forum: AVR Posted: Wed Feb 17, 2021 10:53 am Subject: Do we want an Xmega based Arduino board? |
Hello Per
well so my opinion directly to the board why it is difficult to design it and why no one does it. The biggest problem is with analog inputs, which are also used as DI/DO. It's quite compli ... |
Topic: CURRENT MEASUREMENTS C.D. ARDUINO_ACS712 |
SZTRAD
Replies: 12
Views: 6575
|
Forum: BASCOM-ARDUINO Posted: Wed Feb 17, 2021 8:58 am Subject: CURRENT MEASUREMENTS C.D. ARDUINO_ACS712 |
Hi
I assume you don't want to use another chip(I would choose something with differential inputs) Do you need to measure negative current or will you only measure positive current? You're using the ... |
Topic: PIT xttiny |
SZTRAD
Replies: 1
Views: 2777
|
Forum: Share your working BASCOM-AVR code here Posted: Sat Feb 13, 2021 12:20 pm Subject: PIT xttiny |
Hi All
The first simple example.
Simple multitasking when using PIT. A milis variable is created in which the current time is stored in milliseconds from the start of the program run. It is not a pu ... |
Topic: PIT xttiny |
SZTRAD
Replies: 1
Views: 2777
|
Forum: Share your working BASCOM-AVR code here Posted: Fri Feb 12, 2021 8:57 am Subject: PIT xttiny |
Hi
Another interesting peripheral is PIT. As the name suggests, it is used to periodically call interrupts.Thanks to the fact that PIT shares the same clock as RTC, it can also run in sleep modes, so ... |
Topic: Do we want an Xmega based Arduino board? |
SZTRAD
Replies: 17
Views: 7471
|
Forum: AVR Posted: Thu Feb 11, 2021 1:11 pm Subject: Do we want an Xmega based Arduino board? |
I'm happy to agree with MWS.
They already tried it in Poland there was a project extrino which was compatible with UNO, but it did not have all the fully compatible inputs from all boards, if I ... |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Mon Feb 08, 2021 1:50 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
Like I said, I'm not going to argue.
Oddly, this code is also used only 11 times
000000BF CLR R31 Clear Register
000000C0 LDS R30,0x0105 Load direct from data space
000000C2 LDS R18,0x ... |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Mon Feb 08, 2021 12:49 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
Calmly. You have my mail.
I used AS7 purely for hex code level simulation. It's terrible software, but firstly I need with him work and secondly there's probably nothing better about avr. |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Mon Feb 08, 2021 12:17 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
Mark
I understand your attitude and your words. Can I post all the decompiled code here and show you what's going on? I don't like doing this, this doesn't belong in the discussion. The method of tra ... |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Mon Feb 08, 2021 9:59 am Subject: Rainbow INstruction difficulty on the XTiny 402 |
You use sharp words. Be very careful of the word nonsense.
I approached your game, although I don't like it either. Once decided, one does not intend to accept another person's opinion (based on tria ... |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Sun Feb 07, 2021 9:05 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
MWS do you really think I don't know this?
Thank you for the MWS alert, but Mark's compiler works as it should. This means that it performs initialization again before each call to lib because it wor ... |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Sun Feb 07, 2021 3:03 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
OK
The new series currently uses addresses identical to xtiny
RS |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Sun Feb 07, 2021 2:54 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
When translating, Mark stores the upper part of the address in the R27 register (note the last line). According to the simulator, the config routine is called before each entry into the library, so fo ... |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Sun Feb 07, 2021 2:23 pm Subject: Rainbow INstruction difficulty on the XTiny 402 |
Try it for all rows of processors and you will see that it will work. I understand why the driver is written as it is. I'm just saying how to do it automatically.
This is nothing against the original ... |
Topic: How can I read ATXmega LOTNUM, WAFNUM and COORDx Register |
SZTRAD
Replies: 3
Views: 385
|
Forum: BASCOM-AVR Posted: Sun Feb 07, 2021 1:48 pm Subject: How can I read ATXmega LOTNUM, WAFNUM and COORDx Register |
It's on the NVM controller.
Either look at the specification in the catalog sheet or look here.
https://asf.microchip.com/docs/latest/xmegaa/html/nvm_8h.html
RS |
Topic: Rainbow INstruction difficulty on the XTiny 402 |
SZTRAD
Replies: 36
Views: 1579
|
Forum: BASCOM-AVR Posted: Sun Feb 07, 2021 10:38 am Subject: Rainbow INstruction difficulty on the XTiny 402 |
Mark
wouldn't it be better to use the R27 register if you already have the argument there and leave the decision to the main program according to the set processor?
Wouldn't it be possible to write ... |
|