Francisco Molina
66a8922f8c
cpu: initial support for stm32wb
2020-03-25 09:29:56 +01:00
6dbd5eeab9
cpu/stm32_common: fix typos
2019-11-23 22:39:36 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
fd2d30c6e7
cpu/stm32_common: fix i2c_1 build with llvm toolchain
2019-10-27 15:44:07 +01:00
Marian Buschsieweke
b604934189
cpu/stm32_common: Updated i2c_release()
2019-08-22 12:03:08 +02:00
MrKevinWeiss
b0c05431f7
cpu/stm32: Fix 16 bit reg endianess for i2c_1
...
Since i2c_1 i2c_write_regs is cpu specific reg endianess must be swapped there
Change reg from little endian to big endian
2019-08-16 15:04:13 +02:00
MrKevinWeiss
f3b2a62c67
cpu/stm_common: Refactor and cleanup i2c_1
...
Refactor to use common read_regs.
Add error reporting and handling for unsupported low level commands.
Document hardware constraints.
2018-12-20 18:05:11 +01:00
MrKevinWeiss
3e1fd9f494
cpu/stm32_common/i2c: Fix error handling in i2c_1.c
...
Errors flags could not clear making the i2c unusable after error.
This fix removes the error check in start so the error flags can clear and does proper checking for status bits before _bus_check.
2018-10-26 09:56:35 +02:00
5f1d5e0d83
cpu/stm32_common: various improvements in i2c_1 driver
...
- dont send stop if bus is busy and before any action is done on bus
- and bus check that looks for bus error, arbitration and nack events
- check for ACK (TXIS) before writing bytes on bus and not between each write
2018-07-25 12:01:39 +02:00
99b3bb88bd
cpu/stm32_common: update return values to error codes
2018-07-25 12:01:37 +02:00
9166fb27fa
cpu/stm32_common: split common i2c periph in 2
...
- i2c_1 is built for f0, f3, f7, l0 and l4
- i2c_2 is built for f4
2018-07-25 12:01:36 +02:00