Quantcast
Channel: MCS Electronics Forum
Browsing all 20710 articles
Browse latest View live

BASCOM-AVR : 3 PWM on M324P : NEWTOPIC

Hi All, I have problem to configure the 3 PWM on M324P: [code:1:700e51add3] $regfile = "m324pdef.dat" $crystal = 8000000 $hwstack = 40 $swstack = 30 $framesize = 40 Config Timer1 = Pwm , Pwm = 8 ,...

View Article


BASCOM-AVR : ATXMEGA USART problem : REPLY

[quote:ee9db7a39e="kulisek"]COM1 and COM4 is OK[/quote:ee9db7a39e] Surely not, COM1 & COM3 works, but not COM2 & COM4. The XMega32E5 provides one UART for PortC and one for PortD, other XMegas...

View Article


Various : RN-171 WiFly module : REPLY

Thanks for sharing your experience Dave ! If you don't mind can you please post your Bascom code? Thank you in advance, Olivier

View Article

BASCOM-AVR : ATXMEGA USART problem : REPLY

But here [url]http://avrhelp.mcselec.com/index.html?configcomx.htm[/url] is written COM2 - UART_C1 PORTC.7 PORTC.6 and I need PC6/7 for it

View Article

BASCOM-AVR : Problem Including Bootloader Code in Application Program : REPLY

Example files attached. Please note how "Boot_ATmega128.bas" correctly generates output binary and hex files and "Boot_Xmega256A3U.bas" does not. Best regards.

View Article


BASCOM-AVR : xm128a1udef.dat : REPLY

The same (chip ID) is true for XmegaXXXA3 and A3U and probably others. Bascom programmer is not aware of this and flags a warning. Best regards

View Article

BASCOM-AVR : xm128a1udef.dat : REPLY

yes it is odd that the chips is not binary compatible, but has the same chip ID. I did change the programmer so it just looks at the $regfile.

View Article

BASCOM-AVR : ATXMEGA USART problem : REPLY

it is as MWS says. if you look in the PDF you will see that RXD and TXD are both on pc2/3 and pc6/7. Some xmega have a remap register where you can remap pins. for example to remap the UART pins from...

View Article


BASCOM-AVR : Problem Including Bootloader Code in Application Program : REPLY

The combined use of the old $Boot and $Inc is very nice. I found the problem and changed it. it will be in the next update. as a workaround you can merge the hex files.

View Article


BASCOM-AVR : ATXMEGA USART problem : REPLY

[quote:2a0a0efdd7="kulisek"]But here [url]http://avrhelp.mcselec.com/index.html?configcomx.htm[/url] is written COM2 - UART_C1 PORTC.7 PORTC.6 and I need PC6/7 for it[/quote:2a0a0efdd7] Surprise,...

View Article

Share your working BASCOM-AVR code here : NOKIA-3310/5110 LCD library : REPLY

@eniom : no that is not the reason. i can not see a problem in the lib. i advise : - to use a vport (config vport) for the lcd control. this is better for xmega. - check what works with the lcd and...

View Article

BASCOM-AVR : ATXMEGA USART problem : REPLY

MWS seems we wrote at the same time :D

View Article

BASCOM-AVR : ATXMEGA USART problem : REPLY

[quote:3bd89b1cd5="albertsm"]MWS seems we wrote at the same time :D[/quote:3bd89b1cd5] Well. you made it first to the finishing line :D

View Article


BASCOM-AVR : ATXMEGA USART problem : REPLY

maybe because the server is closer at my home :wink:

View Article

BASCOM-AVR : 3 PWM on M324P : REPLY

Hi All, In old time, i have writed this for M644P (and run): [code:1:7885b498fd] Config Timer1 = Pwm , Prescale = 1 , Pwm = 8 , Compare A Pwm = Clear Down , Compare B Pwm = Clear Down Config Timer2 =...

View Article


Various : RN-171 WiFly module : REPLY

Olivier There really isn't any code needed. I just used a terminal program to configure the wifly. Then a PC program written in xojo to connect over the internet. I don't use the wifly anymore because...

View Article

Various : RN-171 WiFly module : REPLY

Thank you for your fast feedback Dave ! Will check to use the µC in place of the terminal program. cheers, Olivier

View Article


BASCOM-AVR : Using Inkey (# var) and Input(# var) : NEWTOPIC

Hello I try to prepare function, where can I choise number of COM port like variable. Example: [code:1:836d90e7da]Function r_data(byval data_f as string, byval Cl_port as byte) as string Local data_f...

View Article

Share your working BASCOM-AVR code here : NOKIA-3310/5110 LCD library : REPLY

Hello Mark, First, please accept my apology for you having to tell me twice to use a Virtual Port when interfacing LCD's to XMEGA. That was exactly the problem for my hardware setup in this case of...

View Article

BASCOM-AVR : XMega USB Support : NEWTOPIC

Hi, I'd like to ask when do you plan to release XMega USB support? Best regards Mirek [b:14f1ff4199][color=red:14f1ff4199](BASCOM-AVR version : 2.0.7.7 )[/b:14f1ff4199][/color:14f1ff4199]

View Article
Browsing all 20710 articles
Browse latest View live


Latest Images