Writing to CSHI0 registers on RH850/P1HC

I am trying to write to CSHI0  registers CTL0,1 and 2 and CFG registers to configure CSHI0 spi communication after setting up the registers when i view the memory location in the multi debugger the values are not reflecting and i am not getting any output. While my port configuration registers values are reflected in the debugger. So, can you help me how to write to these registers to up my spi communication?

Parents
  • Hello Akshay

    Out of MCU reset the clock supply to CSIH is not enabled.  Before writing to any of the CSIH registers you need to enable this clock source which is done by setting MSR_LM10 = 1.  See section 14.3.9 of the HW UM.

    Regards Dave 

Reply
  • Hello Akshay

    Out of MCU reset the clock supply to CSIH is not enabled.  Before writing to any of the CSIH registers you need to enable this clock source which is done by setting MSR_LM10 = 1.  See section 14.3.9 of the HW UM.

    Regards Dave 

Children
No Data