Search found 5 matches

by timdf911
Sun Sep 10, 2023 5:25 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: STM32F401 with W5100 shield
Replies: 0
Views: 11633

STM32F401 with W5100 shield

Hi, I wrote some code for a simple webserver project running on a Mega2560 with a W5100 shield - it works fine. So I thought I'd port the code over to a Nucleo 64 F401 but have been running into problems. The Nucleo doesn't have the 6 pin ISP connector to interface to the W5100 shield - so I've foll...
by timdf911
Fri Jan 20, 2023 4:04 pm
Forum: General discussion
Topic: Default master clock source
Replies: 2
Views: 1031

Re: Default master clock source

Ok, I've made some progress and now have my Nucleo board running with a 16MHz external xtal. I used Cubemex to generate the clock tree numbers but for some reason it's running twice as fast as it should. EG if I set a baud rate of 57600 it actually generates 115200 Any ideas as to where I've gone wr...
by timdf911
Fri Jan 20, 2023 11:10 am
Forum: General discussion
Topic: Default master clock source
Replies: 2
Views: 1031

Default master clock source

Hi guys I little while back I started a thread about how to measure frequencies up to 30MHz with 1kHz resolution using a STM32F401 Nucleo board. After a lot of experimentation I was successful, but have now run into another problem. I suspect by default I'm using the internal 16MHz RC oscillator whi...
by timdf911
Sun Dec 04, 2022 9:50 pm
Forum: General discussion
Topic: Timer config for frequency measurement
Replies: 7
Views: 1898

Re: Timer config for frequency measurement

Hi guys thanks for your comments - all understood and I've been making some progress using Cubemx and cubeide to control two timers. One generates a 100mS trigger which is used to capture the current count of the other. Subtracting old from new counts gives me the number of pulses (cycles) in 100mS....
by timdf911
Thu Dec 01, 2022 8:02 pm
Forum: General discussion
Topic: Timer config for frequency measurement
Replies: 7
Views: 1898

Timer config for frequency measurement

Hi guys 1st post but long term lurker ! I've been trying to update a design I originally did 7 years ago which used a Teensy processor and was written entirely in C using the Atmel environmanr. I've recently discovered the delights of an STM32F401re and have started to port the code using stm32duino...

Go to advanced search