I have used this one:
I2CREAD SDA,SCL,$6C,$0E,[B0,B1]
and it works. Thank you very much for your help
Type: Posts; User: soren7; Keyword(s):
I have used this one:
I2CREAD SDA,SCL,$6C,$0E,[B0,B1]
and it works. Thank you very much for your help
ok
Thank you.
what are ic2writes for ?
I thought that I need to send trigger first to AS5600 (Master mode), but I might be wrong.
Can I ask you why did you use $6C in read command? Shouldn't it be $36?
$36 is I2C address for AS5600
$0F and $0E address for low and high bytes from encoder.
I am pretty sure the data and clock are connected correctly. Also I pull them hight with 4.7k resistor.
Hello,
I am trying to communicate between PIC and AS5600 chip. I am not sure if the commands I send are correct. The only data I receive back from AS5600 is "6" for B0 and "6" for B1.
Here is...