fizo741
Member level 1
- Joined
- Aug 10, 2012
- Messages
- 34
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Tehran/Iran
- Activity points
- 1,539
Hi everybody,
I’m doing a project with MLX90614 and I should start to write” C programming “ . At the first step , unfortunately I don’t understand pec calculation in application note because I don’t have the orginal message! The purpose of my project is to initiate this sensor. I write some of pseudo code example. An erasing of the eeprom address 0x0E( smbus address)
1. Send START bit
2. Send Slave Address (0x00* for example) + Rd\-Wr bit**
3. Send Command (0b001x_xxxx + 0b0000_1110 -> 0b0010_1110)
4. Send Low data 0x00
5. Send High data 0x00
6. Send PEC 0x6F
…
Can anyone help me? Its extremely emergency. I would appreciate.
regards
I’m doing a project with MLX90614 and I should start to write” C programming “ . At the first step , unfortunately I don’t understand pec calculation in application note because I don’t have the orginal message! The purpose of my project is to initiate this sensor. I write some of pseudo code example. An erasing of the eeprom address 0x0E( smbus address)
1. Send START bit
2. Send Slave Address (0x00* for example) + Rd\-Wr bit**
3. Send Command (0b001x_xxxx + 0b0000_1110 -> 0b0010_1110)
4. Send Low data 0x00
5. Send High data 0x00
6. Send PEC 0x6F
…
Can anyone help me? Its extremely emergency. I would appreciate.
regards