Search found 180 matches

by ozcar
Fri Feb 14, 2025 6:21 pm
Forum: STM32F4 based boards
Topic: Dead STM32F407VET6 "Black board"
Replies: 1
Views: 9203

Dead STM32F407VET6 "Black board"

Greetings,

I'm posting this in case it might be useful to somebody - how to avoid the "mistakes" I made.

Years ago I got a few STM32F407VET6 "Black boards", which are as described here:

https://os.mbed.com/users/hudakz/code/STM32F407VET6_Hello/shortlog/

I have not used them for any serious ...
by ozcar
Thu Aug 08, 2024 8:04 pm
Forum: PR's bugs and enhancements
Topic: STM32G431CBU6 (and others) : USARTs : how to declare only Rx pin
Replies: 14
Views: 22548

Re: STM32G431CBU6 (and others) : USARTs : how to declare only Rx pin


some of the features of the USARTs (from the reference manual of your G431, a very interesting document ! ) :
• Separate enable bits for transmitter and receiver
...


I don't know anything specific about G431, but there are many hardware features that STM32DUINO does not support, even for F103 ...
by ozcar
Sun Jul 14, 2024 8:17 pm
Forum: General discussion
Topic: Discharging the battery for the FSE clock
Replies: 20
Views: 152269

Re: Discharging the battery for the FSE clock



I've seen that there are STM32F411-based boards https://fr.aliexpress.com/item/1005006127461676.html?spm=a2g0o.productlist.main.1.29b3UriPUriPFg&algo_pvid=6335e4ed-da8e-47b4-9bd1-d188e2c38ab2&algo_exp_id=6335e4ed-da8e-47b4-9bd1-d188e2c38ab2-0&pdp_npi=4%40dis%21EUR%215.88%210.99%21%21%2145.34%217 ...
by ozcar
Sat Jul 13, 2024 6:40 pm
Forum: General discussion
Topic: Discharging the battery for the FSE clock
Replies: 20
Views: 152269

Re: Discharging the battery for the FSE clock

If you have a spare ADC capable GPIO, maybe you could connect VBAT to that and then periodically enable the pull-down (to give it some load) and then read the voltage.

This is not something I have done though.
by ozcar
Mon Apr 29, 2024 3:31 am
Forum: General discussion
Topic: STM32 Pinout Polarity
Replies: 5
Views: 21855

Re: STM32 Pinout Polarity

For some other processors GPIO pins may not have symmetrical output capability. For example, they might be able to sink more current than they can source, and that could influence the way you might connect a LED to them.

However for the STM32 processors that I have used, the datasheets indicate ...
by ozcar
Sun Apr 28, 2024 4:00 am
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 8
Views: 27685

Re: Adafruit Nexopixel Library not working...

All white is an indication that the pulse durations are too long, resulting in every bit being interpreted as “1”. I looked at the Adafruit library some years ago, and the timing was a bit out, but the pulses were actually on the short side, which could cause the opposite problem of all LEDs off. In ...
by ozcar
Sun Mar 31, 2024 6:25 am
Forum: General discussion
Topic: Hardware Serial returning gibberish.
Replies: 4
Views: 24409

Re: Hardware Serial returning gibberish.

Try

Code: Select all

Serial.write(gpsSerial.read());
by ozcar
Thu Feb 29, 2024 1:48 am
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 15284

Re: STM32 hangs when >100khz signal applied to input

Dannyf, I missed your updates on the second page previously.

It is a very different situation if you can avoid the STM32DUINO and maybe HAL code as well, but this could be easier said than done depending on what other parts of STM32DUINO need to be used in the final project. Maybe your "cut down ...
by ozcar
Wed Feb 28, 2024 9:07 pm
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 15284

Re: STM32 hangs when >100khz signal applied to input


for around 5µs

that's too long. your ISR overhead will be 20 ticks. Hard to imagine this thing goes over 100 ticks end-to-end. I will do some testing later on as well.


I would be interested to see what you find. I've done tests like that before, and the result is not out of line with what I ...
by ozcar
Wed Feb 28, 2024 5:22 am
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 15284

Re: STM32 hangs when >100khz signal applied to input


I would approach the problem this way.

1. Set up an input capture on falling edge. No interrupt.
2. Set up one input capture on rising edge, interrupt enabled. In this isr, you will need to calculate the timer count elapsed between two isr invocations, and the difference between the count ...

Go to advanced search