This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6421: M4 使用PWM、SPI问题

Part Number: AM6421


  使用am64,目前有如下疑问,需协助解答,请问是否有相关案例可供参考?多谢!

  1. M4核定时器有没有PWM功能?看手册上有说明,但CCS里没找到相关函数接口。想用来生成20us周期的控制信号,中断方式效率不高
  2. M4核的SPI有没DMA功能?手册里写有,但CCS显示不能用?
  3. SPI使用中断回调方式读取,在20us周期中断里启动spi读取,调用MCSPI_transfer()启动中断回调读取,测试发现执行这函数要消耗5~6us,有没其它高效的方式?