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.

[参考译文] MSP430FR2422:使用 P1SEL0和 P1SEL1设置模拟输入时出现问题

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1029462/msp430fr2422-problem-to-set-analog-input-with-p1sel0-and-p1sel1

器件型号:MSP430FR2422

您好...

我想在 MSP430FR2422上设置模拟输入引脚、但我没有这么做。 数据表中介绍了如何使用 SYCFG2配置模拟输入。 我在 SLAA890A 中找到的其他端、 ADC 引脚选择在 PxSEL0和 PxSEL1寄存器中设置。


SLAA890A 第3页:

在 MSP430FR413x 和 MSP430FR203x MCU 中、ADC 引脚选择在 SYSCFG2寄存器中设置。 原因
在其他 FR4xx MCU 中、ADC 引脚选择在 PxSEL0和 PxSEL1寄存器中设置。 因为只有这种情况
FR4xx MCU 中的一对电源引脚(DVCC 和 DVSS)、可实现良好的 ADC 性能和电路板
设计应避免系统噪声:…


我不知道 FR4xx MCU、也没有找到如何设置 PxSEL0和 PxSEL1。

--------------------------------------------------------------------

另一个问题是如何在用户 FRAM 中写入数据。 我没有找到代码示例来执行此操作。

我具有的唯一说明:

是否有将数据写入 FRAM 的代码示例?

请提供帮助。

此致 Jurgen

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

    我找到了一个示例代码。 我的问题就通过它解决了。

    此致 Jurgen