English
Language : 

AMIS-30621 Datasheet, PDF (38/43 Pages) AMI SEMICONDUCTOR – LIN Microstepping Motordriver
AMIS-30621 LIN Microstepping Motordriver
Data Sheet
9.2.4.3.2 Protocol Handler
This block implements:
- bit synchronization
- bit timing
- the MAC layer
- the LLC layer
- the supervisor
9.2.4.3.3 Electro Magnetic Compatibility
EMC behavior fulfills requirements defined by LIN
specification, rev. 1.2.
9.2.4.4 Error Status Register
The LIN interface implements a register containing an error
status of the LIN communication. This register is as follows:
bit 7
not used
bit 6
not used
bit 5
not used
bit 4
not used
bit 3
Time out
error
bit 2
Data error
flag
bit 1
Header error
flag
bit 0
Bit error
flag
With:
- Data error flag = Checksum error + StopBit error +
Length error
- Header error flag
= Parity + SynchField error
A GetFullStatus frame will reset the error status register.
9.2.4.5 Physical Address of the Circuit
The circuit must be provided with a physical address in
order to discriminate this circuit from other ones on the LIN
bus. This address is coded on 7 bits, yielding the theoretical
possibility of 128 different circuits on the same bus. It is a
combination of 4 OTP memory bits (see § 9.2.2.14) and of
the 3 hardwired address bits (pins HW[2:0]).
The OTP memory contains also an extra bit, ADM, which
allows for the following combinations:
Note
Pins HW0 and HW1 are 5V digital inputs, whereas pin HW2 is
compliant with a 12V level, e.g. it can be connected to Vbat
or Gnd via a terminal of the PCB. To provide cleaning current
for this terminal, the system used for pin SWI is also
implemented for pin HW2 (see § 9.2.1.3).
9.2.4.6 LIN Frames
The LIN frames can be divided in writing and reading
frames. A frame is composed of an 8-bit Identifier followed
by 2, 4 or 8 Data-bytes. Writing frames will be used to:
- Program the OTP Memory;
- Configure the component with the stepper motor
parameters (current, speed, stepping mode, etc.);
- Provide set-point position for the stepper motor.
Whereas Reading frames will be used to:
- Get the actual position of the stepper motor;
- Get status information such as error flags;
- Verify the right programming and configuration of the
component.
AMI Semiconductor - Rev. 1.4
www.amis.com
38