ace6c49c8c
Switched to mfrc522 driver fork.
2024-06-03 22:11:17 +02:00
501cfcb03a
Improved readability of SPI related debug messages.
2024-06-02 10:27:42 +02:00
42cab6dcc3
Attempt to replicate the initialization sequence of an arduino project.
2024-06-02 10:27:06 +02:00
0fd71c101c
WIP: Reuse logic from arduino project wo make mfrc522 work.
...
Hint: https://github.com/miguelbalboa/rfid.git
2024-06-01 00:33:54 +02:00
561b6d7ff7
Probably (!) fixed problem with spurious interrupts.
...
After turning on the analog section of the mfrc522, a lot of spurious
interrupts could be observed. Debugging revealed that the mfrc522 did not
give consistent information about an interrupt source.
A closer look into the chip documentation (chapter 9.3.1.4) revealed that
the interrupt pin is open drain by default, but can be set to CMOS.
Switched to CMOS, deactivated internal and external pull down resistors.
No more spurious interrupts.
2024-05-31 15:20:11 +02:00
2b98beab3a
Initialization seems to work now: reading/writing requires a-/prepending a byte.
2024-05-20 23:13:09 +02:00
8ac8726904
Initial SPI integration. Known issue: RC522 reports invalid version id.
2024-05-16 21:44:29 +02:00
32c0865e32
Workaround: don't stop timer during debugging to prevent lockup while sleeping.
2024-05-16 21:43:43 +02:00
bf0f63032e
Enable stdio on uart for debugging.
2024-05-16 21:41:51 +02:00
dbb566a2ae
SPI setup will not yield the exact selected speed.
2024-05-09 15:56:57 +02:00
e4b0c9ee6f
GPIO setup, IRQ handler setup, blink keepalive LED, delay serial usb setup.
2024-05-09 15:55:09 +02:00
c5153421b1
Turned I2C and UART related functions to duds.
2024-05-08 21:35:53 +02:00
f8d602ca6a
WIP: Added gpio for reset pin. Rolled dice - it's gpio 5.
2024-05-06 22:01:27 +02:00
bf53194a1d
WIP: Added debug and delay code.
2024-05-06 21:01:37 +02:00
f389cd5506
WIP: began implementing experimental integration skeleton.
2024-05-06 19:30:54 +02:00
a790886029
Added external mfr522 library and made it CMakeable.
2024-04-29 22:25:21 +02:00
50f250c945
Initial commit.
2024-04-29 21:50:02 +02:00