Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 852 matches
www.mcselec.com Forum Index
Author Message
  Topic: Prescaler with XMEGA16A4
hgrueneis

Replies: 9
Views: 230

PostForum: BASCOM-AVR   Posted: Sun May 24, 2020 9:44 pm   Subject: Prescaler with XMEGA16A4
@MWS,
again , thank you for your expertise and understanding,. I just screwed up...
Maybe senior moment...
Best regards
Hubert
  Topic: Prescaler with XMEGA16A4
hgrueneis

Replies: 9
Views: 230

PostForum: BASCOM-AVR   Posted: Sun May 24, 2020 3:56 pm   Subject: Prescaler with XMEGA16A4
@MWS,

I am sorry for the lack of research I did. Should have explored a lot more, but time is sometimes limited. No excuse, I know.
Best regards
Hubert
  Topic: Prescaler with XMEGA16A4
hgrueneis

Replies: 9
Views: 230

PostForum: BASCOM-AVR   Posted: Fri May 22, 2020 8:28 pm   Subject: Prescaler with XMEGA16A4
MWS,

do not think that I have a grudge against you, I just said, that you might consider that others than you have
much less knowledge of BASCOM than you. I thank you for reminding me of the x2 ( ...
  Topic: Prescaler with XMEGA16A4
hgrueneis

Replies: 9
Views: 230

PostForum: BASCOM-AVR   Posted: Fri May 22, 2020 4:55 pm   Subject: Prescaler with XMEGA16A4
MWS,

thank you for telling me the solution. I might not be as good as you in Bascom, but I have a lot of other hobbies and Bascom is only one of them.
Basically I started with microprocessors in 7 ...
  Topic: Prescaler with XMEGA16A4
hgrueneis

Replies: 9
Views: 230

PostForum: BASCOM-AVR   Posted: Fri May 22, 2020 12:52 pm   Subject: Prescaler with XMEGA16A4
When Config SPIC or SPID like following, then clk8 is also possible without an error on Compile!

Config Spid = Hard , Master = Yes , Mode = 1 , Clockdiv = Clk8 , Data_order = Msb , Ss = None

Th ...
  Topic: M1284P Odd Reset Issue
hgrueneis

Replies: 20
Views: 374

PostForum: BASCOM-AVR   Posted: Tue May 12, 2020 12:02 am   Subject: M1284P Odd Reset Issue
Also, I always have a 10K resistor to VCC on the reset. Caps on reset are a no no!
Hubert
  Topic: M1284P Odd Reset Issue
hgrueneis

Replies: 20
Views: 374

PostForum: BASCOM-AVR   Posted: Mon May 11, 2020 11:59 pm   Subject: M1284P Odd Reset Issue
With crystals I had bad results, as some of them (even the caps where according to specs) would not start up correctly.
Since then I am only using external oscillators or internal with OSCCAL to get ...
  Topic: Reset micro command
hgrueneis

Replies: 13
Views: 720

PostForum: BASCOM-AVR   Posted: Tue Mar 17, 2020 9:48 pm   Subject: Reset micro command
In the many years I have used Bascom (and asm) and used it for a variety of boards and applications, I have never ever needed to reset the processor.
If that is needed, then there is a major problem ...
  Topic: Problems with Print and Bytematch
hgrueneis

Replies: 16
Views: 463

PostForum: BASCOM-AVR   Posted: Thu Mar 12, 2020 11:19 am   Subject: Problems with Print and Bytematch
Paul,

I would first try to replace the wait 4 with a few nops.

"Do

Wait 4

Loop"

Best regards
Hubert
  Topic: Using both hardware and software TWI/I2C at the same time?
hgrueneis

Replies: 13
Views: 452

PostForum: BASCOM-AVR   Posted: Sun Mar 08, 2020 7:54 pm   Subject: Using both hardware and software TWI/I2C at the same time?
JC'

all that is needed, is to switch the SDA line from one to the other....easily done.
Not much of an effort (chip or mosfet or...), and it requires only one line.

Best regards
Hubert
  Topic: Using both hardware and software TWI/I2C at the same time?
hgrueneis

Replies: 13
Views: 452

PostForum: BASCOM-AVR   Posted: Sun Mar 08, 2020 10:18 am   Subject: Using both hardware and software TWI/I2C at the same time?
JC,

how about multiple slaves with different addresses on one TWI line?

Best regards
Hubert
  Topic: usung goto in bytematch sub
hgrueneis

Replies: 3
Views: 203

PostForum: BASCOM-AVR   Posted: Fri Mar 06, 2020 2:39 pm   Subject: usung goto in bytematch sub
Paul,
yes there is the problem of leaving the return address on the stack.
Depending on how many subs are stacked and led to this one, it gives the processor the wrong return, which may turn out fat ...
  Topic: Bytematch error
hgrueneis

Replies: 3
Views: 182

PostForum: BASCOM-AVR   Posted: Sun Mar 01, 2020 10:23 pm   Subject: Bytematch error
Paul,

HELP:

'The following label names must be used when you check for any value:


Serial0ByteReceived (for SERIALIN or the first UART/UART0)'

The program jumps to that label after a ...
  Topic: Bytematch error
hgrueneis

Replies: 3
Views: 182

PostForum: BASCOM-AVR   Posted: Sun Mar 01, 2020 9:34 am   Subject: Bytematch error
Paul.
look up the 'config serialin' help.

Best regards
Hubert
  Topic: up to 20 Atmega88PA-AU simultaneously via ISP interface prog
hgrueneis

Replies: 4
Views: 210

PostForum: Various   Posted: Sun Feb 16, 2020 9:21 am   Subject: up to 20 Atmega88PA-AU simultaneously via ISP interface prog
The only way I can think of a solution is following.
Have 20 programming plugs, which you can switch electronically with a multiplexer and program them one after the other. You would still have to se ...
 
Page 1 of 57 Goto page 1, 2, 3 ... 55, 56, 57  Next
All times are GMT + 1 Hour
Jump to: