• I2C & SPI (SSC) modules interfere
    I am using I2C and SSC modules. The code for the SPI bus is from infineon and 'DAvE'. On there own they work fine but when i access devices on both buss at the same time the I2C module appears to crash...
  • I2C & SPI
    Hi, If i have option of using either a I2C or a SPI serial EEPROM with microcontroller then which of these two standards is better one ? Any suggestion will be appreciated. Regards, Dravid....
  • spi
    hi plz provide the spi initialisation code for xc164cs. sys clock is 40 mhz. and also ssctransmit,sscreceive and ssc clock- direction, altsel function and port pin values. im struggling to get clock...
  • spi eeprom
    hi i configured spi using the following code. but the clk is not coming in the sclk pin. can anybody help SSC0_CON_EN=0; SSC_BR = 13 ;//(40000000/2*1000000)-1 SSC0_CON=0xc037; P3.13=1; ALTSELP3...
  • Reading SPI
    Hi, I've a pb using SPI on ST10F168. sfr SSCTB = 0xF0B0; sfr SSCCON = 0xFFB2; sbit SSCBSY = SSCCON^12; sfr SSCRB = 0xF0B2; sfr SSCBR = 0xF0B4; sbit SSCEN = SSCCON^15; sfr DP3 = 0xFFC6; sfr P3...