Part Number: AMC1210
Hello, I'm always stuck with my problem.
To answer Tom, the 'delay' is in the infinite loop so it doesn't depend on the interrupt.
The pin ACK acts the same with ou without the 'delay'.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AMC1210
Hello, I'm always stuck with my problem.
To answer Tom, the 'delay' is in the infinite loop so it doesn't depend on the interrupt.
The pin ACK acts the same with ou without the 'delay'.
Hi Robert,
Can you post a screen shot that shows your AMC1210 ACK signal with respect to the /CS and data read cycle?
Thank you!
Can you replace /CS with SCLK and get a better zoom in on the lower right screen shot? I'd like to be able to see what you are writing and reading there.
Thank you again!
I see the command to read from address 0x21 - filter 3 data - that's fine. I see data coming out through clock 14 on SDO, but you are also putting data out on SDI (0x0784). I think we talked before about this 'extra data on SDO' and you were not sure where that was coming from. My concern at the moment is with where ACK goes back to logic 0, I believe that should be after the entire data buffer is read out, so I'll take a look at that in the lab tomorrow.
Yes that's right, I don't know where this 'extra data on SDO' comes from.
Were you able to look at the info about the ACK pin in the lab ?
OK. I'm still working the ACK issue, the PCB in our lab uses a the parallel interface, so its not quite the same. I need to revise the board for serial mode operation.
Hi Robert,
I also see ACK releasing with the 2nd to last SCLK. So far, I don't see any issue with the data that I receive based on a given input voltage. Can you please verify and once again post your register settings for the AMC1210? Initially you said you had 0x0B00 for the control parameters, but then changed that to the CLK Divide register. I just want to be sure we're both on the same page here.
Hi Tom,
Thanks for the tests.
For the register settings I made a mistake at the beginning, today I have :
- Control Register = 0x2000
- Clock Divider Register = 0x0B00
For the 3rd filter :
- Control Parameter Register = 0x0000
- Sinc Filter Parameter Register = 0x0F1F
- Integrator Parameter Register = 0x0000
- Comparator Parameter Register = 0x0000
And all the other registers are equal to their reset value.
Thanks!
For the Clock Divider, you only need to enable MFE - the PCAL bit is associated with resolver specific applications, you can change that to 0x0800. Please also be sure to set the Sinc Filter Parameter first detail first, and then set the MFE bit. I'm not sure that either one of these will help the situation, but I'm running out of ideas for you.
I changed the Clock Divider Register value to 0x0800. I observe the identical behavior than before.
And I already set the first details for the Sinc Parameter first and then set the MFE bit.
Do you think that my problen could come from MY AMC1210 and if I changed with an other AMC1210 my problem would disappear ?
You could certainly try another board (or chip) to see if somehow the AMC1210 you have been working with is damaged.