Bcc_772c extract Isense helper function

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Bcc_772c extract Isense helper function

502 次查看
primo
Contributor II

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

 

标签 (1)
0 项奖励
回复
0 回复数