Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOC例程在HPM5361环境中DMA缓冲区长度不对会产生DMA越界 #20

Closed
LX050724 opened this issue Oct 30, 2023 · 0 comments
Closed

Comments

@LX050724
Copy link

LX050724 commented Oct 30, 2023

如题,在HPM5361环境中DMA缓冲区长度不对会产生DMA越界
5361v03手册54.2.8中的描述是抢占模式的DMA会占用一块192字节的缓冲区,实际分配为160字节
手册中对DMA如何写入内存的方式描述不清楚,是特定触发写入特定区域内存还是192字节全部都会写入
https://github.com/hpmicro/hpm_sdk/blob/b612c6fda97a8d16de16b80bf06fa54f15043496/samples/motor_ctrl/bldc_foc/src/bldc_foc.c#L40C6-L40C6

@LX050724 LX050724 changed the title 在HPM5361环境中DMA缓冲区长度不对会产生DMA越界 FOC例程在HPM5361环境中DMA缓冲区长度不对会产生DMA越界 Nov 1, 2023
@LX050724 LX050724 closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant