Search found 3 matches
- Thu Dec 29, 2011 7:50 pm
- Forum: Development and Feedback
- Topic: I2C implementation for STM32
- Replies: 346
- Views: 285332
Re: I2C implementation for STM32
The workaround is to insert a small delay before calling a I2C function, for example 2mS (this guarantees a delay between 1 and 2 milliseconds), this makes sure that the polled part is skipped immediately.
That's the approach I already took. What I observed is that as long as you address the ...
- Thu Dec 29, 2011 5:47 pm
- Forum: Development and Feedback
- Topic: I2C implementation for STM32
- Replies: 346
- Views: 285332
Re: I2C implementation for STM32
Thanx for all the responses.
I updated to latest trunk (somethings with FPU support/ context switching) issues on STM32F4. This solved my stability problem.
Pullups are already on the STM32F4discovery board, 4K7 I believe.
I use the i2cAcuireBus-call. Only one thread uses the interface.
So in ...
I updated to latest trunk (somethings with FPU support/ context switching) issues on STM32F4. This solved my stability problem.
Pullups are already on the STM32F4discovery board, 4K7 I believe.
I use the i2cAcuireBus-call. Only one thread uses the interface.
So in ...
- Tue Dec 27, 2011 2:33 pm
- Forum: Development and Feedback
- Topic: I2C implementation for STM32
- Replies: 346
- Views: 285332
Re: I2C implementation for STM32
Hi, this is my first post here.
I am having 2 challenges with the current I2C driver for the STM32F4.
1) There is a busy waiting in i2c_lld_wait_bus_free. And that's exacty the place where things get stuck.
2) When running SD2 and I2CD1 over a longer period of time, the I2C bus gets stuck (Error ...
I am having 2 challenges with the current I2C driver for the STM32F4.
1) There is a busy waiting in i2c_lld_wait_bus_free. And that's exacty the place where things get stuck.
2) When running SD2 and I2CD1 over a longer period of time, the I2C bus gets stuck (Error ...