Commit Graph
3007 Commits
Author SHA1 Message Date
hathach 6d1019b77e add decription for ada_callback 2018-06-14 14:40:00 +07:00
hathach 084e96bfa3 update feahter52840, nrfutil exe for windows 2018-06-13 17:26:23 +07:00
hathach 7bfe394905 house keeping 2018-06-12 14:47:33 +07:00
hathach f7ddbbd14c add reference to hci code for disconnection reason 2018-06-08 11:34:19 +07:00
ChristofR 0c0026029f Bug Fix: UART IRQ Freezing
It was found that receiving UART data too rapidly would completely brick the UART peripheral (no further UART IRQs would be generated).

To brick the peripheral all of the following needs to be true.
1. A BLE connection is active
2. Serial speed is set fast enough (>= 115,200)
3. A continuous stream of Serial data needs to be received

Since interrupt timing is no longer guaranteed when the SoftDevice has an active BLE connection it is much more likely for UART data to be received when inside the UART IRQ. Clearing nrfUart->EVENTS_RXDRDY at the end of the IRQ increases the likelyhood of the system setting a pending IRQ before the current IRQ loop has cleared nrfUart->EVENTS_RXDRDY. If this occurs then the UART IRQ will be called again, but nrfUart->EVENTS_RXDRDY will be 0. Since nrfUart->RXD is no longer being cleared overruns start occuring and for some unknown reason the UART IRQ stops trigerring.
2018-06-07 15:51:57 +02:00
ChristofR 47ae6e88fd Bug Fix: UART IRQ Freezing
It was found that receiving UART data too rapidly would completely brick the UART peripheral (no further UART IRQs would be generated).

To brick the peripheral all of the following needs to be true.
1. A BLE connection is active
2. Serial speed is set fast enough (>= 115,200)
3. A continuous stream of Serial data needs to be received

Since interrupt timing is no longer guaranteed when the SoftDevice has an active BLE connection it is much more likely for UART data to be received when inside the UART IRQ. Clearing nrfUart->EVENTS_RXDRDY at the end of the IRQ increases the likelyhood of the system setting a pending IRQ before the current IRQ loop has cleared nrfUart->EVENTS_RXDRDY. If this occurs then the UART IRQ will be called again, but nrfUart->EVENTS_RXDRDY will be 0. Since nrfUart->RXD is no longer being cleared overruns start occuring and for some unknown reason the UART IRQ stops trigerring.
2018-06-07 15:49:54 +02:00
hathach fba06f56d4 add test vid/pid 2018-06-07 17:10:28 +07:00
hathach 168502e180 rename linker script 2018-06-07 17:05:20 +07:00
hathach 98bca9f9fe update nrf52840 bootloader 2018-06-07 17:03:40 +07:00
ChristofR cca51a9817 Merge pull request #1 from adafruit/master
Bringing fork up to date
2018-06-06 15:28:35 +02:00
hathach 3f959e9776 Merge pull request #157 from ElliotMebane/master
Central connection sample with Peripheral Texas Instruments Sensor Ta…
2018-06-02 23:22:11 +07:00
LAPTOP-JCFJCJ8H\acer c4cb13266e Central connection sample with Peripheral Texas Instruments Sensor Tag (CC2650). Connect, enable optical sensor, adjust measurement/transmission period.
http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User%27s_Guide
2018-06-01 16:13:47 -07:00
hathach 88693cd917 more clean up 2018-05-25 15:47:49 +07:00
hathach ee3c997506 default bootloader mode is single bank 2018-05-25 14:40:52 +07:00
hathach 88d8ca2de0 remove previous binary bootloader
previous binary can be found in the bootloader repo
2018-05-25 14:40:23 +07:00
hathach 2dc3f4d51d add bootloader v6.0.0 for feather52 2018-05-25 14:34:39 +07:00
hathach 9419606df0 remove configServiceChanged()
since disable service change will cause issue with DFU OTA (inconsisten
att handle of dfu service)
2018-05-25 14:09:06 +07:00
hathach 0603230f65 improve bledfu 2018-05-25 00:07:59 +07:00
hathach a398152c87 clean up 2018-05-24 20:22:12 +07:00
hathach 9d0979c8be migrate to sd_ble_gap_tx_power_set SD v6 2018-05-21 21:12:42 +07:00
hathach da5e5b2b8a migrate advertising and scanning from SD v5 to v6 API
build ok but functionality not tested
2018-05-21 18:26:51 +07:00
hathach 694e48f8ca fix build error, add error of SD v6 2018-05-21 17:43:56 +07:00
hathach 57852c2a6e update SD lookup 2018-05-21 16:11:34 +07:00
hathach 6aad3b94c2 update linker for S132 v6 2018-05-21 16:00:45 +07:00
hathach 608a73a62f add s132 v6 headers 2018-05-21 15:36:54 +07:00
hathach ff095e74bd add singlebank option for uploading 2018-05-17 15:34:02 +07:00
hathach df5ecde4f7 added nrfutil exe for windows 2018-05-17 15:12:42 +07:00
hathach b0153a0077 add singlebank option for nrfutil, bump version to 0.5.2d 2018-05-17 13:14:01 +07:00
hathach 28517e6917 update nrfutil 2018-05-16 16:27:01 +07:00
Jeremy Poulter a6fa818cff Updated as per comments 2018-05-05 21:18:14 +01:00
hathach 68e403a44b increase nrfutil delay erasing for nrf52840 2018-04-24 17:23:20 +07:00
hathach d87d3939fa update sd table 2018-04-17 20:23:17 +07:00
hathach 313705e15c add nrf52 series common macros NRF52_SERIES 2018-04-17 17:20:22 +07:00
hathach 6106bdfc82 house keeping 2018-04-17 16:52:12 +07:00
hathach f026b95f85 add initial feather52840 bootloader hex 2018-04-16 18:44:30 +07:00
hathach 5f066373cb add system and startup for nrf52840 2018-04-16 17:38:32 +07:00
Jeremy Poulter 14482bc76a Added support for using the Low Frequency RC oscillator 2018-04-14 20:25:21 +01:00
hathach 720d8f2110 remove unneccessary double reset with DTR signal in nrfutil 2018-04-09 19:07:00 +07:00
hathach 91074cccc4 start adding support for feather nrf52840 2018-04-09 15:03:12 +07:00
hathach 620470d5dc fix #142 add destructor for SoftwareTimer 2018-04-08 13:43:26 +07:00
hathach a07fbec136 Merge pull request #140 from swilson/master
Fix crash caused by incorrectly formatted (e.g. 1 byte) device reports.
2018-04-06 23:17:20 +07:00
Sean Wilson 644c0a247d Fix crash caused by incorrectly formatted device reports. 2018-04-06 10:50:15 -04:00
hathach 2938ca0a6c Merge branch 'master' into develop 2018-04-05 13:39:25 +07:00
hathach fb29f5b937 update changelog 2018-04-05 12:29:10 +07:00
hathach 7ddfde20e6 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2018-04-05 12:20:36 +07:00
hathach bba9ae1d12 Merge branch '0.8.x' into develop 2018-04-03 17:15:33 +07:00
hathach 5a850a00cb fix changelog typo 2018-04-03 14:56:20 +07:00
ichbtm f07db89047 changed min and max to uint16_t 2018-03-30 17:03:24 +02:00
ichbtm a6b744fe3c added named constants
and removed hoardcoded pulse cycle limits
2018-03-30 17:02:01 +02:00
ichbtm e99bd4dbaa use user limits
and µs functions use our return µs
2018-03-30 17:00:19 +02:00