1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 00:41:17 +01:00
RIOT/drivers
Benjamin Valentin 853bbaf5a5 drivers/mrf24j40: don't loop in mrf24j40_reset_state_machine()
When hooking up the mrf24j40 to a bluepill board, the driver would
always get stuck on init.

Debugging revealed that it would get stuck in the mrf24j40_reset_state_machine()
function because it expects the RFSTATE to have a special value after reset.

However, the data sheet does not mention this in section 3.1 Reset.
Waiting 192µs should be enough - the value of the RFSTATE is not specified.

The Linux driver also does not wait for the RFSTATE register.

And even without the loop, the driver is functioning fine.
2019-10-11 23:01:54 +02:00
..
2019-06-05 18:16:32 +02:00
2019-03-18 09:43:39 +01:00
2018-07-25 12:01:39 +02:00
2019-10-02 11:16:39 +02:00
2017-09-01 15:12:20 +02:00
2017-09-01 15:12:20 +02:00
2018-06-11 19:10:40 +02:00
2018-06-11 19:10:40 +02:00
2019-10-02 10:06:28 +02:00
2019-09-12 19:11:52 +02:00
2018-07-25 12:01:39 +02:00
2017-11-10 15:53:50 +01:00
2019-09-05 12:47:10 +02:00
2017-09-01 15:12:20 +02:00
2019-10-02 10:06:28 +02:00