Commit Graph

24 Commits

Author SHA1 Message Date
Kristian Sloth Lauszus
ac818e6df4 Sign CLA 2019-07-01 19:37:52 +02:00
László Monda
9e7707006f Merge pull request #4 from UltimateHackingKeyboard/santiagogf89-patch-1
Sign CLA
2019-06-24 19:26:56 +02:00
Santiago
f5ddd58d0c Sign CLA
I have read the Agreement, and fully agree to it by signing it with my GitHub username.
2019-06-24 18:00:29 +02:00
László Monda
0947313584 Merge pull request #3 from UltimateHackingKeyboard/sign-cla
Sign CLA
2019-06-08 12:49:17 +02:00
László Monda
7bb0f6b7c0 Sign CLA. 2019-06-08 12:48:47 +02:00
László Monda
d6ed7e3c99 Add CLA and contributing instructions. 2019-06-08 12:48:17 +02:00
László Monda
e447ecee3a Merge branch 'master' of https://github.com/UltimateHackingKeyboard/KSDK_2.0_MK22FN512xxx12 2018-04-10 12:14:41 +02:00
László Monda
57a4377809 Pick the loop implementation that favors performance over code size. 2018-04-10 12:14:02 +02:00
László Monda
16e8071ca1 Merge pull request #2 from Lauszus/dev
Fixed compiler warning, as BIG_ENDIAN and LITTLE_ENDIAN are already d…
2018-04-08 19:30:41 +02:00
Kristian Sloth Lauszus
08604d409c Fixed compiler warning, as BIG_ENDIAN and LITTLE_ENDIAN are already defined on newer compilers
See: https://sourceforge.net/p/predef/wiki/Endianness/
2018-04-08 19:25:32 +02:00
László Monda
7ddde5eadb Merge pull request #1 from Lauszus/sleep
Make the loop depend on the clock frequency when sending out the resu…
2018-03-11 19:09:28 +01:00
Kristian Sloth Lauszus
4b5d5310d1 Make the loop depend on the clock frequency when sending out the resume signal, as the delay time is critical
See: http://www.usbmadesimple.co.uk/ums_3.htm and https://www.nxp.com/docs/en/application-note/AN5385.pdf
2018-03-11 18:38:30 +01:00
László Monda
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. 2018-01-14 17:59:41 +01:00
László Monda
217f0b3bdb Add I2C_ActualBaudRate 2018-01-14 17:55:13 +01:00
László Monda
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. 2017-09-25 03:00:37 +02:00
László Monda
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. 2017-07-10 00:18:55 +02:00
László Monda
ed719ab139 Make I2C_Watchdog volatile. 2017-03-16 14:01:47 +01:00
László Monda
f2c20af612 Make the KSDK not depend on the UHK firmware. 2017-02-18 21:24:24 +01:00
László Monda
bc5aeb58ee Make git convert line endings of *.[ch] files to Unix format. 2017-02-18 18:21:35 +01:00
László Monda
49b0207883 Convert Windows line endings to Unix line endings. 2017-02-18 18:19:53 +01:00
Santiago
c756064704 I2C dead-lock fix
Small modification to the KSDK 2.0 I2C driver to control when the interrupt stops happening.
2017-02-18 13:22:33 +01:00
László Monda
8e3cffc998 Update README.md 2017-01-21 01:13:59 +01:00
László Monda
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. 2017-01-21 00:59:27 +01:00
László Monda
69affcfe62 Add KSDK and readme. 2016-08-09 18:06:35 +02:00