I'm developing an embedded app, written in C, using a M16C/28 uC from Renesas.
The app manages two simple task:
- RFID for detection and reading MIFARE tags. ( Using HW: Mf500 from NXP ). The uC handles whole FW implementation.
- To deal with a RS485 frame protocol as slave. ( This app, have to be able to process RS485 frames every 10ms ).
The RFID implementation contains blocking code and the time response to detect a RFID tag is about 15ms. This causes RX reception buffer overflows on the RS485 processing.
My questions are as follows:
- Is it normal to deal with such time responses in the RFID world?
- Should I use a RTOS to preempt RFID task to meet RS485 frames requirements?
- Should I use an external uC acting as host controller to release the load of the RFID manager uC?
Thanks in advance