How to use S1 onboard encoder?

I understand I need to attach a magnet to the motor shaft. How this magnet should be positioned in relation to the S1? What is the resolution and accuracy of the encoder?

Hi @JuKu, the encoder is this one:

Please refer to the datasheet for this information : )

https://www.monolithicpower.com/en/documentview/productdocument/index/version/2/document_type/Datasheet/lang/en/sku/MA702GQ-Z/document_id/3561/

This tells everything. Thank you!