AnsweredAssumed Answered

3 phase sine wave generation using pwmmac api

Question asked by Vrushali Taklikar on Sep 20, 2018

Hello,

 

I want to generate dual inverter, where in two 3 phase sine wave will be generated.

 

ETPU A0 etpu A2 etpu A4 will be in phase shift of 120 degree and 240 degree and its respective compliment will be Etpu A1, etpu A3, etpu A5.

 

Similarily another 3 phase sine wave will be for etpu engine B

etpyB0, B2 and B4 will be in phase shift of 120 degree and 240 degree and its respective compliment will be etpub1 etpub3 etpub5.

 

I want to generate a phase shift between following pairs

 

etpu a0 - etpu b0

etpu a1 - etpub1. and so on.

 

All the pairs will have common phase shift alpha.

 

Can you please let me know if this is possible using below api, if not then is there any other apis to generate phase shift.

 

/* Initialization of PWMMAC channel and 3 phases. */
int32_t fs_etpu_pwmmac_init_3ph( uint8_t channel,
uint8_t priority,
uint8_t phaseA_channel,
uint8_t phaseA_negate_duty,
uint8_t phaseB_channel,
uint8_t phaseB_negate_duty,
uint8_t phaseC_channel,
uint8_t phaseC_negate_duty,
uint8_t modulation,
uint32_t* p_table,
uint8_t update,
uint8_t alignment,
uint8_t phases_type,
uint8_t swap,
uint8_t base_ch_disable_pin_state,
uint8_t compl_ch_disable_pin_state,
uint24_t start_offset,
uint24_t period,
uint24_t update_time,
uint24_t dead_time,
uint24_t min_pw);

 

Thanks

Vrushali

Outcomes