AnsweredAssumed Answered

Using external clock

Question asked by dinrail on Jun 4, 2013
Latest reply on Jun 5, 2013 by ABuda

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:

  1. DioCfgPin(pADI_GP1,PIN0,2); configures P1.0 as  EXT CLK IN
  2. Call ClkCfg() with iClkSrc = CLK_P4

 

When I do that,

 

  1. DioCfgPin is defined in DioLib.c, it seems I should use DioCfg (pADI_GP1, 2) instead.
  2. 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!

Outcomes