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.

[参考译文] LAUNCHXL-F280049C:没有 TI MCU 是否无法驱动 AFE031?

Guru**** 2482225 points
Other Parts Discussed in Thread: AFE031

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1446818/launchxl-f280049c-is-it-impossible-to-drive-the-afe031-without-a-ti-mcu

器件型号:LAUNCHXL-F280049C
Thread 中讨论的其他器件:AFE031

工具与软件:

#define HAL_afe031_txPWMEnable ()\
{HAL_afe031_reg_s.enable.bits.tx = 1;\
HAL_afe031_reg_s.enable.bits.dac = 0;\
HAL_afe031_reg_s.enable.bits.PA = 1;\
HAL_afe031_regWrite (HAL_AFE031_ENABLE_REG、HAL_afe031_reg_s.enable.all);\
DELAY_US (2);\
HAL_afe031_reg_s.enable2.bits.pa_out = 1;\
HAL_afe031_regWrite (HAL_AFE031_ENABLE2_REG、HAL_afe031_reg_s.enable2.all);}

HAL_afe031_txPWMEnable (void)라는 함수를 보면  

HAL_afe031_reg_t 라는 구조체를 쓰고 있는데

이 역시 그냥 typedef 结构 구조체일 뿐이다。

레지스터가 안쓰여있는데、AFE031 레지스터에 写入 한다는 것이 어떻게 가능한지 설명해달라 μ s。

Ti사 MCU가 아니면 AFE031을 구동하는게 불가능한가 μ A?

如果查看名为 HAL_afe031_txPWMEnable (void)的函数、

该函数会使用名为 HAL_afe031_reg_t

的结构、该结构也只是 typedef 结构体。

请说明在不使用 AFE031寄存器时如何能够写入该寄存器。

是否没有 TI MCU 就无法驱动 AFE031? 


  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [报价 userid="493117" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1446818/launchxl-f280049c-is-it-impossible-to-drive-the-afe031-without-a-ti-mcu "]请说明在未使用该寄存器时如何写入 AFE031寄存器。

    不知道您的意思。 AFE031寄存器通过 SPI 接口进行配置。

    Unknown 说:
    没有 TI MCU 是否无法驱动 AFE031?

    我相信是这样、但 TI 当然不会支持这方面的工作。

    此致!

    Kevin