Other Parts Discussed in Thread: BQ76PL455EVM
I follow the bq76pl455 EVM engineer tech.
set up read command and some configuring for the bq76pl455EVM.
// Read sampled data from boards (section 3.3.2)
// 24 bytes - still configured for 8 AFE channels plus 2 AUX channels plus internal digital and analog die
// temperatures (see code for section 2.2.5.2)
nDev_ID = 0;
nSent = WriteReg(nDev_ID, 2, 0x20, 1, FRMWRT_SGL_R); // send read sampled values command
nSent = WaitRespFrame(bFrame, 27, 0); // 24 bytes data + packet header + CRC, 0ms timeout
// Send sample request to single board to sample and send results (section 4.2)
nDev_ID = 0;
nSent = WriteReg(nDev_ID, 2, 0x01, 1, FRMWRT_SGL_NR); // send sync sample command
nSent = WaitRespFrame(bFrame, 27, 0); // 24 bytes data + packet header + CRC, 0ms timeout
How could I see the response for channel data in CCS?
I probably know the Voltages data are in the bFrame
I set the bFrame in the Expressions,but it didn't found.
The engineer say that I should be including some type of print
so I try to printf() the data in the CCS consolo window.
I know that I should include #<stdio.h> in the code.
Is any else need to set and notice in the CCS?