Bcc_772c extract Isense helper function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bcc_772c extract Isense helper function

110 Views
primo
Contributor I

Hello,

While i was researching on the s32k358, bcc_772c example, it appears that the current and voltage through the shunt resistor is taken by first using a "Bcc_772c_CC_get_data", then use a "bcc_772c_ExtractIsense". 

However, when i extracted the meaningful data in the TD data structure, there is 15 messages being sent back. Among the 15 data, using zero based indexing, I only find the data at the following index are related with the current reading. Meanwhile, the value at other indexes that is meant to be meaningful data appears to be cyclic and does not associate with the current measurment.

index 2: slope reflects the magnitude of the current

index 8: high for negative current and low for positive current.

I understand that each data pack consists of 6*uint16, the first and second data, and an additional data between each data pack are TD dedicated. But I am confused about the meaning of the data at other indexes that are supoosed to be meaningful.How do they contribute to the current measurement? Your answer will be a great help for me, thanks!

Sincerely

 

Labels (1)
0 Kudos
Reply
0 Replies