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.

AM335x Clock Tree Tool and SPI

Like pretty much everyone else that has tried using SPI on the BBB I'm having trouble getting any signs of life out the the SPI modules.  Using the MCSPI_SYST register I've confirmed that the pin multiplexing is good.  I can read and write registers fine so the OCP clock is there.  That seems to narrow the problem down to the functional clock.

I tried the TI clock tree tool to see if it revealed something I might be missing.  Unfortunately it shows the same symptoms as the real hardware.  No matter what state the SPI peripherals are in it will not gate the functional clock to the module.   I would appreciate it if someone could load the following register file in to the clock tree tool and see if there's something obvious that I'm missing.

Sorry for the humongous post.

Thanks,

James

Cut and paste the following (starting with the DeviceName line) to a file named registers.rd2 so it can be loaded into the tool.

DeviceName AM335x1.0
[0x44e00000] 0x000c0100
[0x44e00004] 0x0000000a
[0x44e00008] 0x00000102
[0x44e0000c] 0x00000012
[0x44e00010] 0x00070000
[0x44e00014] 0x00070000
[0x44e00018] 0x00070000
[0x44e0001c] 0x00070000
[0x44e00020] 0x00070000
[0x44e00024] 0x00070000
[0x44e00028] 0x00030000
[0x44e0002c] 0x00030000
[0x44e00030] 0x00030002
[0x44e00034] 0x00030000
[0x44e00038] 0x00030000
[0x44e0003c] 0x00030000
[0x44e00040] 0x00030000
[0x44e00044] 0x00030000
[0x44e00048] 0x00030000
[0x44e0004c] 0x00030002
[0x44e00050] 0x00030002
[0x44e00054] 0x00030000
[0x44e00058] 0x00030000
[0x44e00060] 0x00000002
[0x44e00064] 0x00000002
[0x44e00068] 0x00030000
[0x44e0006c] 0x00030000
[0x44e00070] 0x00030000
[0x44e00074] 0x00030000
[0x44e00078] 0x00030000
[0x44e0007c] 0x00030000
[0x44e00080] 0x00030000
[0x44e00084] 0x00030000
[0x44e00088] 0x00030000
[0x44e0008c] 0x00030000
[0x44e00090] 0x00030000
[0x44e00094] 0x00030000
[0x44e00098] 0x00030000
[0x44e0009c] 0x00030000
[0x44e000a0] 0x00030000
[0x44e000a4] 0x00030000
[0x44e000a8] 0x00030000
[0x44e000ac] 0x00030000
[0x44e000b0] 0x00030000
[0x44e000b4] 0x00030000
[0x44e000b8] 0x00030000
[0x44e000bc] 0x00030000
[0x44e000c0] 0x00030000
[0x44e000c4] 0x00030000
[0x44e000c8] 0x00070000
[0x44e000cc] 0x00030000
[0x44e000d0] 0x00030000
[0x44e000d4] 0x00030000
[0x44e000d8] 0x00030000
[0x44e000dc] 0x00000002
[0x44e000e0] 0x00000002
[0x44e000e4] 0x00070002
[0x44e000e8] 0x00070000
[0x44e000ec] 0x00030000
[0x44e000f0] 0x00030000
[0x44e000f4] 0x00030000
[0x44e000f8] 0x00030000
[0x44e000fc] 0x00070000
[0x44e00100] 0x00070000
[0x44e00104] 0x00030000
[0x44e0010c] 0x00030000
[0x44e00110] 0x00030000
[0x44e0011c] 0x0000007a
[0x44e00120] 0x00000002
[0x44e00124] 0x00070000
[0x44e00128] 0x00000000
[0x44e0012c] 0x00000002
[0x44e00130] 0x00070002
[0x44e00134] 0x00030000
[0x44e00138] 0x00030000
[0x44e0013c] 0x00030000
[0x44e00140] 0x00000002
[0x44e00144] 0x00000002
[0x44e00148] 0x00000002
[0x44e0014c] 0x00030002
[0x44e00150] 0x00000000
[0x44e00400] 0x00000004
[0x44e00404] 0x00030000
[0x44e00408] 0x00030000
[0x44e0040c] 0x00000002
[0x44e00410] 0x00030002
[0x44e00414] 0x52580002
[0x44e00418] 0x0000001a
[0x44e0041c] 0x00000000
[0x44e00420] 0x00000000
[0x44e00424] 0x00000000
[0x44e00428] 0x00000000
[0x44e0042c] 0x0002d017
[0x44e00430] 0x00000000
[0x44e00434] 0x00000000
[0x44e00438] 0x00000000
[0x44e0043c] 0x00000000
[0x44e00440] 0x00010a17
[0x44e00444] 0x00000000
[0x44e00448] 0x00000000
[0x44e0044c] 0x00000000
[0x44e00450] 0x00000000
[0x44e00454] 0x00000000
[0x44e00458] 0x00000000
[0x44e0045c] 0x00000000
[0x44e00460] 0x00000000
[0x44e00464] 0x00000000
[0x44e00468] 0x0003e817
[0x44e0046c] 0x00000000
[0x44e00470] 0x00000000
[0x44e00474] 0x00000000
[0x44e00478] 0x00000000
[0x44e0047c] 0x00000000
[0x44e00480] 0x0000000a
[0x44e00484] 0x00000008
[0x44e00488] 0x00000007
[0x44e0048c] 0x00000007
[0x44e00490] 0x00000007
[0x44e00494] 0x00000007
[0x44e00498] 0x00000004
[0x44e0049c] 0x0003c017
[0x44e004a0] 0x00000001
[0x44e004a4] 0x00000001
[0x44e004a8] 0x00000001
[0x44e004ac] 0x00000205
[0x44e004b0] 0x00000002
[0x44e004b4] 0x00030002
[0x44e004b8] 0x00030000
[0x44e004bc] 0x00030000
[0x44e004c0] 0x00030000
[0x44e004c4] 0x00030000
[0x44e004c8] 0x00030000
[0x44e004cc] 0x00000006
[0x44e004d0] 0x00030002
[0x44e004d4] 0x00030002
[0x44e00504] 0x00000001
[0x44e00508] 0x00000001
[0x44e0050c] 0x00000001
[0x44e00510] 0x00000001
[0x44e00514] 0x00000004
[0x44e00518] 0x00000001
[0x44e0051c] 0x00000001
[0x44e00520] 0x00000000
[0x44e00528] 0x00000000
[0x44e0052c] 0x00000000
[0x44e00530] 0x00000000
[0x44e00534] 0x00000000
[0x44e00538] 0x00000001
[0x44e0053c] 0x00000000
[0x44e00600] 0x00000006
[0x44e00604] 0x00000002
[0x44e00700] 0x00000000
[0x44e00800] 0x00030002
[0x44e00804] 0x00000102
[0x44e00900] 0x00000002
[0x44e00904] 0x00070000
[0x44e00908] 0x00070000
[0x44e0090c] 0x00000102
[0x44e00910] 0x00030000
[0x44e00914] 0x00030000
[0x44e00a00] 0x00000002
[0x44e00a20] 0x00030000
[0x44e00b00] 0x00000000
[0x44e00b04] 0x00000000
[0x44e00b08] 0x00000000
[0x44e00b0c] 0x00000000
[0x44e00b10] 0x00000000
[0x44e00c00] 0x00000003
[0x44e00c04] 0x00000020
[0x44e00c08] 0x01e60007
[0x44e00c0c] 0xee0000eb
[0x44e00d00] 0x00000008
[0x44e00d04] 0x00000008
[0x44e00d08] 0x00060004
[0x44e00d0c] 0x00000000
[0x44e00e00] 0x01ff0007
[0x44e00e04] 0x00000157
[0x44e00e08] 0x00000000
[0x44e00f00] 0x00000000
[0x44e00f04] 0x00001006
[0x44e00f08] 0x00000001
[0x44e00f0c] 0x78000017
[0x44e00f10] 0x00000000
[0x44e00f14] 0x00000000
[0x44e00f18] 0x00000000
[0x44e00f1c] 0x00000000
[0x44e01000] 0x00000004
[0x44e01004] 0x00000004
[0x44e01100] 0x00060044
[0x44e01104] 0x00000001
[0x44e01110] 0x00000017
[0x44e01114] 0x00000000
[0x44e01200] 0x00000000
[0x44e01204] 0x00000007
[0x44e10040] 0x00400000