FBL2350 how to connect wires spi interface with a motor equiped AS5145

5 years 2 months ago - 5 years 2 months ago #29530928 by Stev93
Hello, I do not understand how to connect the wires on the datasheet, I have a motor (BLRN167/25 by MicroMotor) with a Magnetic Rotary Encoder (AS5145 chip) and a Roboteq FBL2360 motor driver.
i tried this wire connection but motor going stall detection

AS5145 Roboteq 10-pin Molex connector

VDD5v(pin 16) to 5V (Row2, Pin 1)
VSS(pin 16)) to GND (Row2, Pin 5)

DO(pin 9)) to Data1 (Row2, Pin 3)
CLK(pin 10)) to Clock (Row2, Pin 2)
CSn(pin 11)) to sel (Row1, Pin 4)


In attachments i upload my actual controller configuration.
help me thanks.

Please Log in or Create an account to join the conversation.

5 years 2 months ago #29530930 by TechSupport
In general, all of our brushless motor controllers require hall sensors. Since you are trying to do a motor commutation via encoder, it is different.

I've attached a supplemental guide you should refer to.
Attachments:

Please Log in or Create an account to join the conversation.

5 years 2 months ago #29530936 by Stev93
thanks, but this document don't speak about spi interface. in the FBL2360 datasheet i found this:
"In Sinusoidal Mode, the controller can use motors equipped with absolute angle sensors with SPI interface, such
as found on the BL167 or BL90 motors from Micromotor. When enabled, the SPI signals are found on the 10-pin
Molex connector that is otherwise used for the Hall Sensors. The controller issues a clock and select signal.
When two motors are used, these signals must be connected to both sensors. Serial data from each sensor is
captured on separate input pins."
from this datasheet I understand that I can use a sensor spi instead of the classic hall sensors.
I do not know how to configure the controller in Roborun+ and if wires connections are correct.

Please Log in or Create an account to join the conversation.

5 years 2 months ago - 5 years 2 months ago #29530945 by Stev93

roboteq wrote: The SSI interface is not yet published in the datasheet.

SSI is using the 10-pin connector that is now used for hall encoder.

One pin is used as Clock for both motors
One pin is used as Select for both motors
One pin is Data for motor 1
One pin is Data for motor 2



Roboteq, in that post you suggested me the pin configuration for my micromotor BL167
Can you help me?

Please Log in or Create an account to join the conversation.

5 years 2 months ago #29530946 by roboteq
Each motor has a cable with several wires in it

Connect as follows

yellow to black (ground). This is the sensor Data in and it should not be left floating

black of motors 1 and 2 to GND on the controller

red of motors 1 and 2 to 5VOut on the controller

purple of motors 1 and 2 to the sel pin on the controller

white of motors 1 and 2 to the clock pin on the controller

Blue of motor 1 to Data 1 on the controller

Blue of motor 2 to Data 2 on the controller

Then select the sinusoidal mode on the PC utility and select SPI as the Sinusoidal Angle sensor. Enter the number of poles pairs = 10

Save to controller

THen in the Run tab, in the chart enable the Hall Counters for channel 1 and 2. You should see a number in both. With the motor brake released, turn the motor by hand. Verify that counters works.

If they do, this means the sensor is correctly connected and working. You should then be able to operate the motor with the slider in the Run tab.

Please Log in or Create an account to join the conversation.

5 years 2 months ago #29530947 by Stev93
Thanks,i try tour configuration but motor stay stall and if I turn the motor by hand the hall counter stay to 0 value, now I'm testing with only one motor. This can be a problem? must be all two motors connected to work?

Please Log in or Create an account to join the conversation.

5 years 2 months ago #29530948 by roboteq
Nothing wil work if the counter doesnt work. Best is that we look at this together. Please download and install teamviewer. Email your Id, Pw and phone number to This email address is being protected from spambots. You need JavaScript enabled to view it..

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.127 seconds