Other Parts Discussed in Thread: EM1402EVM
Hi,dear ti enginner:
I am debugging the active balance with 1402EVM. And i use my own MCU,not TMS570.
I refer to the TMS570 code to write my own code.And I used the BQ76PL455 ‘ GPIO to communicate with EMB1428 not real spi.
There are some questions,I hope to get your help.:
1.the D4 light is light up and turn off soon,and then repeats the process always. Is this the correct phenomenon by use TMS570 DEMO software?
I find When GPIO5 is set to low voltage ,the D4 will light up,when the GPIO5 is set to high voltage ,the D4 will turn off. it is opposite of the schematic named TIDA-00817?
2.The code in function void EMB_SetCS(int nDev_ID, int CS)
nRead = ReadReg(nDev_ID, 120, &bTemp, 2, 0); // Read GPIO dir register
No.120 register is 1 blen,not 2 blen.
Does this affect the operation of the code?
3.I still can't implement the active balance function. Is there any reference material that can help me solve this problem?
Thanks for you help.
regards.