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.

TMS570_BMS demo程序

Other Parts Discussed in Thread: TMS570LS0432

TMS570_BMS demo 中emb428.c中

WriteReg(nDev_ID, 121, 0x01, 1, FRMWRT_SGL_NR); // set GPIO initial outputs
 WriteReg(nDev_ID, 122, 0x00, 1, FRMWRT_SGL_NR); // set GPIO pull up
 WriteReg(nDev_ID, 123, 0x00, 1, FRMWRT_SGL_NR); // set GPIO pull down
 WriteReg(nDev_ID, 120, 0x0C, 1, FRMWRT_SGL_NR); // set GPIO direction

120,121,122,123均未找到对应寄存器?是属于TMS570ls0432的寄存器还是属于1402EVM的寄存器?