Hannan.khan
Newbie level 3
- Joined
- May 29, 2014
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 36
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
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