Search found 128 matches

by ddrown
Sun Jul 16, 2017 4:57 pm
Forum: IDE's
Topic: STM32CubeMX generates gcc makefiles now
Replies: 10
Views: 143

Re: STM32CubeMX generates gcc makefiles now

I used this with my latest project. It got the name of the USB middleware filenames wrong, but otherwise worked.
by ddrown
Mon Jul 03, 2017 1:54 am
Forum: Custom design boards
Topic: STM32F030 custom board
Replies: 23
Views: 2316

Re: STM32F030 custom board

I've been letting these boards run to see what happens. The TCXO's aging spec is 1ppm/year, which is about 0.083ppm/month (it's not a linear thing, but this is a decent estimation). I set the calibration on June 7th (a little less than a month ago), and it's changed in frequency by about 0.060ppm si...
by ddrown
Tue Jun 27, 2017 9:08 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 20
Views: 347

Re: Install STM32duino on Raspbian?

Well https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/283 is a ARMv7 version, I tried this one now but it gives me the following error. It's says it can't find the shared libraries but they are in home/pi/Arduino/hardware/stm/tools/linux/stlink/st-flash/lib /home/pi/Arduino/hardware/stm/to...
by ddrown
Thu Jun 15, 2017 9:43 pm
Forum: Libary request
Topic: STM32 internal temperture sensor library?
Replies: 4
Views: 157

Re: STM32 internal temperture sensor library?

There's an example under A_STM32_Examples > General > InternalTempSensor, have you tried that?
by ddrown
Wed May 03, 2017 6:28 pm
Forum: Problems with libraries
Topic: RTC Library using LSE
Replies: 19
Views: 2317

Re: RTC Library using LSE

I've been experimenting with a LSE and I have some data: https://dan.drown.org/stm32/temp-lse.png At the peak you can see it's around 78.8ppm off (around 7 seconds per day day drift). After setting the RTC's calibration, I'm getting around 70ms per day (around 0.8ppm) https://dan.drown.org/stm32/rtc...
by ddrown
Sat Apr 29, 2017 7:15 pm
Forum: Projects
Topic: free logic analizer
Replies: 21
Views: 1324

Re: free logic analizer

I posted my sump device code here https://github.com/ddrown/stm32-sump

It's based on stmcubemx and uses dma and a timer to sample the gpio.
by ddrown
Mon Apr 24, 2017 3:36 am
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 30
Views: 1002

Re: Problem with measuring very short pulses

One way to do this is to use just the MISO pin of a SPI port: #include <SPI.h> void setup() { // Setup SPI 1 SPI.begin(); //Initialize the SPI_1 port. SPI.setBitOrder(MSBFIRST); // Set the SPI_1 bit order SPI.setDataMode(SPI_MODE0); //Set the SPI_2 data mode 0 SPI.setClockDivider(SPI_CLOCK_DIV128); ...
by ddrown
Wed Apr 12, 2017 8:36 pm
Forum: Projects
Topic: free logic analizer
Replies: 21
Views: 1324

Re: free logic analizer

with stm32f1 it would seem it may even be able to monitor at spi speeds (i.e. mhz), could be interesting to test that I have a proof of concept based on CubeMX on the blue pill board that uses a timer to drive DMA from GPIOA at 6MHz. It speaks the SUMP protocol over the USB port. If I use hand-code...
by ddrown
Thu Mar 30, 2017 6:58 pm
Forum: Generic STM32F103
Topic: Hackaday post/video on STM32duino
Replies: 4
Views: 306

Hackaday post/video on STM32duino

https://hackaday.com/2017/03/30/the-2-3 ... debugging/

They're recommending the new HAL based core and even go into getting debugging working
by ddrown
Thu Mar 23, 2017 8:50 pm
Forum: Custom design boards
Topic: STM32F030 custom board
Replies: 23
Views: 2316

Re: STM32F030 custom board

These are actually nice OCXO's http://www.ebay.com/itm/NEW-10MHz-OCXO-DIP-Micro-Crystal-x1pc-5x10E-11-Oven-Oscillator-OCVCXO-GPSDO-/252308905189 DS http://www.microcrystal.com/images/_PDF/7_Oven-Controlled-Oscillator/OCXO.pdf Uses less than 80ma@20c , 300ma@startup (10 sec) , they're 5v supplied Th...