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.

CC3135MOD: Problems with CC3135 wlan module and simplelink library

Part Number: CC3135MOD
Other Parts Discussed in Thread: BOOSTXL-CC3135, , CC3135

Hello,

We are evaluating with the Eval board for CC3135MOD (BoostXL-CC3135) with SimpleLink-Library.
We want to develop a simple application and are communicating over UART. With this we want to check our Hardware boards with the CC3135 wlan module.
Our Problem: After starting the SimpleLink-Lib with "sl_Start()" we only receive a single answer to one of the requests we are sending (for example we send "sl_NetCfgGet(…)" or "sl_DeviceGet(…)"). However the second request won't be answered anyway - independend of the request we send.
With an oscilloscope we recognized, that the packet was sent to CC3135MOD, but there's no answer at all. It's like the module is hanging or waiting for something.
According to rts/cts the module seems to be Ready - we would wait if it's not. The state of the hibernate pin doesn't Change according to the first request. Also a reset doesn't appear.

Does anybody have any idea?

Looking forward to every response.

  • Hi Klaus,

    1. Do you have the latest servicepack flashed to the CC3135MOD?
    2. Have you implemented the timestamp mechanism? The request should timeout in the host driver even if the CC3135 does not respond.
    3. Are you getting valid responses from sl_Start() and your first query? Does your second query ever return?

    Best regards,

    Sarah

  • Hi Sarah,

    Thank you for your reply.

    According to your questions:

    1. We are using the sdk wifi plugin version 4.20.00.10 with servicepack version 4.7.0.3_3.1.0.5_3.1.0.26

    2. Yes, we supply an os function, which returns the system ticks in milliseconds. The timeout occurs after a while.

    3. The sl_Start()-Command returns successfully. Also the first query (for example mac address or device infos) returns and supplies valid data. The second query ends in FatalErrorHandler after a while.

    I also checked some simplelink examples, but that's exactly what we are doing. 

    On oscilloscope we can see the data we send. However there's no reaction on the modules tx line or the Interrupt pin, which says that the module is sending data. It's like the module is hanging or waiting for something. Please take into accout that we are using UART communication. Is there any difference to SPI communication?

    Is there anything we have to do after a request? Toggle our RTS line, sending an acknowlegde after receiving the modules data or anything else?

    Are you able to readjust our problem?

    I look forward to hearing from you.

  • Hi Klaus,

    Do you have a logic analyzer available? It would be helpful to capture the pin states so we can see the full picture before and after the fatal command is sent. I'm assuming you are using a 5-wire topology?

    Also, can you capture NWP logs and share the commands for that test case? You can find instructions for capturing logs in the NWP Programmer's Guide.

    Best regards,

    Sarah

  • =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.09.15 16:09:59 =~=~=~=~=~=~=~=~=~=~=~=
    -��J-��J�-�	�J��
    ��T)
    �*��1
    �
    �	�
    �*� �{�A}�
    F*�""�4��
    �*� ����1��
    �	��
    �)	��
    �)��)
    �
    �
    �
    '�/sys/servicepack.ucf
    ���`
    �
    - 2c B
    �!
    '�/sys/ucf_signatures.bin
    ��Ql-��Ql-��Ql4-��Ql4T-�	�Ql��
    �
    �!
    '�/sys/servicepack.ucf
    ���`
    �
    -���`!-���`-���`x-���`p
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �*��|L	�
    �!
    '�/sys/mode.cfg
    ���I-���I-���I4-���I4�-�	��I
    ��-���`z�����ٸ�
    �*�@ *�Q �*�	 x**�.	 
    �
    �
    �)��L)�
    �L)��L-�	��`-�2c
    �)�
    2�L)��`aaA	9	�)����{�(	�!
    '�/sys/certstore.lst	��J	�
    	�
    )��J	�)��J�)�	�J��	�
    '�/sys/fips.cfg	��:��We(�[e(`aaA			�
    '�/tmp/crashminidump.bin	��+�1��1��1��	�!
    '�/sys/mdmpcfg.ini	��I��ye(	�!
    '�/sys/pmcfg.ini	�I��ye(	\	a"<b	�	�
    	�	�
    '�/sys/servicepack.ucf	���`	�
    ) 2c B	�!
    '�/sys/ucf_signatures.bin	��Ql)��Ql	�)��Ql4)��Ql4T)�	�Ql��	�	�!
    '�/sys/servicepack.ucf	���`	�
    )���`!	�)���`)���`x)���`p	�	�	�	�	�	�	�	�)���`\ 	�
    )�1	�!
    '�/sys/ipcfg.ini	���)���	�)���4)���4�)�	���$	�!
    '�/sys/mode.cfg	���I)���I	�)���I4)���I4�)�	��I	��	Q
    	�	�1�`  �1�` 	 @M1�``V H1�`�k l1�`{ ��1�`� � 1�`T' `1w@  �)	1�`�	�	
    	�	� 	f	�	
    	g	�!
    '�/sys/fips.cfg	��:��ye(/-	�	�		�!
    '�/sys/devname.cfg	��c)��c	�)��c4)��c4b)�	�c	��			
    	
    	�	�	�	�	�)�G�	�			�	�	�	���5	�!
    '�/sys/phypwr.cal	�e�A)�e�A	�	�	�	�	�	P	P	P	P	P	P 	P@	P�PS�	
    	�	�		
    	�)1	�!
    '�/sys/macadd.bin	��q
    �ye(	5	V4	2$��		
    	�	�!
    '�/sys/naptlv.bin	�2<�ye(D)���`|	�)���`���)���`��	�	�)���`\ 	�	���	�)���`` �,)���`h ,	�	�)�,	�)���`pL	�p)���`xLp	�)�	��`)�2c	�	�	�	�)�p	�	�(	�	��	5%	�	�	�	�)��(	�)�e�A�8)�e�A8)�	e�A�8	�	�	�)(��8	����	� 	�	@		)	
    @�
    ��
    �	
    @l 	L
    	L
    	�	�	�	A	�
    '�/sys/rxfltr.ini	�����We(�[e(	�
    '�/sys/rxfltr.ini	�����We(�[e(�A	�
    '�/sys/rxfltr.ini	�����We(�[e(�A�A"�A�A�A�A�A�A�B�B			�!
    '�/sys/mdns.cfg	�[\)�[\	�)�[\4)�[\4�)�	[\�B�B��B��A�A�A�B��	�)C	
    D		�!)`
    '�/sys/p2p.cfg	�o��ye(	
    	�	D:A	�		Q%�,)h <��!��		
    F		�!
    '�/sys/httpsrv.cfg	�F�)�F�	�)�F�4)�F�4��!+
    '�/sys/phybg.cal	��^�)`	)p	)�	)��^�	�)��^�t)�	�^��t�t	�
    	<	)				=	=	�		(	�	
    �	m	�!
    '�/sys/date_time.cfg	�
    >(�ye(3�)'4)'4).!āBB��)):!āBB��))'!āBB��))?4)))r), de��), ����), ,-��), ��)i
    p1`aaA	s	6	)	)0
    p	�!
    '�/sys/stacfg.ini	�TU17)2�	3)�TU	�)�TU4)�TU4�)�	TU	��	K	J#	�#	�!
    '�/sys/pref.net	���ye(	�!
    '�/tmp/chanhist.tbl	����ye((aR�SS1"D] N	E	x��	T	�	�)X�) ��): )�	F���	�	�D	 N	{
    r)	�	 	�	�	�	�	 	�		�	�P	�P�:*"	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���D] N	E	x)���>�	=	T	�	�)X�) ��): D	 N)	(�!+
    '�/sys/phya.cal	�r$	�r$ 	�	�
    	�!������)	�0)�r$	�	�)V�) ;	T	r	)",,SS	�)���D] N	E	x	�>�	=	T	�	�)X�) ��): D	 N)	(	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���>�	=	11��J��t	�Z`$\�<		v"w"^{	x"gy"^^	�
    	�"+ 	�"	�"+c"T�	�!	�!	�!�!�W�A��		R	:�	
    	'(!#B�&12��!΀�
    � -����{�(� �%	9
    �
    
    
    �
    �	-����{�( LS
    �
    �
    �
    ��(
    
    �!
    '�/sys/certstore.lst
    ��J
    �
    
    �
    -��J-��J�-�	�J��
    ��5(
    �*��1
    �
    �	�
    �*� �{�A}�
    F*�""�4��
    �*� ����1��
    �	��
    g(
    ��
    �(
    �
    �
    '�/sys/servicepack.ucf
    ���`
    �
    - 2c B
    �!
    '�/sys/ucf_signatures.bin
    ��Ql-��Ql-��Ql4-��Ql4T-�	�Ql��
    �
    �!
    '�/sys/servicepack.ucf
    ���`
    �
    -���`!-���`-���`x-���`p
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    �
    ��Q0	�
    �!
    '�/sys/mode.cfg
    ���I-���I-���I4-���I4�-�	��I
    ��-���`z�����ٸ�
    �*�@ *�Q �*�	 x**�.	 
    �
    �
    �����
    �����-�	��`-�2c
    ��
    J�)��`aaA	9	�)����{�(	�!
    '�/sys/certstore.lst	��J	�
    	�
    )��J	�)��J�)�	�J��	�
    '�/sys/fips.cfg	��:��We(�[e(`aaA			�!
    '�/sys/mdmpcfg.ini	��I��ye(	�!
    '�/sys/pmcfg.ini	�I��ye(	\	a"<b)��k	�
    	�	�
    '�/sys/servicepack.ucf	���`	�
    ) 2c B	�!
    '�/sys/ucf_signatures.bin	��Ql)��Ql	�)��Ql4)��Ql4T)�	�Ql��	�	�!
    '�/sys/servicepack.ucf	���`	�
    )���`!	�)���`)���`x)���`p	�	�	�	�	�	�	�	�)���`\ 	�	)�1	�!
    '�/sys/ipcfg.ini	���)���	�)���4)���4�)�	���$	�!
    '�/sys/mode.cfg	���I)���I	�)���I4)���I4�)�	��I	��	Q
    	�	�1�`  �1�` 	 @M1�``V H1�`�k l1�`{ ��1�`� � 1�`T' `1w@  �)	1�`�	�		�	� 	f	�		g6!	�	�		�!
    '�/sys/devname.cfg	��c)��c	�)��c4)��c4b)�	�c	��			
    
    	
    
    	�	�	�	�	�)�G�	�			�	�	�		�!
    '�/sys/phybg.cal	��^�)��^�	�	�	�!
    '�/sys/phya.cal	�r$��0(�r	�!
    '�/sys/phypwr.cal	�e�A)�e�A	�	�	�	�	�	P	P	P	P	P	P 	P@	P�PS�	
    	�	�		
    	�)1	�!
    '�/sys/macadd.bin	��q
    �ye(	5	V4	2$��		
    	�	�!
    '�/sys/naptlv.bin	�2<�ye(D)���`|	�)���`���)���`��	�	�)���`\ 	�	��	�)���`` �,)���`h ,	�	�)�,	�)���`pL	�p)���`xLp	�)�	��`)�2c	�	�)��^�	�	�)�p	�)��^���	�	��)��^�h	5%)�	�^��t	�	�	�	�)���	�)�e�A�8)�e�A8)�	e�A�8	�	�	�)(��8	����	� 	�	,		)	
    ,�
    ��
    �	
    ,l 	L
    	L
    	�	�	�	-	�
    '�/sys/rxfltr.ini	�����We(�[e(	�
    '�/sys/rxfltr.ini	�����We(�[e(�A	�
    '�/sys/rxfltr.ini	�����We(�[e(�A�A"�A�A�A�A�A�A�B�B			�!
    '�/sys/mdns.cfg	�[\)�[\	�)�[\4)�[\4�)�	[\�B�B��B��A�A�A�B��	�)C	
    0		�!)`
    '�/sys/p2p.cfg	�o��ye(	
    	�	0:A	�		Q%�,)gy�	�
    	<	)	�	1	�!
    '�/sys/date_time.cfg	�
    >(�ye(	3�)0	
    217				=	=	�		(	�	
    )2�		�!
    '�/sys/httpsrv.cfg!āBB��	3)'4!āBB��)'4).!āBB��)):))'))?4)), de�d), ��<d), ,-<d), <d)	
    5)r1`aaA	s	6	)		
    6)i	�!
    '�/sys/stacfg.ini	�F�	�TU)�TU	�)�TU4)�TU4�)�	TU	��	K	J#	�#	�!
    '�/sys/pref.net	���ye(	�!
    '�/tmp/chanhist.tbl	����ye((aR�SS1"D] N	E	x��	T	�	�)X�) ��): )�F�	�)�F�4D	 N	{	
    8))�F�4�)�	F���	�	�	�	 	�	�	�	�	 	�		�	�P	�P�:*"	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	�	)	3�	�!
    '�/sys/macadd.bin	��q
    �ye(	5	V4	2$��63)	3	.$Data	r	)"++)/#����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���D] N	E	x)���>�	=	T	�	�)X�) ��): D	 N)	(�!+
    '�/sys/phya.cal	�r$	�r$ 	�	�
    	�!������)	�0)�r$	�	�)V�) ;	T	r	)",,SS	�)���D] N	E	x	�>�	=	T	�	�)X�) ��): D	 N)	(	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���>�	=11��9���
    غZ`$\�<		v"	w"&	x"	y"	�
    �"
    �$	�"�"
    �c"(	�!XX	�!
    	�!|[�!|�[W!�A'��		R	:�		'(!#B�12��!΀�11��:���
    غZ`$\�<		v"	w"	x"	y"	�
    	�"	�"	�"	c"	�!^c	�!
    	�!|[�!|�[W!�A���		R	:�	$	'(!#B�12��!΀�	E	x��	T	�	�)X�) ��): D	 N)	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���D] N	E	x)���>�	=	T	�	�)X�) ��): D	 N)	�)V�) ;	T	r	)",,SS	�)���D] N	E	x	�>�	=	T	�	�)X�) ��): D	 N)	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���>�	=11�E����
    غZ`$\�<		v"	w"	x"	y"	�
    	�"	�"	�"	c"	�!`c	�!	�!|[�!|�[W!�A���		R	:�	.	'(!#B�12��!΀�11�E����
    غZ`$\�<		v"	w"	x"	y"	�
    	�"	�"	�"	c"	�!ac	�!	�!|[�!|�[W!�A'��		R	:�	8	'(!#B�12��!΀�	E	x��	T	�	�)X�) ��): D	 N)	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	.$Data	r	)"++)/#����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���D] N	E	x)���>�	=	T	�	�)X�) ��): D	 N)	�)V�) ;	T	r	)",,SS	�)���D] N	E	x	�>�	=	T	�	�)X�) ��): D	 N)	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	.$Data	r	)"++)/#$����	0#Data>�	=	�)V�) ;	T	r	)",,SS	�)���>�	=11�����
    غZ`$\�<		v"	w"	x"	y"	�
    	�"	�"	�"	c"	�!ac	�!'	�!|[�!|�[W!�A���		R	:�		'(!#B�12��!΀�1

    Hi Sarah,

    find the log and a screenshot of the communication attached.

    I hope that it's all you need to get a closer look - if not let me know.

    I look forward to hearing from you.

    Best regards,

    Klaus

  • Hi Sarah,

    In the meanwhile we solved this Problem on our own:

    Unfortunately the pin configuration of our µC for the rts/cts pins wasn't correct - although the behaviour seemed to be ok. Maybe this was the reason why the module had to struggle with our requests. Unfortunately it was very irritating that the first request worked fine.

    Anyway thank you for your support and your Patience.

    Best regards,

    Klaus