Search found 7 matches

by mrandy
Sat Apr 11, 2020 2:59 pm
Forum: Bug Reports
Topic: H7 Build Broken?
Replies: 3
Views: 13850

Re: H7 Build Broken?

It's currently enabled but not referenced anywhere. I plan on using it eventually, because the board I'm writing code for has a device on I2C4, it's not in my code at the moment.
by mrandy
Sat Apr 11, 2020 1:33 pm
Forum: Bug Reports
Topic: H7 Build Broken?
Replies: 3
Views: 13850

H7 Build Broken?

I think that revision 13499 broke my build for a STM32H7 project. I get these errors, which aren't present when using the previous revision:


Compiling board.c
../ChibiOS/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c: In function 'i2c_lld_start':
../ChibiOS/os/hal ...
by mrandy
Thu Apr 02, 2020 2:11 am
Forum: STM32 Support
Topic: STM32H7 Instability?
Replies: 3
Views: 3394

Re: STM32H7 Instability?

So I've narrowed the problem down a bit. Part of it was my fault - I was mishandling the data in my MS5611 driver, which creating the stuttering issue I described.

But using your suggestion to isolate the problem, I think I've zeroed in on something that might be an actual issue.

I've turned off ...
by mrandy
Wed Apr 01, 2020 3:29 pm
Forum: STM32 Support
Topic: STM32H7 Instability?
Replies: 3
Views: 3394

STM32H7 Instability?

Sorry for the vague topic, but I haven't been able to narrow this problem down to a specific system.

Since my last post(http://www.chibios.com/forum/viewtopic.php?f=16&t=5441), I've started to get my devices up and running. I've got three serial ports, an SPI device (MPU6500), and two I2C devices ...
by mrandy
Mon Mar 30, 2020 12:21 am
Forum: STM32 Support
Topic: STM32H7 I2C
Replies: 6
Views: 5645

Re: STM32H7 I2C

Makes sense, thanks for the tips. I've got an MS5611 barometer fully working now.

How broken is I2CD4 at the moment?
by mrandy
Sun Mar 29, 2020 10:37 pm
Forum: STM32 Support
Topic: STM32H7 I2C
Replies: 6
Views: 5645

Re: STM32H7 I2C

I figured it out. Rew's tip was really helpful. I found that manually writing to that register was also failing, but then I figured out that if I manually set CR1 to 0, then TIMINGR starts working. So then I went back to my high-level code and realized I wasn't setting the I2CConfig properly. I had ...
by mrandy
Sun Mar 29, 2020 2:17 am
Forum: STM32 Support
Topic: STM32H7 I2C
Replies: 6
Views: 5645

STM32H7 I2C

Hello,

I've got a project where none of the I 2 C ports seem to respond in any way to the settings in the TIMINGR register. I put the I2C clock on a scope and noticed it running way too fast, so I tried different clock divider settings in TIMINGR to no effect, and even just set the register to 0 or ...