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.

Linux/AM3358: mcasp ahclkx divider

Part Number: AM3358
Other Parts Discussed in Thread: TAS2557

Tool/software: Linux

I am trying to produce a 12MHz clock output on MCASP1 AHCLKX pin. 

  • OSC0 has 24MHz crystal
  • TI-SDK 5.0

Based on the TRM, it looks like I need to properly set the HCLKXDIV bits in the AHCLKXCTL register. 

My question is how/where do I set the register value?  ...in the device tree?...userspace?....?

Any guidance would be appreciated.

David