Magsense :Rsv PIN,The project contains 5 buttson that must hav a rsv

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

4pin.png5pin.pngWhen the project has 4 buttons,There is no Rsv pin;but 5 buttons,there is;

The project contains 5buttons,How does this Rsv pin connect in PCB  ?

 

Thanks

 

Magsense  当使用4个buttons的时候没有RSV pin脚,我现在用5个buttons,这个RSV 在PCB 上怎么接呢?

 

 

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @Frank_vec 

 

The MagSense sensing algorithm requires one additional Lx GPIO per port for successful scanning. In case you have more than one sensor in a port, then the algorithm will reuse the pins from inactive sensors (sensors that are not scanned at that time instance) for its operation. In your case, Button4 has its Lx pins assigned to Port 3. Since there are no other sensors having Lx in port 3, we require one additional GPIO which is indicated by the Rsvd pin. In case you add another sensor, say Button5, and assign its Lx to Port 3, then you will no longer require this Rsvd pin. 

Hari_0-1655449745059.png

 

 

Best regards, 
Hari

View solution in original post

0 Likes
4 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @Frank_vec 

 

The MagSense sensing algorithm requires one additional Lx GPIO per port for successful scanning. In case you have more than one sensor in a port, then the algorithm will reuse the pins from inactive sensors (sensors that are not scanned at that time instance) for its operation. In your case, Button4 has its Lx pins assigned to Port 3. Since there are no other sensors having Lx in port 3, we require one additional GPIO which is indicated by the Rsvd pin. In case you add another sensor, say Button5, and assign its Lx to Port 3, then you will no longer require this Rsvd pin. 

Hari_0-1655449745059.png

 

 

Best regards, 
Hari

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

as the pdf  show: The rsv is internal use, In PCB   the rsv need not connected to others? in the othe side ,Coudl I use RSV in code ?

 

Thanks 

 

 

 

 

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @Frank_vec 

 

The RSV pin need not be connected to anything in the PCB. Please treat that pin as a NC pin. It is recommended not to use that GPIO for any purpose in code either. In case you are using, please make sure that it is free and configured in analog mode when the MagSense scan is active. 

 

Best regards, 
Hari

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

Hi @Hari 

very useful,thanks for your help ,very 谢谢

 

0 Likes