Hello! I have an HTRC110 and I cannot communicate my pic with it. I am using SPI interface so I make the start condition and then I configure the HTRC sending the appropiate values of config page. The problem is that it is always sending '1' in the output (SDO).
When I send for example get_config_page it sends '1'. The output (SDO) does not change any moment.
To configure the HTRC110 I send this code after the start condition:
//SET_CONFIG_PAGE page 3 (DISLP1=0, DISSMARTCOMP=0, FSEL=10[8MHz osc])
transmision_datos(0x72); //SET_CONFIG_PAGE_3()=01110010
Delay10KTCYx(20);
//SET_CONFIG_PAGE page 0 (GAIN=##, FILTERH=1, FILTERL=1)
transmision_datos(0x4F); //GET_CONFIG_PAGE_0()=01001111
Delay10KTCYx(20);
//SET_CONFIG_PAGE page 2 (THRESET=1, ACQAMP=1, FREEZE=11)
transmision_datos(0x6F); //GET_CONFIG_PAGE_2()=01101111
Delay10KTCYx(20);
//SET_CONFIG_PAGE page 1 (PD_MODE=0[active], PD=1[power down], HYSTERESIS=0[off], TXDIS=1[coil driver off])
transmision_datos(0x55); //GET_CONFIG_PAGE_0()=01010101
Delay10KTCYx(20);
After this, I send the process which is explained in the page 50 of the application note.
And finally, I send a command in order to received something, but I don't see anything with oscilloscope.
I hope some help.
Thank you very much!
David.