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.

Spinlock feature for DDR3 atomic-write/read access from PCI interface



Hello,


In our customer's application, AM3892 will be connected to an
another processor through the PCI interface.
The second processor needs "atomic access" through the PCI interface.

We found a feature named "Spinlock" in the datasheet,
but not sure whether it could be used in this case.

Is it possble use the "Spinlock" feature to make atomic-write/read access on
the DDR3 memory connected to AM3892 from the other processor.

Please let us know if this is possible.


Regards.
  • Hello,

    The PCIe peripheral on the device conforms to the PCI Express Base 2.0 Specification, and I believe atomic access is a 3.0 specification feature.  Spinlocks are used by the  processors to lock a device resource during critical code sections or to synchronize processes running on multiple processors.

    Regards,
    Marc

  • Thank you Marc.

    I am sorry for the delay.

    Actually our customer is parallely considering PowerPC Processor.
    they claim that, they could perform atomic operations between two processors
    using PowerPC and they are expecting the same in case of AM3892(Cortex-A8).

    It seems that PowerPC has Primitive atomic instructions like "Test and Set".
    and that could be a deciding factor to choose the processor in their application.

    Please let me know if their is any comparitively similar features in case of AM3892.

    Regards.