- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need to convert the code example that you can find in PSOC 4 kit 037 to PSOC 5LP PN:CY8C5888LTI-LP097.
The code example his name is sensor BLDC motor PSOC 4.
link:CY8CKIT-037 PSoC 4 Motor Control Evaluation Kit (cypress.com)
PLS convert it and explain how you do it.
How can i change the factors of measurements ADC?
PLS explain the functionality of the design.
Thank you.
BR,
Ilan
Solved! Go to Solution.
- Labels:
-
PSoC1 MCU
-
PSOC5 LP MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1. The VDDIO voltages are exceeding the VDDA voltage. Need to change that in systems tab in CYDWR.
2. UART, ADC,IDAC, LPComp, TCPWM are PSoC4 based components. Corresponding PSoC 5 components should be replaced.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi lIan,
I doubt whether there is a ready ported code example available. Most of the peripherals needed are supported in the PSoC5 device also. So the modification needed might be component replacement and code modifications to make it compatible with new components. Let us know if you face any issues while porting.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vasanth,
I replace the components TCPWM,ADC SAR,LPComp_OC and Counter_Spd.
I get the erros as following:
1.C99 error
Counter_Spd_ClearInterrupt(Counter_Spd_INTR_MASK_CC_MATCH);
LPComp_OC_ClearInterrupt(LPComp_OC_INTR_RISING);
Can you PLS tell me how to fix the errors and what is the configuration to the components:
TCPWM,ADC SAR,LPComp_OC and Counter_Spd.
BR,
Ilan Mazuz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vasanth,
I replace the components TCPWM,ADC SAR,LPComp_OC and Counter_Spd.
I get the erros as following:
1.C99 error
Counter_Spd_ClearInterrupt(Counter_Spd_INTR_MASK_CC_MATCH);
LPComp_OC_ClearInterrupt(LPComp_OC_INTR_RISING);
Can you PLS tell me how to fix the errors and what is the configuration to the new components :
TCPWM,ADC SAR,LPComp_OC and Counter_Spd.
BR,
Ilan Mazuz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying the same stuff
Trying to implement the example code on PSOC-5lp.
The following two functions seem to Clear the Interrupt event on the modules.
Counter_Spd_ClearInterrupt(Counter_Spd_INTR_MASK_CC_MATCH);
LPComp_OC_ClearInterrupt(LPComp_OC_INTR_RISING);
According to the datasheets of PSOC 5LP, the Interrupt events can be cleared by reading the status register, by calling the ReadStatusRegiser() function.
Do you successfully implement the example code on PSoC-5lp?
Any further progress?
BR,
Wilsom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ilan,
Make sure that the APIs are compatible across components. You can right click on the component and go to datasheet. There in API reference, you can make sure that the right APIs are being used. Also make sure that you are using the right APIs and functions throughout the code while porting.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1. The VDDIO voltages are exceeding the VDDA voltage. Need to change that in systems tab in CYDWR.
2. UART, ADC,IDAC, LPComp, TCPWM are PSoC4 based components. Corresponding PSoC 5 components should be replaced.
Best Regards,
Vasanth