Method for transferring or erasing data in a master-slave environment
The present invention relates to a method for transferring or erasing data of a memory (4) in a system comprising at least a slave device (2) connected to a master device (1) by a Serial Peripheral Interface bus (3). According to the invention, the method comprises the steps of: - the slave device t...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present invention relates to a method for transferring or erasing data of a memory (4) in a system comprising at least a slave device (2) connected to a master device (1) by a Serial Peripheral Interface bus (3). According to the invention, the method comprises the steps of:
- the slave device transmits (S1) an interrupt signal to the master device,
- in response to said interrupt signal, the master device transmits (S3) a read command to read a status register of the slave device, said status register storing flags indicating whether a data transfer and/or erase in the memory is requested or not by the slave device,
- in response to said read command, the slave device transmits (S4) the flags of the status register and address information and length information on the data to be transferred or erased, and
- the master device parses the flags (S7) and triggers (S8-S10) a transfer and/or erase operation in accordance with said flags, address information and length information. |
---|