Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 121 matches
www.mcselec.com Forum Index
Author Message
  Topic: MCP2221
SZTRAD

Replies: 0
Views: 148

PostForum: Various   Posted: Fri Mar 26, 2021 9:00 am   Subject: MCP2221
Hello, everyone.
A few questions were now about I2C communications. I don't know if anyone's ever made a reference here, but there's a pretty good MCP2221A circuit for testing, which will bridge the ...
  Topic: Question of 'AN #118 - I2C LCD and Keboard library'
SZTRAD

Replies: 7
Views: 542

PostForum: BASCOM-AVR   Posted: Wed Mar 24, 2021 4:20 pm   Subject: Question of 'AN #118 - I2C LCD and Keboard library'
Yes, it is.
The standard alphanumeric LCD is usable in this configurationwithout any problem.
Refresh for graphic is at the level of standard I2C graphic display.
RS
  Topic: Eram bit flipping at random
SZTRAD

Replies: 11
Views: 541

PostForum: Various   Posted: Tue Mar 16, 2021 3:33 pm   Subject: Eram bit flipping at random
Well,
I would add that I personally have proven myself to have init settings in Flash, and when the EEPROM content is corrupted, I load the data from the flash so that the device does not lose the s ...
  Topic: GetADC Conversion time on mega328
SZTRAD

Replies: 13
Views: 694

PostForum: BASCOM-AVR   Posted: Sun Mar 14, 2021 8:49 am   Subject: GetADC Conversion time on mega328
Hi EDC
if there was a question to me then in this case I do not need. But in other cases quite often I have to. And I must admit that often these 8 inputs are not enough.
The logical analyzer has ...
  Topic: Current supply
SZTRAD

Replies: 0
Views: 299

PostForum: Share your working BASCOM-AVR code here   Posted: Fri Mar 12, 2021 4:25 pm   Subject: Current supply
Greetings
Next sample program for xttiny.
A simple current supply with a fuse.
He's using CCL,TCD,ACI,ADC,DAC, so we've compiled a little bit.
I was also asked for an idea scheme and what it m ...
  Topic: GetADC Conversion time on mega328
SZTRAD

Replies: 13
Views: 694

PostForum: BASCOM-AVR   Posted: Fri Mar 12, 2021 8:21 am   Subject: GetADC Conversion time on mega328
Or use a clone of the logic analyzer that does a slightly better job than the oscilloscope in this case.
The advantage is also the higher sampling frequency and the possibility of automatic bus deco ...
  Topic: GetADC Conversion time on mega328
SZTRAD

Replies: 13
Views: 694

PostForum: BASCOM-AVR   Posted: Sun Mar 07, 2021 6:16 pm   Subject: GetADC Conversion time on mega328
Hi
At this prescaler about 242us
If you change it to 64 so 171us

RS
  Topic: Interrupt overflows being missed?
SZTRAD

Replies: 29
Views: 1218

PostForum: BASCOM-AVR   Posted: Sat Mar 06, 2021 12:01 pm   Subject: Interrupt overflows being missed?
I took your program and adjusted it a little bit.
I don't have time to compose a real application for testing, but it should probably work. All the settings are yours,so you know what you've been do ...
  Topic: Window Comparator Mode ADC0
SZTRAD

Replies: 2
Views: 366

PostForum: Share your working BASCOM-AVR code here   Posted: Sat Mar 06, 2021 9:38 am   Subject: Window Comparator Mode ADC0
Hi
A simple example of the ADC0 window comparator function.
I connected the two previously described PIT and EVENT systems to the ADC.
The program as designed to monitor the lion cell and can be ...
  Topic: var=PINx dynamic
SZTRAD

Replies: 6
Views: 368

PostForum: BASCOM-AVR   Posted: Wed Mar 03, 2021 11:24 am   Subject: var=PINx dynamic
Hi,
I can't imagine what you need it for. Perhaps I can only think of creating a library. It works for output values and I used it but not in Bascom. I assume Bascom assigns translation registers ba ...
  Topic: Interrupt overflows being missed?
SZTRAD

Replies: 29
Views: 1218

PostForum: BASCOM-AVR   Posted: Mon Mar 01, 2021 8:09 pm   Subject: Interrupt overflows being missed?
Witam EDC
ja to przeżyłem ponownie i zrozumiałem, ale dopiero po wysłaniu i nie będę masował pytania to nie byłoby fair. Chcę tylko powiedzieć, & ...
  Topic: Interrupt overflows being missed?
SZTRAD

Replies: 29
Views: 1218

PostForum: BASCOM-AVR   Posted: Mon Mar 01, 2021 7:10 pm   Subject: Interrupt overflows being missed?
Hey, EDC
I confess, I don't know how this works.
Timer0 never overflows, so the interrupt doesn't start.
Timer2 won't start at all, or am I wrong? If I remember anything in mathematics, it shoul ...
  Topic: ischarwaiting and interrup [solved]
SZTRAD

Replies: 5
Views: 417

PostForum: BASCOM-AVR   Posted: Sat Feb 27, 2021 8:49 am   Subject: ischarwaiting and interrup [solved]
Hello
colleague is right. The command tests the flag at position 7 of the status register.
If the ensuing loop is longer than the communication speed, the data will be lost. So, as colleague above ...
  Topic: Waveshare 4.2" E-paper display
SZTRAD

Replies: 13
Views: 599

PostForum: BASCOM-AVR   Posted: Thu Feb 25, 2021 2:42 pm   Subject: Waveshare 4.2" E-paper display
Hi
It works a little differently in color mode, but it doesn't matter now.
Depending on what you enter in registry 0 for BWR, then set the combination of VBD,DDX and CDI in registry 50. It controls ...
  Topic: Waveshare 4.2" E-paper display
SZTRAD

Replies: 13
Views: 599

PostForum: BASCOM-AVR   Posted: Wed Feb 24, 2021 9:18 pm   Subject: Waveshare 4.2" E-paper display
hello
Do you understand the code in "C"?
If you do, I'll wait a few days and try to write it down for AVR so you can bounce back. Unfortunately, it's not on my desk so I won't try it. But you'll b ...
 
Page 3 of 9 Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
All times are GMT + 1 Hour
Jump to: