qn1517453275

qn1517453275

0个粉丝

1

问答

0

专栏

0

资料

qn1517453275  发布于  2018-02-01 11:37:29
采纳率 0%
1个问答
3273

NUC972 DEMO板调试音频部分 加载8822失败

 
管理好,最近在调试DEMO板的音频部分,首先根据说明书操作,在内核开启I2C 与I2S,默认选择NUC970 I2C1 pin selection (Port G)  ,8822挂载在I2C-0总线,编译通过,烧写进flash后,在加载8822驱动时失败,错误信息如下:
i2c /dev entries driver
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
nau8822 0-001a: Failed to issue reset: -6
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered

nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
ALSA device list:
  No soundcards found.
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
Freeing unused kernel memory: 7036K (c03ca000 - c0aa9000)
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral

后来看原理图,8822 SCK SDA是在PB0 ,PB1, 于是修改内核部分代码,
i2c_register_board_info(1, nuc970_i2c_clients0, sizeof(nuc970_i2c_clients0)/sizeof(struct i2c_board_info));
在I2C-1上添加8822,然后通过kernel menu 修改I2C   NUC970 I2C1 pin selection (Port B) 。
编译通过,烧写flash后启动仍然有问题,错误信息如下:

i2c /dev entries driver
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
nuc970-i2c1 nuc970-i2c1: cannot get bus (error -110)
nuc970-i2c1 nuc970-i2c1: cannot get bus (error -110)
nau8822 1-001a: Failed to issue reset: -121
nau8822: probe of 1-001a failed with error -121
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
nuc970-audio nuc970-audio: ASoC: CODEC nau8822.0-001a not registered
nuc970-audio nuc970-audio: snd_soc_register_card() failed: -517
platform nuc970-audio: Driver nuc970-audio requests probe deferral
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
ALSA device list:
  No soundcards found.
Freeing unused kernel memory: 7036K (c03c2000 - c0aa1000)


请管理帮忙看下该如何解决这个问题。万分感谢。  
我来回答
回答1个
时间排序
认可量排序

david

39个粉丝

368

问答

253

专栏

229

资料

david 2018-02-01 20:38:12
认可0
I2C的波形正确么? device bus driver 这个过程一般没啥问题 ,一般注意下复用,上拉。地址,device 和 driver的名称 等等 一一对应起来。
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区