Search found 127 matches

by max.tisc
Wed Oct 22, 2025 5:22 pm
Forum: General
Topic: TIMER2 STM32F411 BLACKPILL
Replies: 4
Views: 764

Re: TIMER2 STM32F411 BLACKPILL

Ok,
thanks everyone for the replies. Setting RCC_SYSCLK_SRC in HSI keeps the maximum frequency at 16 MHz. We're waiting for the calculation update.
Thanks.
by max.tisc
Tue Oct 21, 2025 8:28 pm
Forum: General
Topic: TIMER2 STM32F411 BLACKPILL
Replies: 4
Views: 764

TIMER2 STM32F411 BLACKPILL

Hi, For a little timer project, I wanted to use the STM Timer2 to get some precision, but after some testing, the timing was off. So I made a little code with an LED and a UART output to get the timestamp. If my settings are correct, I should have an interrupt every second, and with the TIME variabl...
by max.tisc
Fri Oct 03, 2025 4:39 pm
Forum: General
Topic: MCP23017 probelm
Replies: 3
Views: 3774

Re: MCP23017 probelm

Hi,
with the PCF8574 and 8575 everything works wonderfully. I'll get this chip.
Thanks
by max.tisc
Thu Oct 02, 2025 5:54 pm
Forum: General
Topic: MCP23017 probelm
Replies: 3
Views: 3774

Re: MCP23017 probelm

Hi medelc35 I've looked over my hardware again, but I can't find anything strange. I even removed the MCP23017 board and connected it to another BlackPill STM32F411, but it didn't work. I replicated the same code for an Arduino Nano, but it didn't work either. I also replaced the MCP23017 board with...
by max.tisc
Tue Sep 30, 2025 5:59 pm
Forum: General
Topic: MCP23017 probelm
Replies: 3
Views: 3774

MCP23017 probelm

Hi, I'm referring to a previous post of mine regarding interrupts on the MCP23017 component https://www.flowcode.co.uk/forums/viewtopic.php?t=3107. With the help of Medelec35, the component worked, but now it doesn't. Have there been any updates that have compromised its functionality? Can someone t...
by max.tisc
Wed Sep 24, 2025 5:56 pm
Forum: General
Topic: ADS1115 PROBLEM
Replies: 12
Views: 6000

Re: ADS1115 PROBLEM

Hi,
I tried inserting the suggested 125mS delay for 8-sample sampling and added a very crude RDY pin handler. I'll ask mm-fisher if this is correct or if he suggests something more suitable. Testing on two channels seems to work well.
by max.tisc
Wed Sep 24, 2025 4:27 pm
Forum: General
Topic: ADS1115 PROBLEM
Replies: 12
Views: 6000

Re: ADS1115 PROBLEM

THANKS stefan.erni
Setting it to 860 works. One question: I'm not using the ALLERT/RDY pin right now, so can it be ignored?
by max.tisc
Tue Sep 23, 2025 4:54 pm
Forum: General
Topic: ADS1115 PROBLEM
Replies: 12
Views: 6000

Re: ADS1115 PROBLEM

Hi, I tried your suggestions. I reset it to 400kHz, sampled at 64, then went down to 16 and 8. I increased the baud rate to the maximum, set it to continuous mode, and I actually initially set the IRQ rollover value to 15600 to get 1 second. I don't know why it reverted to 65536. The values ​​for ch...
by max.tisc
Tue Sep 23, 2025 2:12 pm
Forum: General
Topic: ADS1115 PROBLEM
Replies: 12
Views: 6000

Re: ADS1115 PROBLEM

Hi,
1) I've already tried continuous mode with no results.
2) I've already tried 400kHz. I'll try sampling rate adjustment later.
3) Why 0.25Hz?
Thanx
by max.tisc
Mon Sep 22, 2025 9:46 pm
Forum: General
Topic: ADS1115 PROBLEM
Replies: 12
Views: 6000

ADS1115 PROBLEM

Hi, I'm testing the ADS1115 component and I've noticed some strange behavior. Basically, in the code, if I select only channel A0 on the UART output, which I read with a serial program, I read the correct value as ch1. The same thing happens if I select only A1, excluding A0 from the program, I corr...