I tried to use external clock following the instruction given by AudeR in http://ez.analog.com/message/86756#86756
if you are using the low level functions:
- DioCfgPin(pADI_GP1,PIN0,2); configures P1.0 as EXT CLK IN
- Call ClkCfg() with iClkSrc = CLK_P4
When I do that,
- DioCfgPin is defined in DioLib.c, it seems I should use DioCfg (pADI_GP1, 2) instead.
- Based on Hardware User Guide, page 100, it seems to suggest that if I use mode 2, I can't use GPIOs on P1.1, 1.2 and 1.3, and 1.4...1.7 will be turned into SPIO only.
Please clarify, thanks!