Hi,
SDK: 3.0., nRF54L15
The application is Matter + BLE dynamic multi-protocol + battery powered sleepy end device. Current Application(Matter/Thread + BLE + Firmware application) uses Cortex-M33 core, which has taken up almost 235KMB to 240KB of SRAM space and 1.1MB of flash space.
We are releasing a variation which involves RFID(125KHZ) and propriety implementation. This involves specific and controlled timing for generating 125KHZ RF signals and reading back the card contents. The Cortex-M33 core is already taxed with Matter and BLE and we are exploring the use of RISC-V core.
The RFID application is not a large code base and it will require a) Timer/Counter, 2) ADC, 3) comparator, 4) capture compare and 5) core to manage everything. The RFID subsystem will periodically wake up, generate a card detect signal, check if card is present, if present, read the card, then go back to sleep, and wake up during the next one. The sleep - wake is every second.
There are critical timing to meet for successful card detection/reading. It could be possible to implement this in Cortex-M33 because the device is a sleepy(Thread) end device but we are concerned that the RFID application will not have any control on the priority(it could be allocated to Matter/Thread or BLE). This is reason for us to look at the RISC-V core and use it exclusively.
The questions include:
1. Does the RISC-V core have access to ADC, Timer/Counter, Capture compare and comparator? This link(https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/vpr_flpr.html) does not show that.
2. Can the RISC-V core be put into sleep mode and be woken up by peripherals (like when Card is detected? Or can it sleep and wake up periodically?
3)) Any sample examples other than this - https://github.com/nrfconnect/sdk-zephyr/tree/v3.7.99-ncs1/samples/subsys/ipc.
4) What about the SRAM requirements? we are running low but we are not expecting large SRAM use. We are thinking of XIP(RRAM).So would it have any performance impacts due to Cortex-M33 and RISC-V contention? If SRAM is used, how much of SRAM is needed?
5)) Is it possible to use external SRAM? this is not only for RISC-V core but also for Cortex-M33 core.
Thanks.
Subu