您尚未登录。

楼主 # 2023-11-14 20:06:27

mysteo
会员
注册时间: 2023-11-14
已发帖子: 2
积分: 2

Wifi RTL8189F and f1c200s

Hello dear comrades.
I've worked a lot before with microcontrollers and RTOS.
And now I works with Linux and need a help to configure WiFi RTL8189F. This chip connected to GPIOF (SDIO Interface) and understand that I need to correctly describe the device tree file.
I took the file https://github.com/aodzip/buildroot-tiny200/blob/master/board/widora/mangopi/r3/devicetree/linux/devicetree.dts and made some edits according to the PCB. Everything works well except Wi-Fi.
Please give me a little help with it.
And i have no idea how to describe WiFi_Enabled PIN it connected to PD0.

离线

#1 2023-11-14 23:29:22

4610
会员
注册时间: 2022-10-09
已发帖子: 101
积分: 82

Re: Wifi RTL8189F and f1c200s

正常情况DTS只需开mmc就能认到 (dmesg有相关日志)

8189F驱动是否已编译并加载?

如果是Realtek驱动,印象中是没有操作GPIO的地方,
WiFi_Enabled目前电平是否正确,总之先手动控制保持已使能

离线

楼主 #2 2023-11-15 15:54:22

mysteo
会员
注册时间: 2023-11-14
已发帖子: 2
积分: 2

Re: Wifi RTL8189F and f1c200s

Thank you sir. Everything is fine with the drivers for the Wi-Fi chip, it is compiled.
Yesterday I just found out that WiFi is not working due to the wrong level on the Chip Enabled Pin, I made a pull-up resistor and WiFi started working.
But I would like to somehow indicate to the Linux system what level should be set on the PD0 pin. Now the PD0 pin is not initialized, so the pull-up resistor helped.

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn