Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY

$
0
0
looks like a nice system. I advise to use 2076 to compile the project and test it. but i also advise to send the interrupt code to support. One mistake is to check for a value : if b30 = 30 then Something It would be better to use : if b30>=30 then Something regarding xmega : these have incompatible ramp registers compared to normal AVR chips. In Xmega the RAMPZ is part of the pointer and in normal AVR it is only used for code memory pointer. This means that rampZ must be saved/restored in the interrupt routine. That is why it is important you use an up to date bascom version.

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>