Semjon Kerner
253cf0f9fc
Merge pull request #11176 from bergzand/pr/nrf802154/undef_memcpy
...
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-25 08:09:59 +01:00
b4bb144006
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-22 19:00:53 +01:00
658fb0651e
nrf802154: Disable hardware IFS handling
2019-03-15 13:39:09 +01:00
de2f193da3
nrf802154: Fix timer behaviour of the IFS timer
...
The timer_clear function doesn't clear the hardware timer counter, but
is designed to clear the allocation of the channel. The consequence is
that the IFS timer here is not set to zero in the callback, but only
stopped at the current value. When the timer is started again, it has to
count the full timer range until it matches the timeout value again.
This commit fixes this issue by using timer_set instead of
timer_set_absolute. This way the current timer value (when the timer is
stopped) is read and the IFS timeout value is added to the current timer
value.
2019-03-15 13:39:09 +01:00
8c4760050e
nrf802154: Change timer frequency to match symbols rate
...
ieee802.15.4 specifies 40 symbols as LIFS value and 12 symbols as SIFS
value. Furthermore, the 2.4Ghz DSSS mode has a symbol rate of
62.5Ksymbols/s. To have the LIFS and SIFS in the code match the timings
from the specification, the TIMER_FREQ must match the symbol rate of
62.5Ksymbol/s such that one tick of the timer equals one symbol in time.
2019-03-15 13:38:32 +01:00
Semjon Kerner
6c84b4126f
Merge pull request #11138 from bergzand/pr/nrf802154/fix_fcs_lifs
...
nrf802154: take FCS into account for lifs/sifs calculation
2019-03-15 13:10:39 +01:00
Martine Lenders
eff3b5ec28
nrf52/radio: remove redundant message queue definition
...
Now that `GNRC_NETIF_MSG_QUEUE_SIZE` is set to 16 by default, this
command-line provided define is redundant.
2019-03-15 12:09:39 +01:00
Semjon Kerner
6d3b625f3f
Merge pull request #11133 from bergzand/pr/nrf802154/radio_info
...
nrf802154: Add rssi/lqi to received frames
2019-03-15 11:46:17 +01:00
3163b8d6e2
nrf52: use cortexm.ld script when applicable
...
The common linker script is not used when the nordic_softdevice_ble is
included
2019-03-13 11:57:44 +01:00
b650f355c7
nrf802154: Add rssi/lqi to received frames
...
LQI calculation following the instructions from the datasheet. RSSI
calculation appears to only require the offset and not the scaling
factor
2019-03-12 15:11:13 +01:00
14a5e4924b
nrf802154: take FCS into account for lifs/sifs calculation
2019-03-07 20:26:39 +01:00
Hauke Petersen
824fcf3c9d
cpu/nrf52/nrf802154: unify address generation
2019-03-04 17:12:06 +01:00
Semjon Kerner
91787dcb5c
cpu/nrf52: add 802.15.4 radio driver
2019-03-04 13:21:47 +01:00
Hauke Petersen
93e7d88f75
cpu/nrf5x: reworked and fixed UART driver
2019-01-25 15:52:25 +01:00
cb8c2b759e
cpu/nrf52: use UARTE device type for nrf52840
...
This requires to implement the use of EasyDMA for this kind of peripheral
2019-01-25 15:52:25 +01:00
336851e3bc
cpu/nrf52: add uart flow control on nrf52840
2019-01-25 15:51:50 +01:00
8e8f48f75e
cpu/nrf52: add multi UART support for nrf52840
2019-01-25 15:51:49 +01:00
Semjon Kerner
d8a30eeedf
cpu/nrf52: update vendor headers
2018-11-08 14:09:33 +01:00
Semjon Kerner
2063e98b13
cpu/nrf52: initial PWM implementation
2018-08-21 11:28:23 +02:00
dylad
4ff319b469
nrf52/i2c: adapt to new I2C API
2018-07-25 12:01:34 +02:00
Hauke Petersen
7ffd6265bb
cpu/nrf52: enable instruction cache
2018-06-22 16:09:23 +02:00
938677cc83
cpu*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Joakim Nohlgård
72118db964
nrf52: Adjust ldscript memory segment attributes
2018-05-09 06:48:40 +02:00
3bfe4b6986
make: mcuboot: add MCUBOOT_ namespacing
2018-02-06 16:41:48 +01:00
dylad
391164a788
pkg: fix broken nordic softdevice package
...
Prevent CPU from using cortexm_init() when softdevice is used for NRF52 devices
as the softdevice already do some obscur inits
Also ensure the softdevice pkg will be used by hacking Makefile due to RIOT's
build system limitations (will be fix later with the new build system)
2018-02-05 17:04:13 +01:00
Hauke Petersen
b1efc39348
cpu/nrf52: optimized i2c driver implementation
2018-02-02 11:34:40 +01:00
Hauke Petersen
787d69c676
cpu/nrf52: add CPU specific sleep function
...
This function is supposed to be used for putting the CPU into
sleep mode for short amounts of time (e.g. in typical polling
loops used in periph drivers).
2018-02-02 11:33:18 +01:00
Hauke Petersen
959e838836
cpu/nrf52: updated vendor header
2018-02-02 11:33:18 +01:00
Hauke Petersen
503e60ef25
cpu/nrf52/i2c: use static mutex initializtion
2018-01-30 19:07:26 +01:00
dnahm
6245b4165f
cpu/nrf52: add i2c driver and configs
2018-01-04 10:51:05 +01:00
86665b71bf
cpu: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
Hauke Petersen
b3654c2ead
cpu/nrf52: some optimizations for ADC driver
2017-11-15 11:16:05 +01:00
dnahm
6f9a5004c6
drivers: add adc driver for nrf52
2017-11-15 11:15:10 +01:00
Joakim Nohlgård
e3d5a70e0c
cpu/cortexm: Remove leftover _estack declarations
...
These are leftovers from before the Cortex-M common ISR vectors were
split into vectors_cortexm.c
2017-11-10 15:38:14 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
849cc8606a
cpu: nrf5x: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
Hauke Petersen
3ede8e9d95
cpu: force size of CPU specific vector table
2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223
cpu: unified cortex-m base interrupt vector
2017-09-04 15:13:32 +02:00
Hauke Petersen
e51ff56b96
cpu/nrf52: share const CLOCK_CORECLOCK
2017-08-29 17:28:10 +02:00
kYc0o
41e9884b20
cpu/nrf52: add alignment and image header sizes for bootlaoder usage
2017-07-17 14:48:29 +02:00
kYc0o
7137b7d5c4
cpu/nrf52/ldscripts: extend script for multislot usage
2017-07-17 14:48:28 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Hauke Petersen
e1dde6b456
cpu/nrf5x: unified rtt driver
2017-04-06 11:58:52 +02:00
Hauke Petersen
3060d96bfd
cpu/nrf5x: unified clock initialization code
2017-04-05 18:07:23 +02:00
Hauke Petersen
334b2a6dc1
cpu/nrf52: added support for nRF52840
...
- added vendor header files for nrf52840
- added config for nrf52840
- added additional isr vectors for the nrf52840
- enabled port 1 in GPIO driver
- adapted periph drivers to cope with GPIO driver changes
- adapted the GPIO config of the I2C driver for the nrf51
2017-04-05 16:43:49 +02:00
Joakim Nohlgård
339a4da9dc
Makefiles: move to new directory /makefiles
2017-04-04 15:11:54 +02:00
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
2017-03-07 08:55:15 +01:00
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
2017-01-25 16:46:46 +01:00
Hauke Petersen
b097e0840b
cpu/nrf5x+boards: adapted to new SPI API
...
- adapted the SPI driver
- merged SPI drivers from nrf51 and nrf52
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
245f60edfa
cpu: fix typo in author email
2017-01-19 21:45:23 +01:00