This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC3220MODA: CC3220MODASF : Unable to use GPIO_14,15 as I2C pins

Part Number: CC3220MODA
Other Parts Discussed in Thread: CC3220SF

Tool/software: TI-RTOS

Hi

I am working on CC3220MODASF where I am interfacing I2C sensor (AM2315) on PIN 1,2 and its working fine but as soon as I change the pins to PIN 5,6 i.e. GPIO-14,15 the code doesn't work. I made the required changes in launchxl.c also but still  the code doesn't work. Is there any other modification required?

  • Hi,

    Do you have properly connected pull-up resistors to your I2C (SDA, SCL)? It seems that AM2315 use 5V Vcc level (3.5 to 5.5V). Do not forgot tat CC3220 is not 5V tolerant. In case you powering AM2315 by 5V, you need to use voltage level shifter.

    Jan

  • Sir,

    I have already connected pull-up resistors and level shifter with the sensor  and checked it, hardware connections are fine.Still I am not getting any output.

    The firmware works well for PIN1,2 but not for PIN 5,6 

  • Hi,

    Can you check by logical analyser or by oscilloscope how looks levels of your SDA and SCL lines? Can you provide photo with good quality showing connection of you probe to LaunchPad?

    From my point of view it looks that your TI drivers configuration is not correct. Please provide your CC3220SF_LAUNCHXL.h/c files as well (use Syntaxhighlighter).

    Btw ... do you use own hardware? In case of you are using own hardware, it may to be possible that you have a manufacturing issue (soldering issue under module).

    Jan

  • If you are using your own hardware but also have a launchpad it would be useful to test those pins on launchpad.

    Jesu

  • Hi Nishi,

    I'm going to close this thread due to inactivity. If you have a status update or a related question feel free to respond.

    Jesu