SIMCOM SIM800H SPI issues

Discussion in 'Embedded Systems and Microcontrollers' started by hannan.khan, May 29, 2014.

  1. hannan.khan

    Thread Starter New Member

    May 29, 2014
    1
    0
    hello guys
    i am working on SIM800H (similar to SIM900D)... my problem is that my code gets stuck when i try to initialize SPI... while the normal AT commands work the app is stuck on the initialization.

    i have chked all the .H & .C files and the syntax is absolutely correct... the command is as follows:
    eat_spi_init(EAT_SPI_CLK_13M, EAT_SPI_4WIRE, EAT_SPI_BIT8, EAT_FALSE, EAT_TRUE);

    where
    EAT_SPI_CLK_13M
    EAT_SPI_4wire
    EAT_SPI_BIT8
    are all built in commands and the last 2 are to activate other pins for connection(chked all cases for these).
    any 1 got any advice?
    thanks in advance
     
Loading...