4734 views|0 replies

6871

Posts

0

Resources
The OP

MCP2510 driver problem [Copy link]

MCP2510 crystal oscillator uses 4M and 16M, uses 16F946 for reading and writing, crystal oscillator is 8M, and the driver is mcp2510.c included in CCS.

mcp2510_write(jjj,0x77);

cycle=mcp2510_read(jjj);
putchar(jjj);
jjj++;

putchar(cycle);

Write each register once, write 0X77, and then read it out. Some are correct, but some are messed up.

What's the problem?

Prawns, please help me

This post is from 51mcu
Personal signature一个为理想不懈前进的人,一个永不言败人!
http://shop57496282.taobao.com/
欢迎光临网上店铺!

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list