Closed BDP42 closed 5 years ago
Hi @BDP42 Which WILC3000 board are you using? Is it a custom design or an MCHP board? Any chance there can be a short between the RTS/CTS lines and any of the SDIO lines?
I ran a quick test on my sama5d4 + WILC3000 shield board, and could ping on the wlan0 interface after enabling BLE's flow control
Hi @AdhamAbozaeid It's a custom board. I don't think there is a short but I will investigate this aspect further.
Hi @AdhamAbozaeid It turns out the problem was caused by VDDIO not correctly supplied to the device. This has been fixed and the sdio errors are gone and can talk to the device after enabling flow contlol on both sides. So simply a problem with the board.
Thanks for the updates
Hi, I am trying to get the WILC3000 Bluetooth module up and running on an iMX6-based custom platform. The WILC3000 BT Uart interface is connected to one of the internal iMX6 uarts.
I am using the following commands to bring up and configure the BT device.
At this point the interface is up and everything looks good.
I enable flow control on the BT device
I then enable flow control on the iMX6 uart and it is at this point that I get continuous SDIO errors
Here's a trace of the UART signals when things go wrong.
Flow control on the BT device has been enabled just after 3 seconds on the trace and the device asserts RTS. After about 13.5 seconds flow control on the uart is enabled and it asserts CTS and it seems that at this point the errors start. The flow control behaviour looks OK and I can't see anything obviously wrong. Any ideas what could be causing this? The wlan0 interface has been brought up before all of this.
Thanks, Bruno