Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

AtMega32u2 vs AtMega16U2 with USB Addon

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Unsupported versions
View previous topic :: View next topic  
Author Message
Peter Huijssen

Bascom Member



Joined: 09 Apr 2004
Posts: 46

netherlands.gif
PostPosted: Sat Mar 19, 2022 11:15 pm    Post subject: AtMega32u2 vs AtMega16U2 with USB Addon Reply with quote

Hello all,

I'm trying to port software I wrote for an AtMega32U2 to an AtMega16U2.
The Xtal is 1600000

My software won't compile for a 16U2. Errormessage :

Error : 377 Line : 654 Unexpected non numeric characters found [PLLP0] , in File : usbinc.bas
This refers to the ' Pll_start_auto ' in which the frequency divider for the PLL.

In my case it should be divided by 2 but somehow something goed wrong.

If I change xtal to 8MHz it compiles fine.

Does someone recognize this?

Thanks in advance !

Peter

(BASCOM-AVR version : 2.0.8.1 , Latest : 2.0.8.5 )
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Unsupported versions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum