Commit Graph
1674 Commits
Author SHA1 Message Date
hathach e6c4b0ff7e support serialEvent() 2018-07-12 16:51:28 +07:00
hathach 1977aea69e correct update digitalPinToPort/portOutputRegister 2018-07-12 16:19:27 +07:00
hathach 2ebb5de830 fix windows user name with space when uploading issue 2018-07-12 16:13:26 +07:00
hathach 456cb4a628 fix PWM max_value type cause incorrect servo behavior (640Hz instead of 50hz) 2018-07-12 15:58:01 +07:00
hathach 4614264c32 Merge pull request #134 from ichbtm/master
fix hardcoded pulse limits
2018-07-11 22:07:24 +07:00
hathach 91edcf6cf1 fix windows user name with space when uploading issue 2018-07-03 16:42:07 +07:00
hathach b8c66c9c88 add bin bootloader binary for pca10056 2018-06-27 01:04:14 +07:00
hathach 22d0a3eee3 add pca10056 for testing 2018-06-27 01:02:36 +07:00
hathach ab7adf419f update digitalPinToPort/portOutputRegister etc... to support P1 for nrf52840 2018-06-27 00:57:16 +07:00
hathach 41b1cdeb97 rename feather52 to feather52832 2018-06-26 15:02:04 +07:00
hathach e8dc344996 remove dual bank bootloader support 2018-06-26 14:40:24 +07:00
hathach 6ddba93bd0 added uf2 bootloader for nrf52840 2018-06-25 17:05:53 +07:00
hathach bf58cca280 add uf2 conversion to compilation
update vid/pid
2018-06-25 17:02:54 +07:00
hathach 11bb32edcc update pid/vid for nrf52840 2018-06-18 14:49:14 +07:00
hathach 2f8355ccb3 update bootloader hex 2018-06-16 17:23:36 +07:00
hathach df80f1065d add bfutil and libusb-1.0 2018-06-14 23:33:28 +07:00
hathach 9bcccc5524 clean up data callback 2018-06-14 14:43:14 +07:00
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