初学RT1060,请问SDK里面支持WIFI模块的代码示例支持哪个型号的芯片?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

初学RT1060,请问SDK里面支持WIFI模块的代码示例支持哪个型号的芯片?

2,051 Views
lupu163
Contributor I

如题,使用硬件是RT1060,IDE是MCUXpresso IDE v11.0.0 [Build 2516] [2019-06-05] ,sdk版本是2.5.1,此前已经调通了一个显示屏和一个触摸屏,现在想要调试一个WIFI模块,模块型号是murata 的LBEH5HMZPC,搭载芯片BCM4339(CYW4339),使用SDIO接口,使用的是SDK里面evkmimxrt1060_wiced_iperf示例,其说明支持SDIO接口的CYW 43XXX。打开几个log开关之后,log显示如下:

[MCUXpresso Semihosting Telnet console for 'evkmimxrt1060_wiced_iperf_01 LinkServer Debug' started on port 51844 @ 127.0.0.1]

Initializing WiFi Connection...
Source Clk: 527999994
Bus Clock Max 374999 block length 4096

 Sent CMD0

(此处省略N行   Sent CMD0  )

0 Kudos
Reply
3 Replies

1,766 Views
2291127076
Contributor I

你好,我现在正在用sdk中的例程移植wifi和调试触控屏,你能给我分享一下经验吗?比如说,触控屏是怎样调通的?提一下大致的方向就可以了。调试wifi,我也没有经验,你方便分享一下吗?

0 Kudos
Reply

1,766 Views
jeremyzhou
NXP Employee
NXP Employee

Hi 林 陆,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Please check the information via the below link.
https://wireless.murata.com/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,767 Views
lupu163
Contributor I

抱歉,初次发帖,不知道这个页面的Ctrl+s是发表,结果就送出去了。另外可能是因为这个页面对56版的firefox支持不好,导致我的浏览器卡机了,所以重启了电脑,没来得及补充完整。不过这些不重要。我想补充一下其他的情况:

原文中的log不完整,除原来的log之外,还有下面这段

  • fail: func=wwd_bus_init line=251
  • Could not initialize bus
  • Could not initialize wifi platform
  • Could not initialize wifi connection

用万用表测得wifi模块的供电(3.3V)正常,接口处飞线接示波器,测得CMD和CLK波形,有两种重复的波形

该图从示波器导出,以抓取到两段波形的第一个clk上升沿为起点,且不完整

  • 按照上升沿采样的规则,波形解析的结果分别为
    • ‭1010000000000000000000000000000000000000010010101111111111111111‬
    • ‭101000101000000000000000000000000000000000101101‬1111111111111111

两个波形分别对应wwd_SDIO.c中的wwd_result_t host_platform_sdio_enumerate( void )中的两个函数

   result = host_platform_sdio_transfer( BUS_WRITE, SDIO_CMD_0, SDIO_BYTE_MODE, SDIO_1B_BLOCK, 0, 0, 0, NO_RESPONSE, kCARD_ResponseTypeNone,0, &data );

  • result = host_platform_sdio_transfer( BUS_READ, SDIO_CMD_5, SDIO_BYTE_MODE, SDIO_1B_BLOCK, 0, 0, 0, NO_RESPONSE, kCARD_ResponseTypeR4,0, &data );

在第二个函数返回了非success的结果,最终重试超时。

上述波形对照BCM4339的datasheet,未能找到对应的cmd类型,可能是我对SDIO不够了解的缘故。

总结:目前想请教两个问题

1.BCM4339是否可用这个example直接驱动?如果不可以,这个example对应什么IC?

2.如果可以,以上的问题可否帮忙看看?

谢谢

0 Kudos
Reply