57a4377809
Pick the loop implementation that favors performance over code size.
László Monda
2018-04-10 12:14:02 +02:00
16e8071ca1
Merge pull request #2 from Lauszus/dev
László Monda
2018-04-08 19:30:41 +02:00
08604d409c
Fixed compiler warning, as BIG_ENDIAN and LITTLE_ENDIAN are already defined on newer compilers
Kristian Sloth Lauszus
2018-04-08 19:17:56 +02:00
7ddde5eadb
Merge pull request #1 from Lauszus/sleep
László Monda
2018-03-11 19:09:28 +01:00
4b5d5310d1
Make the loop depend on the clock frequency when sending out the resume signal, as the delay time is critical
Kristian Sloth Lauszus
2018-03-11 18:38:30 +01:00
9fbf2bbf08
Iterate mult of I2C_MasterSetBaudRate from 0 to 2 instead of just 0. This allows for a more accurate actual I2C frequency. Make sure not to use repeated start because of the related silicon bug.
László Monda
2018-01-14 17:59:41 +01:00
217f0b3bdb
Add I2C_ActualBaudRate
László Monda
2018-01-14 17:55:13 +01:00
7142722eed
Make the I2C driver able to handle variable length messages by reading the first byte of the message (the message length) and update transfer.dataSize accordingly.
László Monda
2017-09-25 03:00:37 +02:00
cd173f98d1
Only use prescaler 0 in order to workaround errata 6070 for mask 2N03G and 3N03G - a silicon bug causing I2C to misbehave upon repeated starts. I'm not sure whether MK22FN512VLH12 is affected but better be safe than sorry.
László Monda
2017-07-10 00:18:55 +02:00
ed719ab139
Make I2C_Watchdog volatile.
László Monda
2017-03-16 14:01:47 +01:00
f2c20af612
Make the KSDK not depend on the UHK firmware.
László Monda
2017-02-18 21:24:24 +01:00
bc5aeb58ee
Make git convert line endings of *.[ch] files to Unix format.
László Monda
2017-02-18 18:21:35 +01:00
49b0207883
Convert Windows line endings to Unix line endings.
László Monda
2017-02-18 18:19:53 +01:00
c756064704
I2C dead-lock fix
Santiago
2017-02-18 13:22:33 +01:00
8e3cffc998
Update README.md
László Monda
2017-01-21 01:13:59 +01:00
e522962619
Modify startup_MK22F51212.S in order to relocate the UHK firmware that links to the KSDK. This way, the UHK firmware works with KBOOT.
László Monda
2017-01-21 00:59:27 +01:00
69affcfe62
Add KSDK and readme.
László Monda
2016-08-09 18:06:35 +02:00