Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Tool/software:
Dear TI Support Team,
I am currently working on a project using a C2000 DSP and need to configure multiple peripherals, including:
- ePWM
- SDFM
- eCAP
- SPI
- eQEP
- SCI
- CMPSS
- I2C
- ADC
- McBSP
- DAC
- Watchdog Timer
- DMA
- CLA
- CAN
- USB
- GPIO
- EMIF
I would like to ask if there are any general guidelines or recommended initialization sequences for configuring these peripherals effectively. Specifically, I am looking for best practices to avoid conflicts and ensure proper synchronization between peripherals, especially for time-critical systems.
Here are a few specific questions I have:
- Is there a recommended order to configure peripherals (e.g., should clocks and GPIOs always be initialized first)?
- Are there dependencies between peripherals (e.g., using ePWM to trigger ADC or DMA) that I should be aware of? Specifically, in cases where one peripheral (e.g., ePWM) serves as a trigger for another (e.g., ADC), which peripheral should be configured first to ensure proper operation?
- For the example application as a 6-switch boost PFC rectifier: Is it recommended to configure the GPIO pins for PWM outputs before initializing the ePWM module itself? Are there any specific considerations or potential issues I should be aware of to ensure proper functionality and avoid conflicts during the initialization process?
I have reviewed the Technical Reference Manual and C2000Ware examples, but I want to ensure I am following best practices, especially for systems involving multiple peripherals operating simultaneously.
Thank you for your assistance. I look forward to your guidance.
Best regards,
Thao