TMC423 N hold and Register hold bit setting?

TMC423 N hold and Register hold bit setting?

Postby krunal_299 » 23 Jun 2007, 12:57

I have confusion brtween these two bit setting in 423 datagram
1) Nhold bit
2) Register hold bit
Both freezes the Encoder hold registers on Interrupt ?
then what is the difference?
so pls explain it .
krunal_299
Power User
Power User
 
Posts: 73
Joined: 02 Jun 2007, 16:04
Location: India

Postby TRINAMIC_BD » 25 Jun 2007, 09:30

The NHold bit controls encoder hold upon 0 channel active for each encoder separately.
The Common Hold bit freezes all encoders counters at once.
User avatar
TRINAMIC_BD
Site Admin
 
Posts: 2447
Joined: 25 Jul 2006, 12:21
Location: Hamburg (Germany)

Postby krunal_299 » 26 Jun 2007, 10:20

ok thank you very much !
so it means :
by Register hold register bit , i can freezes all the counter at any moment other than at interrupt .
is it ok?
Also pls let me know about any reference ciruit of TMC 423 .
krunal_299
Power User
Power User
 
Posts: 73
Joined: 02 Jun 2007, 16:04
Location: India

Postby TRINAMIC_BD » 26 Jun 2007, 12:24

Currently there is no reference circuit available, which brings information in addition to the datasheet examples.
User avatar
TRINAMIC_BD
Site Admin
 
Posts: 2447
Joined: 25 Jul 2006, 12:21
Location: Hamburg (Germany)

Postby krunal_299 » 27 Jun 2007, 09:08

Ok no problem!
but whenever available pls let me know abt it.
I will be very thankful to your service.
Ans reply for following que:
by Register hold register bit , i can freezes all the counter at any moment other than at interrupt .
is it ok?

For encoder having high index pulse, what would be the setting of Npolarity and Ntrigger?
hope to have quik reply as earlier.
With heartest thnx.
krunal_299
Power User
Power User
 
Posts: 73
Joined: 02 Jun 2007, 16:04
Location: India

Postby TRINAMIC_BD » 27 Jun 2007, 09:49

1: yes.
Npolarity=1 for positive encoder signal (pls. see manual page 16)
Ntrigger can be any.
User avatar
TRINAMIC_BD
Site Admin
 
Posts: 2447
Joined: 25 Jul 2006, 12:21
Location: Hamburg (Germany)

Postby krunal_299 » 27 Jun 2007, 10:37

ok
I have already reffered the datasheet .
But i was confused .
Ntrigger can be any.
So it does not make any difference to the event?
krunal_299
Power User
Power User
 
Posts: 73
Joined: 02 Jun 2007, 16:04
Location: India

Postby krunal_299 » 30 Jun 2007, 13:46

Oh dear !
I am still confused with Ntriggr bit setting.
Exactly what this bit control regarding to null channel event?

if i set Ntriggr bit for next N event then does it clear the couner at every 2 nd occurenc of N detection?
krunal_299
Power User
Power User
 
Posts: 73
Joined: 02 Jun 2007, 16:04
Location: India

Postby TRINAMIC_BD » 30 Jun 2007, 18:25

I selects between clear once and clear always.
User avatar
TRINAMIC_BD
Site Admin
 
Posts: 2447
Joined: 25 Jul 2006, 12:21
Location: Hamburg (Germany)

Postby krunal_299 » 02 Jul 2007, 07:35

Thank u very much for your guidance!
If i clear this Ntrggr bit : then encoder counter register get cleared only once on null event after power on.
and if i set Ntrgr bit: then counter reg. get cleared on every occurence of null event.

is it right perception?
krunal_299
Power User
Power User
 
Posts: 73
Joined: 02 Jun 2007, 16:04
Location: India

Postby TRINAMIC_BD » 02 Jul 2007, 10:01

You enable 0 clearing with bit Clear on N. Depending on N Trigger is becomes reset after one Clear event.
User avatar
TRINAMIC_BD
Site Admin
 
Posts: 2447
Joined: 25 Jul 2006, 12:21
Location: Hamburg (Germany)


Return to Other ICs

Who is online

Users browsing this forum: No registered users and 1 guest