Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 127 matches
www.mcselec.com Forum Index
Author Message
  Topic: how entering sleep mode
SZTRAD

Replies: 32
Views: 1180

PostForum: BASCOM-AVR   Posted: Mon Jan 04, 2021 12:51 pm   Subject: how entering sleep mode
You need to draw by hand how to control those relays. Feel free to involve one output so that we are in the picture
  Topic: how entering sleep mode
SZTRAD

Replies: 32
Views: 1180

PostForum: BASCOM-AVR   Posted: Mon Jan 04, 2021 8:11 am   Subject: how entering sleep mode
Hello
try to use a bistable relay and turn off the processor completely if I understood correctly you can do so. If you don't want to waste time designing shields and disrupting everything, including ...
  Topic: Attiny 412 TCD and event system
SZTRAD

Replies: 2
Views: 741

PostForum: Share your working BASCOM-AVR code here   Posted: Sun Jan 03, 2021 9:54 am   Subject: Attiny 412 TCD and event system
Greetings to all
Generating a signal on the output pin without loading the CPU power when using the event system. It can be used with all processors that contain a TCD timer.
More in the program
(I ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Sat Aug 15, 2020 8:37 am   Subject: Clock frequency
Unfortunately, the price of the resonator (crystal is out of the question for 14pin circuits) exceeds the price of the circuit itself twice, and I'm not saying that at 5V there are already saffron.
W ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Fri Aug 14, 2020 12:37 pm   Subject: Clock frequency
Ok I understood it, I will add it wrong in the model example (see above) three 0 before and I will get the result 0.1181640625. So how AS got the value -7 for SIGROW_OSC20ERR3V. I have measured that t ...
  Topic: PWM & xtiny (ATTINY3217)
SZTRAD

Replies: 14
Views: 704

PostForum: BASCOM-AVR   Posted: Fri Aug 14, 2020 10:15 am   Subject: PWM & xtiny (ATTINY3217)
Well, I'll pay extra and dare I say I'm not alone. I'm used to paying for good things.
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Fri Aug 14, 2020 10:03 am   Subject: Clock frequency
Well, it's also interesting that he doesn't remember the manual correction after the restart, even though they write in the data sheet that they do.
I just sent how it can be changed, now I'm prepari ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Thu Aug 13, 2020 2:50 pm   Subject: Clock frequency
So setting the OSC20MCALIBA register and thus the frequency of the oscillator is simple.
If someone needs it, it can be done like this in bascom (this will raise the frequency from the company's 19.6 ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Thu Aug 13, 2020 9:05 am   Subject: Clock frequency
I understood what you meant, just a little later than usual. Smile
I will try the dependence of the frequency on the supply voltage of what it actually does. My point is that you actually calculate all ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Wed Aug 12, 2020 8:34 pm   Subject: Clock frequency
I'm sorry I translated it and understood if someone read what was here.

It will be because there are actually 4 options (2 bits) and here are 5 options, so you have no way to handle it. I forgot th ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Wed Aug 12, 2020 2:28 pm   Subject: Clock frequency
She is not a mistake according to the help there is only a 20mhz option. That's why I asked if it was not supported. But I know about switching fuses, but if you need to set up a prescaler, the choice ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Wed Aug 12, 2020 8:36 am   Subject: Clock frequency
Hello Mark
I am aware that this is not a support point for the system, but since I have experienced that a lot of people run into the same problem and then solve the same thing unnecessarily and over ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Tue Aug 11, 2020 11:50 am   Subject: Clock frequency
However, I wrote in the message above that the value in the calibration register does not correspond to what they have stored there and that it will probably be some strange.
That's why I put a list ...
  Topic: PWM & xtiny (ATTINY3217)
SZTRAD

Replies: 14
Views: 704

PostForum: BASCOM-AVR   Posted: Tue Aug 11, 2020 11:46 am   Subject: PWM & xtiny (ATTINY3217)
I probably don't understand what you're talking about, but the advantage of Bascom and its biggest advantage is that you don't really have to change anything and adjust it manually. The environment wi ...
  Topic: Clock frequency
SZTRAD

Replies: 25
Views: 1134

PostForum: BASCOM-AVR   Posted: Tue Aug 11, 2020 11:17 am   Subject: Clock frequency
The value of 9E is 8bit right? The actual value is 1E, 8 and 7 bits you have to mask.
Based on FREQSEL in FUSE.OSCCFG, you only select the fundamental frequency. The calibration is taken from the CLK ...
 
Page 7 of 9 Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
All times are GMT + 1 Hour
Jump to: