Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ARM] STM discovery and EM4095

Status
Not open for further replies.

gemballa

Newbie level 1
Joined
Aug 26, 2015
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Hi all,

I wanted to ask for opinion since I have some issues with my project

I am working on a project that uses stm32-discovery board:

**broken link removed**

and Rfid reader: https://www.mikroe.com/add-on-boards/various/rfid-reader/ with EM4095.

My main goal is to receive code from rfid card and check if it exists in memory.

1. Since I am at the beginning of my project my first goal was to set everything up and to see if I receive any data from the board. I set SHD and MOD singals low.
My idea was to use RDY/CLK signal from the board (which is 125Khz clock) output as EXTI interrupt and to have a software timer that will be used for checking what data am I receiving. Is this a god approach?
First I wanted to have two hardware interrupts (one for RDY/CLK and the other one when there is a change on OUT) but I have heard from more experienced people that this causes some delays and may lead to incorrect data read? Is this true, or is this a better approach?
2. Other thing that I wanted to ask is this: it seems to me that this board is ALWAYS sending some data to the MC...even when there is no card near the board. I realized this when I tried that first approach. My program was always going trough both interrupt handlers...on for the clock (which is ok) and the one that was waiting either change of OUT data. I didn't understand from datasheets that this is something that is supposed to happen.

I'm sorry if the post is too long. Looking forward for your replies. If someone is willing to look at the codes I wrote please ask and I will post them here.

Thanks in advance.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top