您尚未登录。

楼主 #1 2019-12-13 10:21:37

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

立创链接: https://item.szlcsc.com/48028.html

1+:¥8.05
10+:¥5.96
30+:¥5.58
100+:¥4.68 ¥5.2
500+:¥4.518 ¥5.02
1000+:¥4.446

linux 驱动: https://github.com/torvalds/linux/blob/master/drivers/pinctrl/pinctrl-mcp23s08.c

dts 配置: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt

是有点贵,先用着吧,等有订单再用STM8S003单片机模拟MCP23017吧。

离线

楼主 #2 2019-12-13 10:46:26

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

Re: f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

i2c 的 pwm 扩展芯片 PCA9685

芯片: https://item.szlcsc.com/93397.html

含增值税:
1+:    ¥17.18 / 个
10+:    ¥14.84 / 个
30+:    ¥14.41 / 个
100+:    ¥13.98 / 个
500+:¥13.79 / 个
1000+:    ¥13.55 / 个

模块: https://list.szlcsc.com/catalog/11152.html

linux 驱动: https://github.com/torvalds/linux/blob/master/drivers/pwm/pwm-pca9685.c

dts 配置: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/pwm/nxp%2Cpca9685-pwm.txt

离线

楼主 #4 2019-12-13 10:57:24

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

Re: f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

kekemuyu 说:

都快能买两个f1c100s了

对, 是有点贵, 先驱动起来, 先完成客户需求, 等正式下单再用单片机模拟这些扩展芯片。

离线

楼主 #6 2019-12-13 11:30:32

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

Re: f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

达克罗德 说:

1块钱的st单片机行不

可以的, 打算用 stm8s003/n76e003

离线

楼主 #9 2019-12-16 08:13:53

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

Re: f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

迪卡 说:

pcf8575  16bit   带中断
pcf8574   8bit    不带中断

PCF8575TS: https://item.szlcsc.com/12867.html

1+:    ¥13.09
10+:    ¥9.68
30+:    ¥9.06
100+:    ¥7.587
500+:    ¥7.335
1000+:    ¥7.218

PCF8574TS: https://item.szlcsc.com/58826.html

1+:    ¥6.88
10+:    ¥5.09
30+:    ¥4.77
100+:    ¥3.996
500+:    ¥3.861
1000+:    ¥3.798

gpio驱动: https://github.com/torvalds/linux/blob/master/drivers/gpio/gpio-pcf857x.c
dts配置: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/gpio/gpio-pcf857x.txt

keyboard驱动: https://github.com/torvalds/linux/blob/master/drivers/input/misc/pcf8574_keypad.c

离线

楼主 #10 2019-12-16 08:20:50

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

Re: f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

发现立创的数据乱得一批,

一会叫NXP(恩智浦): https://list.szlcsc.com/brand/89.html

一会叫 Nexperia(安世): https://list.szlcsc.com/brand/1101.html

到底是不是同一个马甲?

哥还以为后面那个是国产品牌呢

离线

楼主 #12 2019-12-16 09:09:19

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

Re: f1c100s io口不够了, 打算选用一个 i2c/spi 的 gpio/pwm 扩展芯片 MCP23017/PCA9685

gui401 说:

恩智浦收购飞思卡尔后体积太大,后分离出标准器件部门命名为安世半导体。

原来如此,多谢赐教.

离线

页脚

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

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