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.

[参考译文] CCS/TMS570LS1224:12位 ADC 不工作-内置光传感器

Guru**** 2560390 points
Other Parts Discussed in Thread: HALCOGEN

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/911043/ccs-tms570ls1224-12bit-adc-is-not-working---inbuilt-light-sensor

器件型号:TMS570LS1224
主题中讨论的其他器件:HALCOGEN

工具/软件:Code Composer Studio

您好!

正在尝试从内置光传感器到串行终端获取 ADC 值。我尝试了此链接 https://www.youtube.com/watch?v=YOBWhFE0LZg

但遗憾的是、串行终端没有任何价值。 是否可以检查我的错误。已附加屏幕截图

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

    您好!

    端子是否具有相同的波特率和停止位? 将值转换为字符串时、返回的字符数是否正确?

    请在 sciSend()内添加一个断点,并检查您的数据是否已写入 SCI TD 寄存器?  

    HALCoGen 提供了一个在终端上显示 ADC 值的非常好的示例。

    HALCoGen-->帮助-->帮助主题-->示例--> example_adcDisplay.c