PSoC4 Microcontroller for microstepping feature in Stepper motor through SPI communication?

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

cross mob
benkim
Level 3
Level 3
Distributor - AVNET
First like received 50 sign-ins 25 sign-ins
 

Dear Team Cypress,

Can you recommend a cypress MCU that can  work, thru SPI communication , together with motor driver to do micro-stepping control in Stepper Motor ? If you can find a part that meets the below requirements that would be great!

microstepping feature + specification  requirements:
-core Arm m0+
-32KB Flash
-2KB SRAM
-SPI communication required
-ADC/GPIO/SPI available
-having EEPROM is a plus


The customer used to consider for CY8C4125PVE-S422 ( https://www.cypress.com/file/429186/download ) for its specification, but the previous advise told me microstepping didn't work, so im posting this again to ask for the Cypress MCU part that can have microstepping through SPI communication


Thank you for your consideration and help.

Sincerely,

Ben

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @benkim 

You can refer to the CY8CKIT-037 PSoC 4 Motor Control Evaluation Kit landing page the CY8CKIT-037  specifically designed to mate with our popular PSoC 4 CY8CKIT-042( which has the CY8C4245AXI-483 device) pioneer kit. CY8CKIT-037 kit can also work with latest PSoC 4500S Pioneer kit (CY8CKIT-045S) for a motor control evaluation platform.

On the kits landing page you would also find some code examples one of which shows microstepping feature in Stepper motor. The code example however does not use SPI for communication. But since the  CY8C4245AXI-483 supports SPI feature you can use the same device to implement microstepping using SPI.

Here is the datalink for the PSoC 4200 part: link

The part support the following features:
1. Up to 32 kB Flash
2. Up to 4kB SRAM
3. Emulated EEPROM
4. Two SCBs which are configurable as SPI
5. ADC and GPIO

Best Regards
Ekta

View solution in original post

0 Likes
3 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @benkim 

You can refer to the CY8CKIT-037 PSoC 4 Motor Control Evaluation Kit landing page the CY8CKIT-037  specifically designed to mate with our popular PSoC 4 CY8CKIT-042( which has the CY8C4245AXI-483 device) pioneer kit. CY8CKIT-037 kit can also work with latest PSoC 4500S Pioneer kit (CY8CKIT-045S) for a motor control evaluation platform.

On the kits landing page you would also find some code examples one of which shows microstepping feature in Stepper motor. The code example however does not use SPI for communication. But since the  CY8C4245AXI-483 supports SPI feature you can use the same device to implement microstepping using SPI.

Here is the datalink for the PSoC 4200 part: link

The part support the following features:
1. Up to 32 kB Flash
2. Up to 4kB SRAM
3. Emulated EEPROM
4. Two SCBs which are configurable as SPI
5. ADC and GPIO

Best Regards
Ekta

0 Likes
benkim
Level 3
Level 3
Distributor - AVNET
First like received 50 sign-ins 25 sign-ins

Hello Ekta, 

Thank you so much for your reply and recommendation on the CY8C4245AXI-483 

I have further questions regarding CY8C4245AXI-483.
-does CY8C4245AXI-483 support LIN and sleep mode? If it does, if
 CY8C4245AXI-483 getting into sleep mode, can it be awake by LIN Bus wake up? 
-While is sleep-mode. will the current consumption will be less than 100uA during sleep mode?

 

Thank you for finding this part to meet our needs and help further. I really appreciate your work.

Sincerely,
Ben 

 

0 Likes
benkim
Level 3
Level 3
Distributor - AVNET
First like received 50 sign-ins 25 sign-ins

Hello Ekta, 

would         CY8C4245AXI-483     and      TLE94104EP "Infineon motor driver"
(TLE94104EP_Data_Sheet_1.0 (infineon.com))

work together to do micro-stepping control on the step motor through SPI communication?

Upon checking, TLE94104EP has 3 H-Bridges.

If you can answer about the LIN ( sleep mode/awake ) and current consumption level during sleep mode that asked earlier today as well, that would be greatly appreciated.

Thank you so much for your help.

Sincerely,

Ben

 

P.S.

Below is Step Motor Control example block diagram in page 71 from
CY8CKIT-037 PSoC® 4 Motor Control Evaluation Kit Guide (cypress.com)

Diagram shows PSoC 4 + Dual H Bridge MOSFET + Step Motor. 

hoop4g_1-1638508227734.png

 

 

0 Likes