Search found 447 matches

by dannyf
Fri Sep 22, 2023 1:27 pm
Forum: Off topic
Topic: Taking a look at STM32G0 series
Replies: 94
Views: 162290

Re: Taking a look at STM32G0 series

there are also clock generator chips for this sort of things. TI, OnSemi, and SI for example.

you may also look into PIC32 chips that has very sophisticated REFO modules.
by dannyf
Thu Sep 21, 2023 11:00 pm
Forum: Off topic
Topic: Taking a look at STM32G0 series
Replies: 94
Views: 162290

Re: Taking a look at STM32G0 series

a few suggestions. 1. using invertors is a good way. you want to use non-schmitt / non-bufferred gates. most people recommend single input single gate but I prefer nand gates myself - the other input can be used as on/off switch. 2. you may look into dividers as well - hc4060 for example. easy way t...
by dannyf
Thu Sep 21, 2023 12:07 pm
Forum: General discussion
Topic: Writing to GPIOs on two different ports at the same time?
Replies: 12
Views: 3269

Re: Writing to GPIOs on two different ports at the same time?

I know that I can dump them correctly if I write A0-11 first and then immediately A12
I would say that you found your solution already.

1. you do NOT need to write to two different ports at the same time;
2. you do need to write to numerous pins *sufficiently* fast.
by dannyf
Wed Sep 20, 2023 11:02 pm
Forum: General discussion
Topic: Writing to GPIOs on two different ports at the same time?
Replies: 12
Views: 3269

Re: Writing to GPIOs on two different ports at the same time?

For my use-case (writing addresses to an Atari 2600 cartridge), writing to the BSRR registers of the two ports in immediate sequence may not be fast enough.
maybe you should first explore if that assumption is correct - i find it hard to believe.
by dannyf
Wed Sep 20, 2023 7:18 pm
Forum: General discussion
Topic: Writing to GPIOs on two different ports at the same time?
Replies: 12
Views: 3269

Re: Writing to GPIOs on two different ports at the same time?

Is there an easy way to synchronize writes to GPIOs on two different ports so they happen at the same time? unless in some highly-specialized cases, the answer is no. two ways that I can think of: 1. you can use timer output compares to output up to 4 pin states. those OC pins can be on different p...
by dannyf
Wed Sep 20, 2023 4:12 pm
Forum: Off topic
Topic: Taking a look at STM32G0 series
Replies: 94
Views: 162290

Re: Taking a look at STM32G0 series

that pricing makes more sense.

seems to come down to HSE vs. LSE: if you need HSE, pick 002a; and if you need LSE, pick 002b.

for tssop20 only.
by dannyf
Tue Sep 19, 2023 10:24 pm
Forum: Off topic
Topic: Taking a look at STM32G0 series
Replies: 94
Views: 162290

Re: Taking a look at STM32G0 series

The 002b seemed like a G0 competitor. Sacrificing osc32_out for osc_out is t a good tradoff.

And at 50c/1, it isn't price competitive vs the G0, and definitely not vs the 002a part..
by dannyf
Wed Sep 13, 2023 1:17 am
Forum: Off topic
Topic: Taking a look at STM32G0 series
Replies: 94
Views: 162290

Re: Taking a look at STM32G0 series

PY32 got it right I think.
an unscientific comparison of the PY32 vs. G030: https://dannyelectronics.wordpress.com/ ... stm32g030/

I think the PY32 is hard to beat for its value proposition.
by dannyf
Sun Sep 10, 2023 3:13 pm
Forum: Projects
Topic: SoftPwmSTM32 [Libray]
Replies: 16
Views: 12476

Re: SoftPwmSTM32 [Libray]

stm makes a led1642 - 16 channel pwm generator. probably a mcu in its heart.

TI has an almost identical part as well. in tssop packaging so more user friendly.
by dannyf
Sun Sep 10, 2023 3:00 pm
Forum: Projects
Topic: SoftPwmSTM32 [Libray]
Replies: 16
Views: 12476

Re: SoftPwmSTM32 [Libray]

I wonder if there are dedicated pwm chips that you can use for something like this.
wonder no more - the first return from google suggests LT8500: 48-channels, 12-bit resolution, spi interface, ...

Go to advanced search