Issue with reading serial data

Sure Robin, I will keep that in mind and try to post in that way, I'm new to this forum so still trying to learn the way to use it more efficiently, sure ill do as you said from the next time.

Yeah Tom, I did go through the EM4095 document and came across signal RDY/CLK section. I'm using that signal to set the synchronization with the actual data but there was still an internal delay in the code with the use of digitalRead() function for 8usecs time period signals, I overcame it by using direct port manipulation, using (PINX & (1<<PBX)) function and ISR in Atmel studio instead of Arduino platform.

Also, I have to use the same function where I shouldn't use EM4095 module and that hardware is completely different (there are other similar limitations in my projects), so I was trying to make the code independent of the EM4095 module.

I wrote the code directly in Atmel studio and looks like it is working until 16usec time period with the technique I mentioned above. Thank you guys once again for helping out with my problem :slight_smile: