The SHA2 instruction is an asynchronous instruction. Processing extends over multiple calls. You start processing with a rising edge at the REQ parameter.
The parameters Busy and Done indicate the status of the job.
If an error occurs during execution, this is signaled by the parameters Error and Status.