SDIO interface on Beagle bone black

81 views
Skip to first unread message

annapurna bommakanti

unread,
Jan 23, 2019, 7:31:29 AM1/23/19
to BeagleBoard
 
Hi All,

I am able to interface a SDIO module to the mmc3 by modifying the DTS file.
I am able to detect as SDIO on mmc3. But the CM53 fails while trying to load firmware on to the module.

info of the MMC2:

root@am335x-evm:~# cat /sys/kernel/debug/mmc2/ios q
clock:        50000000 Hz
vdd:        21 (3.3 ~ 3.4 V)
bus mode:    2 (push-pull)
chip select:    0 (don't care)
power mode:    2 (on)
bus width:    2 (4 bits)
timing spec:    2 (sd high-speed)
signal voltage:    0 (3.30 V)
driver type:    0 (driver type B)
root@am335x-evm:~# cat /sys/kernel/debug/mmc2/ios
clock      ios        mmc2:0001/ regs       
root@am335x-evm:~# cat /sys/kernel/debug/mmc2/
clock      ios        mmc2:0001/ regs       
root@am335x-evm:~# cat /sys/kernel/debug/mmc2/regs
mmc2:
sdio irq mode    polling
ctx_loss:    1
 
regs:
CON:        0x00000600
PSTATE:        0x01f70000
HCTL:        0x00000d02
SYSCTL:        0x000e0087
IE:        0x00000000
ISE:        0x00000000
CAPA:        0x06e10080


Please find the logs.
Any inputs would be of great help, as I am stuck at data transfer over SDIO.




Thanks,
Annapurna.B
cmd53-fail.txt

minde...@gmail.com

unread,
Jan 31, 2019, 10:01:41 PM1/31/19
to BeagleBoard
Hi Annapurna,

Which module? Wifi? If yes then try to reduce the frequency by setting the max-frequency to 24MHz in the dts file.

-Gautam.

Вячеслав Пронин

unread,
Jul 5, 2021, 9:02:29 AM7/5/21
to BeagleBoard
Hello Guys,
I have simiar issue with SDIO wifi adapter. Could you confirm SDIO functionality on BBB?

-Vyacheslav
пятница, 1 февраля 2019 г. в 06:01:41 UTC+3, minde...@gmail.com:
Reply all
Reply to author
Forward
0 new messages