• AVR Freaks

Help for calibrating GAIN and Frequency for MCP39F511

Author
srikanth medisetty
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2017/08/28 05:44:11
  • Location: 0
  • Status: offline
2020/05/19 22:47:45 (permalink)
0

Help for calibrating GAIN and Frequency for MCP39F511

Hai,
  We have an MCP39F511 interfaced with imx6 processor over UART. When I tried to read the system status by passing the below packet { 0xA5, 0x08, 0x41, 0x00, 0x02, 0x4E, 0x20, 0x5E} then I am getting reply like{ 0x06 0x23 0x51 0xe0 0x10 0x18 0x06 0x00 0x00 0x00 0xaf 0x00 0xff 0x7f 0xdb 0x01 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x00 0x00 0x0
 0x00 0x00 0x00 0x00 0x95}
  I didn't understand what this reply says.And if I try to read each individual register like voltage RMS,Line Frequency..etc all are getting replied with 0x51 i.e checksum error.I framed the packet as { 0xA5, 0x08, 0x41, 0x00, 0x06, 0x4E, 0x20, 0x5E} for voltage RMS read similarly for other registers also same way with their respective register address all are getting 0x51 only.Please anyone help me on this to get the successful calibration.
 
Regards
Srikanth
 
#1
Jump to:
© 2021 APG vNext Commercial Version 4.5