IW610 Bluetooth Bring-up for imx91

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

IW610 Bluetooth Bring-up for imx91

2,294 Views
Robbi
Contributor III

Hi team,

we are using imx91 custom board and integrated IW610(WIFI+BLE) chip which uses (AW-XM646G module).

  1. Referred AN14310_UART_DRIVER_INTEGRATION.pdf for Bluetooth.
  2. Compiled btnxpuart.ko, mwifiex_sido.ko and load it manually.
  3. Updated corresponding device tree.
  4. Load firmware files in to target(https://github.com/nxp-imx/imx-firmware/blob/lf-6.12.20_2.0.0/nxp/FwImage_IW610_SD/)
  5. While loading btnxpuart, it is displaying below errors in attached image.
  6. while comparing my design schematic with imx91 evk. Pins are connected UART_TX(UART5 of imx91) to UART_TX of module, similarly RX to RX.
  7. But in our schematics we used TXU0204 as intermediate module and cross connected (TX-RX) and (RX-TX).
  8. Which is correct connection.
  9. Please help me to resolve.

 

Thanks

Robbi

0 Kudos
Reply
3 Replies

961 Views
robss
Contributor I

Hi @Robbi and @Rita_Wang

would you mind sharing your solution if you found one? I'm currently running in the exact same problem.

Thanks in advance

Robert

0 Kudos
Reply

2,247 Views
Robbi
Contributor III

Hi team,

I had used  firmware-nxp-wifi  package and added 

  1. firmware-nxp-wifi-nxpiw610-sdio \
  2. firmware-nxp-wifi-nxp-common \
  3. kernel-module-nxp-wlan \
  4. nxp-wlan-sdk \
  5. kernel-module-btnxpuart \
  6. kernel-module-moal

in local.conf file.

Now I'm able to load BLE drivers automatically when board is bring-up automatically.

But, encountering warnings and able to detect hci0 device but not displaying MAC address.

Coming to WIFI, kernel displays driver is loaded successfully but mlan0 is not visible. Please find attached images and do the needful.

0 Kudos
Reply

2,059 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi @Robbi ,

I help create case in our system to our WIFI/BT engineer, 00732502, Christine will update to you there.

Wish you have a nice day

Best Regards

Rita

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2159848%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIW610%20Bluetooth%20Bring-up%20for%20imx91%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159848%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20team%2C%3C%2FP%3E%3CP%3Ewe%20are%20using%20%3CSTRONG%3Eimx91%20custom%20board%3C%2FSTRONG%3E%20and%20integrated%20%3CSTRONG%3EIW610(WIFI%2BBLE)%3C%2FSTRONG%3E%20chip%20which%20uses%20(%3CSTRONG%3EAW-XM646G%3C%2FSTRONG%3E%20module).%3C%2FP%3E%3COL%3E%3CLI%3EReferred%26nbsp%3BAN14310_UART_DRIVER_INTEGRATION.pdf%20for%20Bluetooth.%3C%2FLI%3E%3CLI%3ECompiled%20btnxpuart.ko%2C%20mwifiex_sido.ko%20and%20load%20it%20manually.%3C%2FLI%3E%3CLI%3EUpdated%20corresponding%20device%20tree.%3C%2FLI%3E%3CLI%3ELoad%20firmware%20files%20in%20to%20target(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware%2Fblob%2Flf-6.12.20_2.0.0%2Fnxp%2FFwImage_IW610_SD%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware%2Fblob%2Flf-6.12.20_2.0.0%2Fnxp%2FFwImage_IW610_SD%2F%3C%2FA%3E)%3C%2FLI%3E%3CLI%3EWhile%20loading%20btnxpuart%2C%20it%20is%20displaying%20below%20errors%20in%20attached%20image.%3C%2FLI%3E%3CLI%3Ewhile%20comparing%20my%20design%20schematic%20with%20imx91%20evk.%20Pins%20are%20connected%20UART_TX(UART5%20of%20imx91)%20to%20UART_TX%20of%20module%2C%20similarly%20RX%20to%20RX.%3C%2FLI%3E%3CLI%3EBut%20in%20our%20schematics%20we%20used%20TXU0204%20as%20intermediate%20module%20and%20cross%20connected%20(TX-RX)%20and%20(RX-TX).%3C%2FLI%3E%3CLI%3EWhich%20is%20correct%20connection.%3C%2FLI%3E%3CLI%3EPlease%20help%20me%20to%20resolve.%3C%2FLI%3E%3C%2FOL%3E%3CBR%20%2F%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ERobbi%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2163226%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IW610%20Bluetooth%20Bring-up%20for%20imx91%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2163226%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243788%22%20target%3D%22_blank%22%3E%40Robbi%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EI%20help%20create%20case%20in%20our%20system%20to%20our%20WIFI%2FBT%20engineer%2C%26nbsp%3B%3CSPAN%3E00732502%2C%20Christine%20will%20update%20to%20you%20there.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWish%20you%20have%20a%20nice%20day%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERita%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2160702%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IW610%20Bluetooth%20Bring-up%20for%20imx91%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2160702%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20team%2C%3C%2FP%3E%3CP%3EI%20had%20used%26nbsp%3B%26nbsp%3B%3CSTRONG%3Efirmware-nxp-wifi%26nbsp%3B%3C%2FSTRONG%3E%26nbsp%3Bpackage%20and%20added%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3Efirmware-nxp-wifi-nxpiw610-sdio%20%5C%3C%2FLI%3E%3CLI%3Efirmware-nxp-wifi-nxp-common%20%5C%3C%2FLI%3E%3CLI%3Ekernel-module-nxp-wlan%20%5C%3C%2FLI%3E%3CLI%3Enxp-wlan-sdk%20%5C%3C%2FLI%3E%3CLI%3Ekernel-module-btnxpuart%20%5C%3C%2FLI%3E%3CLI%3Ekernel-module-moal%3C%2FLI%3E%3C%2FOL%3E%3CP%3Ein%20local.conf%20file.%3C%2FP%3E%3CP%3ENow%20I'm%20able%20to%20load%20%3CSTRONG%3EBLE%3C%2FSTRONG%3E%20drivers%20automatically%20when%20board%20is%20bring-up%20automatically.%3C%2FP%3E%3CP%3EBut%2C%20encountering%20warnings%20and%20able%20to%20detect%20%3CSTRONG%3Ehci0%3C%2FSTRONG%3E%20device%20but%20not%20displaying%20MAC%20address.%3C%2FP%3E%3CP%3EComing%20to%20WIFI%2C%20kernel%20displays%20driver%20is%20loaded%20successfully%20but%20%3CSTRONG%3Emlan0%3C%2FSTRONG%3E%20is%20not%20visible.%20Please%20find%20attached%20images%20and%20do%20the%20needful.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2320310%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IW610%20Bluetooth%20Bring-up%20for%20imx91%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320310%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243788%22%20target%3D%22_blank%22%3E%40Robbi%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57740%22%20target%3D%22_blank%22%3E%40Rita_Wang%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%3CP%3Ewould%20you%20mind%20sharing%20your%20solution%20if%20you%20found%20one%3F%20I'm%20currently%20running%20in%20the%20exact%20same%20problem.%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%3ERobert%3C%2FP%3E%3C%2FLINGO-BODY%3E