Author |
Message |
Topic: xmega how redirect PWM to PortB |
mototest2
Replies: 5
Views: 459
|
Forum: BASCOM-AVR Posted: Sat Dec 05, 2015 11:45 am Subject: xmega how redirect PWM to PortB |
Hi guys
Plese help me how I can redirect for example timer Tce1 (pwm) to portb.3 ?
or other suggestion for achieve pwm on portb.3 ?
Config Tce1 = Pwm_topbot , Prescale = 256 , Comparea = Enable ... |
Topic: atxmega128a1u PWM works incorrectly |
mototest2
Replies: 4
Views: 380
|
Forum: BASCOM-AVR Posted: Wed Nov 11, 2015 2:02 pm Subject: atxmega128a1u PWM works incorrectly |
I discover that pin E.1 works only when I use 8bit mode timer :
Config Tce0 = Pwm , Prescale = 1024 , Comparea = Enabled , Compareb = Enabled , Comparec = Enabled , Compared = Enabled , Resolution ... |
Topic: atxmega128a1u PWM works incorrectly |
mototest2
Replies: 4
Views: 380
|
Forum: BASCOM-AVR Posted: Wed Nov 11, 2015 11:10 am Subject: atxmega128a1u PWM works incorrectly |
If nobody can't help me, I have one question:
how to redirect programatically PWM from portE.7 to portE.1 ?
possible it is with event system ? or other method ? |
Topic: atxmega128a1u PWM works incorrectly |
mototest2
Replies: 4
Views: 380
|
Forum: BASCOM-AVR Posted: Tue Nov 10, 2015 7:10 pm Subject: atxmega128a1u PWM works incorrectly |
After next experiments I see that PWM work in this xmega (but with high frequency) as below :
Tce0_ccA on port E.4
Tce0_ccB E.5
Tce0_ccC E.6
Tce0_ccD E.7
Tce1 ... |
Topic: atxmega128a1u PWM works incorrectly |
mototest2
Replies: 4
Views: 380
|
Forum: BASCOM-AVR Posted: Tue Nov 10, 2015 3:44 pm Subject: atxmega128a1u PWM works incorrectly |
Hi All
I use for test demo sample XMEGA_"single_slope_PWM.bas"
with atxmega128a1 PWM work good (PWM 256Hz) with below parameters :
'first enable the osc of your choice
Config Osc = Enabled , P ... |
Topic: printbin delay problem rs485 |
mototest2
Replies: 9
Views: 538
|
Forum: BASCOM-AVR Posted: Thu Jul 16, 2015 9:11 am Subject: printbin delay problem rs485 |
Thank you MWS, serialin number was wrong and buffering worked incorrectly , now work good
Regards
Bob |
Topic: printbin delay problem rs485 |
mototest2
Replies: 9
Views: 538
|
Forum: BASCOM-AVR Posted: Wed Jul 15, 2015 9:22 pm Subject: printbin delay problem rs485 |
now master don't send data because I send by terminal string "AA", but when master send "AA" problem is identical
I tested also with waitkey, I will test again
maybe terminal buffer don't work cor ... |
Topic: printbin delay problem rs485 |
mototest2
Replies: 9
Views: 538
|
Forum: BASCOM-AVR Posted: Wed Jul 15, 2015 9:08 pm Subject: printbin delay problem rs485 |
slave main loop
if I decrease delay 120ms then data are wrong
from terminal I send by rs485 string "AA" to slave ,next I wait for sending data from slave to Xmega
$crystal = 8000000
$regfile ... |
Topic: printbin delay problem rs485 |
mototest2
Replies: 9
Views: 538
|
Forum: BASCOM-AVR Posted: Wed Jul 15, 2015 1:00 pm Subject: printbin delay problem rs485 |
Yes I know ,I already use it and don't work
'rs485
Const Serial1_buffer_size = 10
Config Serialin1 = Buffered , Size = Serial1_buffer_size , Bytematch = All
Config Com1 = 41650 , Mode = Asynchro ... |
Topic: printbin delay problem rs485 |
mototest2
Replies: 9
Views: 538
|
Forum: BASCOM-AVR Posted: Wed Jul 15, 2015 12:39 pm Subject: printbin delay problem rs485 |
Hi all
I have problem with sending data by rs485
If I use 100ms delay, then second microcontroller receive data correctly (but not always):
Count = 1
Printbin Count
Waitms 100
Count = 2
... |
Topic: FT800 |
mototest2
Replies: 53
Views: 14145
|
Forum: BASCOM-AVR Posted: Fri Mar 13, 2015 9:29 am Subject: FT800 |
In your example is hard spi, HARD works well, can you show me your working example with SOFT SPI ? |
Topic: FT800 |
mototest2
Replies: 53
Views: 14145
|
Forum: BASCOM-AVR Posted: Fri Mar 13, 2015 8:53 am Subject: FT800 |
I ask, because my m128can don't work, maybe I have bad config spi ?
For test I use the same pins as hardware spi, but spi I config SOFT
I have :
Config Ft800 = Spi , Ftsave = 0 , Ftdebug = 0 , F ... |
Topic: FT800 |
mototest2
Replies: 53
Views: 14145
|
Forum: BASCOM-AVR Posted: Thu Mar 12, 2015 3:34 pm Subject: FT800 |
I have question, is possible use ISP SOFT for FT800 ? because I have one board without wires to SPI, I have only wires to JTAG ,maybe possible is connecting soft spi to jtag pins ? |
Topic: FT800 |
mototest2
Replies: 53
Views: 14145
|
Forum: BASCOM-AVR Posted: Thu Mar 12, 2015 11:48 am Subject: FT800 |
ok, thank you
yes I read CAN messages, but this is commercial project and I don't want speak about details on forum |
Topic: FT800 |
mototest2
Replies: 53
Views: 14145
|
Forum: BASCOM-AVR Posted: Thu Mar 12, 2015 8:58 am Subject: FT800 |
I have two qeestion yet for you, can I read coordinates x,y for pressed point on display ? because this is easy for deploy graphic elements on the display
and second question, in demo4 is screensaver ... |
|