Tool/software: Code Composer Studio
Hello, I was recently learning the UCD3138HSFBEVM_029 demo board, and can't understand the "sync" functions depply, there are two problems I want to ask help.
1. I set : LoopMuxRegs.SYNCCTRL.bit.SYNC_DIR = 1. And check "LoopMuxRegs.SYNCCTRL.bit.SYNC_IN == 0" when I pull down the SYNC(TP46) to GND. But I noticed all the bits of the " LoopMuxRegs.SYNCCTRL" are equal to 1 when supply to the board. I guess if there are other settings about "LoopMuxRegs.SYNCCTRL" , but I can't find. I expect to know the reasons.
2. Moreover, I noticed the “EXT_SYNC_EN” register in “DPWMCTRL1”, and there are two notes: "Setting the EXT_SYNC_EN bit causes the DPWM to use the Sync In pin as a source for Sync" and "Slave DPWM to external sync", I am confused about this, I want to let DPWMs(different Demo boards) timing consistently, how can I setting the registers?
Looking forward to your reply, thank you very much!