Is there any way to check the SPI communication reliability of AD8403 like CRC or something like that?
The AD8403 doesn't have this feature. Are you having trouble communicating with the device?
Hi and thanks for replay.
No i do not have problem communicating with the device.
As you know SPI protocol is unsafe and for some application we need to use some checking methods as CRC to avoid errors.
My question is is there any methods to ensure the safety of the communication?
Looking forward to hearing from you
Safety in the communication lines must be embedded to the design of the chip. The AD8403 cannot interpret any additional data that the microcontroller sends and the only way to check if the data is incorrect is if the AD8403 doesn't respond to your commands.
Hi and thanks for replay
I just faced a problem with programming the AD8403.
The problem is, when i send a 10 bit data including 2 first bits as address, and set a value to VR3, the VR1 value changes!!!
I checked the VR3 value and that was correct but while programing VR3, the VR1 changes.
Even when i try to change VR4, the VR2 changes !!!
I tried to check more and i just found out that the VR3 and VR1 swap when we try to change value of VR3.
I couldn't find any answer for it. i appreciate if you take a look on this.
Do you perform a reset (Logic 0 on RS_NOT pin) after powering up the device? The resistance should be at midscale for all channels to ensure that the part is not yet damaged.
On the first problem that you encountered wherein VR1 and VR2 changes, how exactly the values change? Do they mirror VR3 and VR4 respectively?
It would also help us understand the issue more if you could send some scope shots of your digital lines (SDI, CLK, CS).
Thanks again for answer.
I did what you said about reset after power up the device but nothing happening ! But i can't say that the device is damaged because i can program the steps and VRs works fine .
I confused, maybe i did wrong with Digital lines. I did:
And about changing VRs value, Yes! values exactly mirror. VR1 mirror with VR3 if i change the VR3 value. and VR2 mirror with VR4 if i change VR4 value.
thanks again and again
can you please clarify the following items:
I just edited the last post can you take a look at that please
The connections seems to be ok based on your description.
I want to confirm if you are following the correct timing of the digital lines.
Kindly send some scope shots as I mentioned earlier for us to verify if the timing is not violated.
I just replaced the device and everything is OK now. -.-
That was really confusing that VR blocks was working but setting 4 VRs causes the error.
Thank you for your supports
Retrieving data ...