共2条
1/1 1 跳转至页
51,EPF10K 如何利用51单片机配置EPF10K?谢谢!怎么连线?
问
答 1:
晕!都玩到这一步了还问别人啊!
答 2:
串行加载,一共5条线,连接到单片机上
cfg,clk,data,done,status
网上有文档,可以找找
先cfg,然后串行写加载程序(clk,data)
判断status和done
答 3: 伪代码char conf_data[] = (100,0,255, ..... this is the data from the TTF .....);
set_low DCLK;
set_low nCONFIG;
set_high nCONFIG; /* reset FLEX device */
delay; /* wait according to app note */
/* before shifting data */
for i=0 to sizeof(conf_data) do
begin
temp = conf_data[i];
for j=0 to 7 do /* shift out data LSB first */
begin
data = temp[j];
set_high DCLK; /* provide data clock pulse */
delay; /* only necessary if clock */
/* high time not met otherwise */
set_low DCLK;
if nSTATUS == low then
/* optional error capture routine */
end
end
if conf_done == high then
/* configuration succesfull */
else
/* provide 10 further clocks, if CONF_DONE */
cfg,clk,data,done,status
网上有文档,可以找找
先cfg,然后串行写加载程序(clk,data)
判断status和done
答 3: 伪代码char conf_data[] = (100,0,255, ..... this is the data from the TTF .....);
set_low DCLK;
set_low nCONFIG;
set_high nCONFIG; /* reset FLEX device */
delay; /* wait according to app note */
/* before shifting data */
for i=0 to sizeof(conf_data) do
begin
temp = conf_data[i];
for j=0 to 7 do /* shift out data LSB first */
begin
data = temp[j];
set_high DCLK; /* provide data clock pulse */
delay; /* only necessary if clock */
/* high time not met otherwise */
set_low DCLK;
if nSTATUS == low then
/* optional error capture routine */
end
end
if conf_done == high then
/* configuration succesfull */
else
/* provide 10 further clocks, if CONF_DONE */
共2条
1/1 1 跳转至页
回复
| 有奖活动 | |
|---|---|
| 2026年“我要开发板活动”第三季,开始了! | |
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
我要赚赏金打赏帖 |
|
|---|---|
| RTOS怎么选?让我来给你答案!被打赏¥15元 | |
| 【S32K3XX】Flash驱动使用被打赏¥26元 | |
| 【FreeRtos】第一个任务的启动过程被打赏¥21元 | |
| 【分享开发笔记,赚取电动螺丝刀】FPB-RA6E2开发板的WDT功能测试被打赏¥22元 | |
| 关于cmakelist特性presets的使用被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】M5STACK系列屏幕质量测试程序,竟然有块亮斑?被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】快速搭建瑞萨FPB-RA6E2开发板开发环境被打赏¥14元 | |
| 【分享开发笔记,赚取电动螺丝刀】在音频测试中顺序的调整可改变功效被打赏¥18元 | |
| 【分享开发笔记,赚取电动螺丝刀】点阵显示模块及其应用-----献给新年的小礼物被打赏¥22元 | |
| 基于地奇星开发板的数码管模块显示技术被打赏¥23元 | |
我要赚赏金
