Hi Alexander,
Thanks for your support.
We have modified existing TDM driver and it's test driver to NMSI mode. Now
we are trying perform loopback in NMSI. But we are not getting any data and
the driver is hanging on read call (as it is waiting on read event queue).
We are not able to find much info on NMSI in QE data sheet, can you provide
any link to understand it a bit more in detail.
We are suspecting pinmux, Here we configured ucc-7 for transparent protocol
with NMSI mode support.
Pinmux for ucc-7 is given below
pio_v35_port2: ucc_pin@04 {
pio-map = <
/* port pin dir open_drain assignment has_irq */
0x0 0x16 0x2 0x0 0x0 0x0 /* SER7_CD_B,
pa-22*/
0x0 0x12 0x2 0x0 0x0 0x0 /*
SER7_CTS_Bi,pa-18*/
0x0 0x13 0x1 0x0 0x0 0x0 /*
SER7_RTS_B,pa-19*/
0x0 0x14 0x2 0x0 0x2 0x0 /* SER7_RXD0,pa-20
*/
0x0 0x15 0x1 0x0 0x2 0x0 /* SER7_TXD0,
pa-21*/
0x1 0x3 0x1 0x0 0x1 0x0 /* SER7_TXCE pb-3 */
0x1 0x1f 0x2 0x0 0x1 0x0 /* SER7_TXC pb-31 */
0x1 0xa 0x2 0x0 0x2 0x0 /* SER7_RXC pb-10 */
/* control pins for V35_2 */
0x0 0x8 0x1 0x0 0x0 0x0 /* V35_2_DTR, pa8
out */
0x0 0x9 0x2 0x0 0x0 0x0 /* V35_2_DSR, pa9
in */
0x0 0xa 0x2 0x0 0x0 0x0 /* V35_2_RI, pa10
in */
/* RS-366-2 pin config*/
0x1 0x1a 0x2 0x0 0x0 0x0 /* V35_2_DSC, pb26
*/
0x0 0xf 0x2 0x0 0x0 0x0 /* V35_2_DLO, pa15
*/
0x0 0xb 0x2 0x0 0x0 0x0 /* V35_2_ACR, pa11
*/
0x1 0x13 0x2 0x0 0x0 0x0 /* V35_2_PND, pb19
*/
0x1 0x17 0x1 0x0 0x0 0x0 /* V35_2_DPR, pb23
*/
0x1 0x1e 0x1 0x0 0x0 0x0 /* V35_2_CRQ, pb30
*/
0x1 0x16 0x1 0x0 0x0 0x0 /* V35_2_NB-1,
pb22 */
0x1 0x15 0x1 0x0 0x0 0x0 /* V35_2_NB-2,
pb21 */
0x1 0x12 0x1 0x0 0x0 0x0 /* V35_2_NB-4,
pb18 */
0x1 0x1d 0x1 0x0 0x0 0x0>; /* V35_2_NB-8,
pb29 */
};
Here PA20, PA21 are configured as SER7_RXD[0], SER7_TXD[0] respectively and
clk16 is used for both TX and RX sections as common clock.
*Can we use SER7_RXD[0], and SER7_TXD[0] as data lines for NMSI, OR do we
need any special pin-config for NMSI mode data lines?*
following control signals as set like this
cdp = 1,
cds = 1,
ctsp = 1,
ctss = 1,
revd = 0,
Could you please help us in setting these and any extra control signals (if
needed in NMSI) values for getting data?
On Fri, Jan 8, 2016 at 11:55 AM, alexander.yakovlev <