This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, I am using LAUNCHXL-F28379D with BOOSTXL-POSMGR to get the tamagawa encoder signal (t-fromat).
The TI reference program "tformat_f28379x_boostxl_posmgr_site2" is in use in the test.
However, some obnormal results are got.
1. No signal in expression window, the program is always waiting the "while(tformatData.dataReady != 1); " in the main.c while(1).
2. No clocking signal detected by the oscilliscope on PWM4B, GPIO63, GPIO64.
I am not sure, is the PWM4B controller by CLB or PWM4 registers? Why the PWM4 resisters are always as default when the program is running. At least the TBPRD should have been set, but not.
Any friends can help?
Best wishes
Lei
Lei,
Here are some debug steps:
Note: The pinout in Figure 4, in Rev B of the documentation is incorrect. Refer to the function tformat_setupGPIO(void) in the file tformat.c for the correct GPIO.
Lei Yang3 said:I am not sure, is the PWM4B controller by CLB or PWM4 registers? Why the PWM4 resisters are always as default when the program is running. At least the TBPRD should have been set, but not.
The only part of the PWM module used is the output enable to turn on/off the signal at that pin. The PWM is otherwise not used.
Regards
Lori