Other Parts Discussed in Thread: SYSCONFIG
Dear all,
We want implement 2 T-format encoders at the same time, so we need to remapping the GPIO for the CLB and SPI. Here is some questions:
1. In the CLB Peripheral Signal Multiplexer Table, what does PWMB_OE means? Is this connect to one of the TZ signal?
2. In the source code PM_tformat_startOperation(void), 0x3C should enable output of CLB4_OUT2_0, CLB4_OUT3_0, CLB4_OUT4_0, CLB4_OUT5_0. What does this CLB4_OUT5_0 used for?
void PM_tformat_startOperation(void)
{
EALLOW;
HWREG(CLB4_BASE + CLB_LOGICCTL + CLB_O_LOAD_EN) |= CLB_LOAD_EN_GLOBAL_EN
| CLB_LOAD_EN_STOP;
__asm(" RPT #10 || NOP");
CLB_setOutputMask(CLB4_BASE, 0x3C, true);
__asm(" RPT #10 || NOP");
CLB_setGPREG(CLB4_BASE, 0x81);
}
3. The CLB Peripheral Signal Multiplexer Table shows CLB1~CLB8 can output to PWM1~PWM8, does this means we can only output SPICLK from GPIO0~GPIO15? And if we want output SPICLK from GPIO15, we must use CLB tile 8?
Thanks.
BR,
Sam