您尚未登录。

#1 Re: 工业芯 匠芯创 » HRPWM 功能功能使用 » 2025-06-19 20:38:15

AICxia 说:

抱歉,目前我们的sdk还不支持哈

那我怎么进行有相位差的方波输出

#2 工业芯 匠芯创 » HRPWM 功能功能使用 » 2025-06-18 00:13:21

aniki
回复: 2

_20250618001044.png

各位大佬们,有用过这个功能的吗,我想输出带有相位的方波。
这几个寄存器EPWM0_SA HRPWM_CHA_MODE HRPWM_CHB_MODE 
我在SDK搜都搜不见这个字眼。。。就不谈例程了

#3 Re: 工业芯 匠芯创 » D133EBS能输出静态相位差的方波吗? » 2025-06-17 23:45:45

AICxia 说:

明天会同步到官网,D13x 用户手册-伺服系统章节

有例程吗

#5 Re: 工业芯 匠芯创 » 官方SDK编译不通过 » 2025-06-16 17:02:50

Administrator@DESKTOP-AT2NJRN E:\lckfb-hspi-d133ebs\SDK\luban-lite
$ list
scons: Reading SConscript files ...
Built-in configs:
  0. d12x_demo68-nand_rt-thread_helloworld
  1. d12x_demo68-nor_rt-thread_helloworld
  2. d12x_hmi-nor_rt-thread_helloworld
  3. d13x_demo68-nor_rt-thread_helloworld
  4. d13x_demo88-nand_rt-thread_helloworld
  5. d13x_demo88-nor-secure_rt-thread_helloworld
  6. d13x_demo88-nor_rt-thread_helloworld
  7. d13x_hspi100-nor_rt-thread_helloworld
  8. d13x_kunlunpi88-nor_rt-thread_helloworld
  9. d21x_d215-demo88-nand_rt-thread_helloworld
10. d21x_d215-demo88-nor_rt-thread_helloworld
11. d21x_demo100-nor_rt-thread_helloworld
12. d21x_demo128-nand_rt-thread_helloworld
13. d21x_demo88-mmc_rt-thread_helloworld
14. g73x_demo100-nor_rt-thread_helloworld
15. g73x_demo68-nor_rt-thread_helloworld
16. g73x_scan_rt-thread_helloworld

Administrator@DESKTOP-AT2NJRN E:\lckfb-hspi-d133ebs\SDK\luban-lite
$ lunch 7

然后
scons  -j12


python3 E:\lckfb-hspi-d133ebs\SDK\luban-lite\tools/scripts/elf_parse.py output\d13x_hspi100-nor_rt-thread_helloworld\images\d13x.elf E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/ riscv64-unknown-elf-
E:\lckfb-hspi-d133ebs\SDK\luban-lite\tools/scripts/mk_image.exe -v -c E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/image_cfg.json -d E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/
        Creating E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/d13x_os.itb ...
        Creating E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/env.bin ...
        Creating E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/usbupg-psram-init.aic ...
        Creating E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/pbp_ext.aic ...
        Creating E:\lckfb-hspi-d133ebs\SDK\luban-lite\output/d13x_hspi100-nor_rt-thread_helloworld/images/loader.aic ...
Traceback (most recent call last):
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 2632, in <module>
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 2196, in firmware_component_preproc
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 2128, in firmware_component_preproc_aicimage
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 1004, in aic_boot_create_image_v2
  File "\\Exdroid019\hao.xiong\lite-usb\luban-lite\tools\scripts\mk_image.py", line 782, in aic_boot_gen_header_bytes_v2
ValueError: invalid literal for int() with base 16: 'CONFIG_AIC_BOOTLOADER_LOAD_BASE'
[PYI-16964:ERROR] Failed to execute script 'mk_image' due to unhandled exception!
scons: *** [output\d13x_hspi100-nor_rt-thread_helloworld\images\d13x.elf] Error 1
scons: building terminated because of errors.


我的是这样

#6 Re: 工业芯 匠芯创 » D133EBS能输出静态相位差的方波吗? » 2025-06-16 16:36:59

AICxia 说:

明天会同步到官网,D13x 用户手册-伺服系统章节

ok,期待

#7 Re: 工业芯 匠芯创 » 官方SDK编译不通过 » 2025-06-16 16:28:43

ArtInChip 说:

scons --apply-def=选择一下2然后编译2,然后再编译3

这个作用是什么

#8 Re: 工业芯 匠芯创 » D133EBS能输出静态相位差的方波吗? » 2025-06-13 15:46:55

文档能不能提前发我一下,我急用做测试。在物色升级我们项目的需要用的芯片

#9 工业芯 匠芯创 » D133EBS能输出静态相位差的方波吗? » 2025-06-11 20:36:21

aniki
回复: 6

我产品有个硬性需求,需要至少3路的PWM方波,以第一路为准,其他两路输出要输出跟第一路有相位差的方波。在频率,占空比一样的情况下,1~360°的相位可调,精度为1°。并且这几路方波的频率可调在80k~600k的频率可调。

如果可以的话最好能有4路(升级版要)

#10 工业芯 匠芯创 » D133EBSrgb脚位跟EPWM冲突的问题, » 2025-04-09 19:43:16

aniki
回复: 1

D1331.pngD1332.png
大佬们,我需要epwm进行PWM波的移相,但是rgb565跟EPWM脚位冲突了。

我看衡山派的LCD接的是PD8~PD27。我能改一下RGB565的脚位。改成这样:
配置LCD为16位RGB模式
数据线:使用PD0-PD15(D0-D15),避免占用PD16-PD23(这个用于8路EPWM,每两路都移相)。
控制信号:
PD24(DCLK):像素时钟
PD25(HS):水平同步
PD26(VS):垂直同步
PD27(DE):数据使能

或者有分时复用的用法?

请大佬出手。

#11 工业芯 匠芯创 » D133EBSrgb脚位跟EPWM冲突的问题, » 2025-04-09 19:32:57

aniki
回复: 0

D1331.pngD1332.png
大佬们,我需要epwm进行PWM波的移相,但是rgb565跟EPWM脚位冲突了。

我看衡山派的LCD接的是PD8~PD27。我能改一下RGB565的脚位。改成这样:
配置LCD为16位RGB模式
数据线:使用PD0-PD15(D0-D15),避免占用PD16-PD23(这个用于8路EPWM,每两路都移相)。
控制信号:
PD24(DCLK):像素时钟
PD25(HS):水平同步
PD26(VS):垂直同步
PD27(DE):数据使能

或者有分时复用的用法?

请大佬出手。

#12 Re: 工业芯 匠芯创 » D133EBS这个芯片性能如何?跟STM32哪款芯片对比呢? » 2025-03-11 00:33:42

Gentlepig 说:

主要是各种国产引脚兼容的stm32型号太多了,而且stm32价格也不贵了。

我看STM32H750VBT6跟这个D133EBS差不多,但是需要外扩SDRAM。不然ram比自带PRAM的D133差得有点多

#13 Re: 工业芯 匠芯创 » 移植FlashDB的问题。 » 2025-03-10 16:08:28

Gentlepig 说:

本地仓库选项里有的,选中后编译就行了,应该算是官方给适配好了。

_20250228160740.png_20250310160429.png_20250310160434.png_20250310160437.png_20250310160439.png
我这样使用menuconfig开启选项后,然后SDK里面有了这些代码。
但是我怎么看这些FlashDB库连接的SPI flash是哪个SPI,或者哪个外置flash

#14 工业芯 匠芯创 » 移植FlashDB的问题。 » 2025-03-02 22:35:21

aniki
回复: 3

在menuconfig打开FlashDB后,怎么感觉跟我STM32移植的时候不太一样。。

#15 Re: 工业芯 匠芯创 » 购买的新的D133EBS芯片如何烧录SDK? » 2025-03-01 21:36:27

tkez 说:

我打算只留一个RGB接口还有几个串口,我准备先把硬件电路做好,再裁剪官方给的SDK,我们的需求是相同的,可以互相交流

是的。你打算留50pin的还是40pin的rgb

#16 Re: 工业芯 匠芯创 » D133EBS这个芯片性能如何?跟STM32哪款芯片对比呢? » 2025-02-28 14:18:19

Gentlepig 说:

玩这个芯片主要是为了刷屏,不刷屏的话,我还是愿意用stm32。

怎么说,除了刷屏外不如STM32吗

#17 Re: 工业芯 匠芯创 » 购买的新的D133EBS芯片如何烧录SDK? » 2025-02-28 14:17:42

我也想自己设计板子,但是SDK的例程是一堆东西在启动,我想删减到最小代码运行的状态。然后自己一个个加,,,这个是叫bringUp是吧。。。。楼主我们共同交流一下

#18 Re: 工业芯 匠芯创 » 怎么进行bringUp? » 2025-02-28 14:15:39

求助一下大佬..想搞最小系统板然后bringUp。保持最小代码就能运行系统

#19 Re: 工业芯 匠芯创 » D133 烧录经常失败,怎么解决 » 2025-02-27 22:52:04

大佬。你这个板子上怎么进行bringUp。开发板上一堆例程和代码,该咋做到最小启动和显示RGB屏幕。在你这个板子上跑起来

#20 Re: 工业芯 匠芯创 » D133EBS 核心板设计好了,待验证 » 2025-02-27 16:35:30

怎么样,这个最小系统核心板能跑吗。我做软件的想玩玩这个D133。想自己bringUp。但是又不会硬件画板子。楼主有卖一个板子吗

#22 工业芯 匠芯创 » 怎么进行bringUp? » 2025-02-27 12:12:48

aniki
回复: 2

买了个衡山派D133EBS的板子玩了玩了不错。想自己做最小系统版本,该怎么bringUp呢?...

#23 工业芯 匠芯创 » 如果我要画一个D133的开发板,SDK怎么选择... » 2024-12-26 11:54:35

aniki
回复: 2

如果我要画一个D133的开发板,SDK怎么选择...,新手上路做项目不太懂,硬件那边有能力能画出对应开发板,但是我软件不太懂开发流程。比如用哪个SDK我都不清楚,之前只整过rt-thread

页脚

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

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