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

USB EZ-PD™ Type-C Forum Discussions

NaMe_2085021
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi everyone,

I will plan use my board for stepper motor control with support USB type C Power Delivery.

I use CYPD3120 as the main controller in my project .

I use stepper motor driver from MPS MP6500 for stepper motor.

I use PSoC Creator 3.3 for programing and I use EZ-PD Configuration Utility for updating firmware.

I want to do  acceleration/deceleration rate for stepper motor driver, but now I can't do that.

So, I have question.

Do you have code example or maybe you have solutions  for acceleration/deceleration rate for stepper motor?

I will be very grateful to you for any help.

Best regards,

Nazar

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Nazar,

1. CCGx device do not have reference design for stepper motor control.

2. For my understanding, stepper motor control could be based on PWM drive from GPIO. Luckily, the GPIO on CCGx device can support PWM and you could use the API of PWM component based on your requirements.

Best Regards,

Lisa

View solution in original post

0 Likes
1 Reply
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Nazar,

1. CCGx device do not have reference design for stepper motor control.

2. For my understanding, stepper motor control could be based on PWM drive from GPIO. Luckily, the GPIO on CCGx device can support PWM and you could use the API of PWM component based on your requirements.

Best Regards,

Lisa

0 Likes