For the life of me I do not understand how to look up which 2-Byte number corresponds to a module's output or input (to use in the XBAR select reigster).
I want to route TMR3_Module2 and also TMR3_Module 1 to one of the AOI modules (to AND them together), and then route that out to any usable pin. I see table 4-5 in section 4.6, and I see QTIMER3_TIMER2 "corresponds" to XBAR1_IN34 but "XBAR1_IN34" in not a 2-Byte number. Is it just the last two characters of the "XBAR1_IN34"? So would the routing simply be: xbar_connect(34, ??AOI input??);?
I then want to route the AOI output to any I/O pin (using the AOI to make the AND of the two input signal from the TIMER3 modules.
See similar entry in that table listing the AOI module's (either inputs OR outputs). Do I have to route TMR3 into XBAR2 first and then tie that output into an XBAR2 input? If I go the other way, I don't see outs of XBAR2 that go to inputs of XBAR3... and that doesn't map neatly onto the concept of figure 60.1 that shows no loop back of xbar3 into xbar2.
Finally (?), I noticed a mention of needing to turn a clock on for the XBAR module because the CPU saves power by defaulting to have all these clocks off. How do I know which one to turn on? ...and how many other "hidden" registers are there burried in this 3522 page document that affect the xbar function or fail?
NXP has crafted an amazing chip here, but the documentation is so confusing (to me) that i think a majority of users are never going to take the chip to its full capabilities. Maybe they need a lot of specific application notes for examples and how to's to fill in where they had to be super terse in the main document.
Thanks in advance!
I want to route TMR3_Module2 and also TMR3_Module 1 to one of the AOI modules (to AND them together), and then route that out to any usable pin. I see table 4-5 in section 4.6, and I see QTIMER3_TIMER2 "corresponds" to XBAR1_IN34 but "XBAR1_IN34" in not a 2-Byte number. Is it just the last two characters of the "XBAR1_IN34"? So would the routing simply be: xbar_connect(34, ??AOI input??);?
I then want to route the AOI output to any I/O pin (using the AOI to make the AND of the two input signal from the TIMER3 modules.
See similar entry in that table listing the AOI module's (either inputs OR outputs). Do I have to route TMR3 into XBAR2 first and then tie that output into an XBAR2 input? If I go the other way, I don't see outs of XBAR2 that go to inputs of XBAR3... and that doesn't map neatly onto the concept of figure 60.1 that shows no loop back of xbar3 into xbar2.
Finally (?), I noticed a mention of needing to turn a clock on for the XBAR module because the CPU saves power by defaulting to have all these clocks off. How do I know which one to turn on? ...and how many other "hidden" registers are there burried in this 3522 page document that affect the xbar function or fail?
NXP has crafted an amazing chip here, but the documentation is so confusing (to me) that i think a majority of users are never going to take the chip to its full capabilities. Maybe they need a lot of specific application notes for examples and how to's to fill in where they had to be super terse in the main document.
Thanks in advance!