Search found 94 matches

by mlundin
Tue May 11, 2021 10:31 am
Forum: Projects
Topic: My minicomputer based on bluepill
Replies: 7
Views: 4370

Re: My minicomputer based on bluepill

Checked some more, %0 is in a register so mov should be used

"mov r0,%0 \n"

What is this code supposed to achive, generate a sequence of set/reset depending on scl variable, or simple set reset the pin ?
Are there specific timing requirements ?
by mlundin
Tue May 11, 2021 9:42 am
Forum: Projects
Topic: My minicomputer based on bluepill
Replies: 7
Views: 4370

Re: My minicomputer based on bluepill

It is helpful to see the error messages. Second what are these videoDown and videoUp , macros or funtions ? Third in general the compiler mostly generates more efficient code than hand coded asm except in very special cases. There is usually more to gain by cleaning up the C code. Edit: "ldr r0...
by mlundin
Mon May 10, 2021 10:15 am
Forum: Projects
Topic: STM32 GPSDO
Replies: 57
Views: 941449

Re: STM32 GPSDO

I dont quite understand how you measure the frequency and relates it to the GPS timing (1pps). Reading the code, briefly, it seems you are using the HSE as reference, not GPS ??
by mlundin
Sat May 08, 2021 4:43 pm
Forum: General discussion
Topic: NUCLEO-F767ZI Code builds ok, uploads, but doesn't seem run
Replies: 7
Views: 3483

Re: NUCLEO-F767ZI Code builds ok, uploads, but doesn't seem run

Yes, was about to comment on the LTO setting, I have never used it and there has been reports of issues with that setting.
Great you are moving now.
by mlundin
Sat May 08, 2021 6:15 am
Forum: General discussion
Topic: NUCLEO-F767ZI Code builds ok, uploads, but doesn't seem run
Replies: 7
Views: 3483

Re: NUCLEO-F767ZI Code builds ok, uploads, but doesn't seem run

Should work, and the build settings for compiling the code ?
by mlundin
Fri May 07, 2021 7:31 pm
Forum: General discussion
Topic: NUCLEO-F767ZI Code builds ok, uploads, but doesn't seem run
Replies: 7
Views: 3483

Re: NUCLEO-F767ZI Code builds ok, uploads, but doesn't seem run

We need to see the code of the simplest sketches you tested in order to say anything more to help. Also what is the board connected to ? Usually we start with "Hello World" and "Blinky" and "Serial Echo" before trying advanced web server to make sure everything basic is...
by mlundin
Fri May 07, 2021 7:05 pm
Forum: General discussion
Topic: STM32 timer interrupt
Replies: 6
Views: 9335

Re: STM32 timer interrupt

Well timer interrupts are tricky stuff ... but reading the documentation surely helps ...

https://github.com/stm32duino/wiki/wiki ... er-library
by mlundin
Fri May 07, 2021 7:21 am
Forum: Projects
Topic: STM32 GPSDO
Replies: 57
Views: 941449

Re: STM32 GPSDO

Nice work, but the long term accuracy is not quite that easy, you must consider whether the clock is in PPS disciplined mode, in which case the long tern drift is equal to that of the GPS satellites, or if its in holdover mode, non disciplined ... thats another matter with temperature induced variat...
by mlundin
Tue May 04, 2021 7:18 pm
Forum: General discussion
Topic: STM32 F407VET6 and BME280 I2C how to choose SDA and SCL pins?
Replies: 14
Views: 7026

Re: STM32 F407VET6 and BME280 I2C how to choose SDA and SCL pins?

But there is data returned from the BME is seems ?

Try just using the single BME280 sensor and print data through a serial console.

What board are you using ?
by mlundin
Tue May 04, 2021 4:25 pm
Forum: General discussion
Topic: Programming STM32L432 using Arduino IDE
Replies: 3
Views: 2521

Re: Programming STM32L432 using Arduino IDE

The Nucleo L432 has an onboard STLink making it possible, or even easy, to program.
The boot rom also has support for USB loading of flash. Both these methods are supported by
stmduino cores in Arduino IDE.

Go to advanced search