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.

How to interface with WL1835MOD using FPGA?

Other Parts Discussed in Thread: WL1835MOD, WL1835

In our current hardware platform FPGA is connected with WL1835MOD using SDIO interface instead of CPU. But when I looked into WL1835MOD's datasheet and other document I can find nothing about how to operate WL1835MOD, it just said that WL1835MOD should connect to host processor using SDIO. So what should I do to drive WL1835MOD directly without software working? Or is there any document descriping details about how to operate WL1835?

BTW: I found on datasheet there are two pins named GPIO1 and GPIO2. And the description of these pins are WL_RS232_TX and WL_RS232_RX? Does that mean I can drive WL_RS232_TX pin with what I want to transmit instead of using SDIO interface?  

  • Hi,

    I have replied over e-mail. Please confirm.

    Regards,
    Gigi Joseph.

  • Hi, Joseph

    Thanks very much for your help. Still I have some problem about WL1835.

    1. What should I do to run RTTT tool? Just connecting WL_RS232_TX and WL_RS232_RX pins with PC's COM port using a level shifter chip?

    2. Would you please provide detailed description about how to communicate with WL1835 using SDIO? (e.g. register information about WL1835)  So that I can do the minimum configuration to let Wifi working.

    Best Regards

    Yang

  • Hi Yang,

    1. Please ensure: VBAT= 3.3V, VIO = 1.8V , SCLK= 32.768 clk; WL_IRQ pulled to 1.8 are stable and then enable WL_EN to 1.8V. After this, you should be able to connect with RTTT.

    2. Please check the schematics checklist at: http://processors.wiki.ti.com/index.php/WL18xx_Module_Schematic_Checklist 

    All the register information can be derived from the open source wl18xx drivers: git://git.ti.com/wilink8-wlan/wl18xx.git
    Specifically, please see: reg.h (drivers/net/wireless/ti/wl18xx/)

    Regards,
    Gigi Joseph.
     

  • Hi, Joseph

    Yes, I am sure our hardware can satisfy the conditions you have mentioned. So that mean I only need to connect WL1835_RS232_TX and WL1835_RS232_RX pins to COM port of PC board using a level shifter chip. Then I can use RTTT?

    Thanks

    Yang

  • Hi Yang,

    Yes.

    Regards,
    Gigi Joseph.

  • Hi, Joseph

    It seems that firmware should be uploaded to WL1835 to let it work. Is it necessary? If firmware not uploaded, WL1835 will not respond to SDIO commands?

    BR

    Yang

  • Hi Yang,

    Yes, it is required to download the fw.
    The tool can be used for that as well.

    Regards,
    Gigi Joseph.

  • Hi, Joseph

    Now I have everything ready, but when I try to download the firmware. I get the error

    [15:47:32]  [WLAN 18xx FW]: Error: ts18.Calling_ATE_DownloadFW() failed with error 101

    So I have these two questions.

    1. GPIO2 with the description of WL_RS232_RX is an input pin or output pin?

    2. Which setting should be configured for the COM port?(e.g.  How many stop bits, with or without checksum, with or without flow control)

    I am very appreciated for your help.

    BR

    Yang

  • Hi,

    1. WL_RS232_RX is input to the device
    2. I think it should be there in the documentation (Texas Instruments\Wireless Tools\Docs)

    Regards,
    Gigi Joseph.

     

  • Hi, Joseph

    Now I think without TI's help I can not go on with our current wifi solution(FPGA+WL1835). I really need detailed description about WL1835. I think that is something like User Manual. Can TI provide this document? I can only find datasheet and some other document on TI's website.

    BR

    Yang

  • Hi Yang,

    Can you please let me know what is the sort of information you are looking for.
    The best source is the open source Linux Driver (git://git.ti.com/wilink8-wlan/wl18xx.git)

    Regards,
    Gigi Joseph. 

  • Hi, Joseph

    1. I am sorry I mean a document describing which configurations should be done before wifi working.  I think it is impossible that WL1835 can accept SDIO transmitted payload stream when first power up. 

    2. So you mean the best document about describing how to operate WL1835 is Linux Kernel Driver? But how does the kernel developer get this work done? He or she must read some document about the register definition and how to operate these registers to let  WL1835 work.

    Thanks

    Yang

  • Hi Yang,

    1. The WL1835 Power Up sequence is explained in the datasheet. The same information is also available here: http://processors.wiki.ti.com/index.php/WL18xx_Module_Schematic_Checklist

    2. The wl18xx drivers are developed by TI. There are no document available about the wl18xx registers - its all available as open source (Please see: http://git.ti.com/wilink8-wlan/wl18xx/blobs/master/drivers/net/wireless/ti/wl18xx/reg.h)

    Regards,
    Gigi Joseph.

  • Interesting,

    that is to say, the WL1835 chip can only be used with software TI provided?

    If used in other circumstances, for instance, driven directly using FPGA, it won't work?

    If there is no document descripting the functions of WL1835 internal registers, how can the linux driver be developed? The person who designs the chip is the Person who writes the linux driver??

    Regards

    ingdxdy