Search found 105 matches

by AndrewBCN
Fri May 28, 2021 2:52 am
Forum: Projects
Topic: STM32 GPSDO
Replies: 57
Views: 961668

Re: STM32 GPSDO

Hi dannyf, Very interesting discussion! So I wrote the code below, compiled it and uploaded it to an STM32F411, and got the results I sort of expected. :) /* Floating point math test on the STM32 * Do I need to worry? */ // Some global variables double dbten=0, dbhun=0, dbtho=0; // uint64_t x1, x2; ...
by AndrewBCN
Thu May 27, 2021 9:12 pm
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 21045

Re: Tiny 2040 - a tiny RP2040 stamp

... PLUS 92 additional pages of projects at an average of 8 projets per page = 736 more!!! Uh, no, https://github.com/search?q=rp2040 returns 212 repository results, as anybody can verify. And many of these are long existing repositories that have added the word "rp2040" for one reason or...
by AndrewBCN
Thu May 27, 2021 4:38 pm
Forum: Projects
Topic: STM32 GPSDO
Replies: 57
Views: 961668

Re: STM32 GPSDO

the use of double is convenient but costly -> not much better than 5 or 6 digits. what I often do is to scale up to an integer. so 1.234 for example would be represented as 1234. in your case it is actually much easier as your numbers are naturally scaled up -> they are calculated from count differ...
by AndrewBCN
Thu May 27, 2021 4:11 pm
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 21045

Re: Tiny 2040 - a tiny RP2040 stamp

'multi-core' is the other thing that's getting into pico. my guess is soon more socs will start to have the same features. I think you meant "MCUs" and not "SOCs" in that statement, since multi-core SOCs are rather commonplace nowadays. Multi-core MCUs have been available for ma...
by AndrewBCN
Thu May 27, 2021 3:47 pm
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 21045

Re: Tiny 2040 - a tiny RP2040 stamp

I think it is a bit presumptions to talk about what others think about the board. ... My comment was not about the Pico board , but about the RP2040 chip . "Raspberry Pi Pico is a tiny, fast, and versatile board built using RP2040, a brand new microcontroller chip designed by Raspberry Pi in t...
by AndrewBCN
Thu May 27, 2021 7:40 am
Forum: Projects
Topic: STM32 GPSDO
Replies: 57
Views: 961668

Version v0.03h - measurement resolution

good to know. for that calculation, you may want to see if you want to incorporate rounding; and if you want to display decimal points. Both can be done fairly easily. Hi dannyf, Great minds think alike! :!: For the 10s buffer I show 1 decimal, for the 100s buffer I show 2 decimals, and for the 100...
by AndrewBCN
Thu May 27, 2021 7:15 am
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 21045

Re: Tiny 2040 - a tiny RP2040 stamp

...maybe break-even is good enough and that future rPis may incorporate the RP2040 directly on the board . ... I am sorry to say but I believe that would be just absurd. Why make the RPi more complicated and more expensive, just to add a redundant "feature" that nobody asked for and that ...
by AndrewBCN
Wed May 26, 2021 2:57 pm
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 21045

Re: Tiny 2040 - a tiny RP2040 stamp

i see it partly a matter of preference... ... Yes, for a simple hobby project it is very much a matter of preference or in other words a totally subjective choice, since any MCU will do, and there are always people willing to try the latest chip on the market, specially if it is actively promoted o...
by AndrewBCN
Wed May 26, 2021 7:34 am
Forum: Projects
Topic: STM32 GPSDO
Replies: 57
Views: 961668

Re: STM32 GPSDO

... 6. I would just record the counts in the ring buffer (using the typedef in #1): much easier to calculate frequency and eliminates the accumulation of rounding errors. hope that helps. Hi dannyf, Regarding 6. I do record the counts in the ring buffers, because as you noted, it makes it much easi...
by AndrewBCN
Tue May 25, 2021 4:00 pm
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 21045

Re: Tiny 2040 - a tiny RP2040 stamp

... For example, were I wishing to monitor 8 analog signals with the rPi, I would only require a RP2040 running uPython and an analog mux such as the CD74HC4051. ... Or you could use a $5 WeAct STM32F411CEU6 "Black Pill" and use any 8 of its 10 available 12-bit ADC channels, and avoid the...

Go to advanced search