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.

新手请教关于MSP-EXP430F5529LP的一些问题



1.如果我在一个CCS的工程中对时钟进行了设置,那么在以后的工程里(前后两个工程没有任何关系,且第二个工程不对时钟进行配置操作),430是沿用之前工程的设置,还是返回默认的时钟设置??

2.在MSPWare--Development Tools--MSP-EXP430F5529LP内的MSP430F55xx_uscib0_i2c_10.c这个demo中,并没有对SMCLK进行时钟源的选择与,进行10分频后给的注释显示此时的频率为~100KHz也就是说,默认设置的SMCLK约为1MHz。我想知道的是对于该款Launchpad,默认设置的那些SMCLK,MCLK,ACLK,在哪里可以找到?

  • Xiangjun Wang 说:

    1.如果我在一个CCS的工程中对时钟进行了设置,那么在以后的工程里(前后两个工程没有任何关系,且第二个工程不对时钟进行配置操作),430是沿用之前工程的设置,还是返回默认的时钟设置??

    返回默认设置

    2.在MSPWare--Development Tools--MSP-EXP430F5529LP内的MSP430F55xx_uscib0_i2c_10.c这个demo中,并没有对SMCLK进行时钟源的选择与,进行10分频后给的注释显示此时的频率为~100KHz也就是说,默认设置的SMCLK约为1MHz。我想知道的是对于该款Launchpad,默认设置的那些SMCLK,MCLK,ACLK,在哪里可以找到?

    可以参考MSP430X5XX 用户手册 

  • 工程里的时钟设置,只对当前工程有效

  • 我们MSP430的默认时钟是1MHZ DCO供的,也就是说如果不进行任何配置,上电默认的是1M。10分频也就是~100K咯,当然芯片之间也是会有差异的,不是准准的1M哦~

  • 芯片里集成的ADC12是单极性的还是双极型的??可以转换负电压吗?

  • 一般是单端的,但是有一些也是差分的。不过也没关系,可以用运放把电压抬一下。

  • 。。。俩TI员工说的不一样啊= =我特指的是MSP430F5529里的ADC12,它是单极性的吗??我主要是怕使用不当损坏器件。另外,关于采样和转换时间(见文件SLAU208O的 28.2.5章节)可选择的信号源,在device-specific data sheet 里也没有说明。。。

  • 单极性,在用户手册中有说。如下:

    The ADC core converts an analog input to its 12-bit digital representation and stores the result in
    conversion memory. The core uses two programmable and selectable voltage levels (VR+ and VR-) to
    define the upper and lower limits of the conversion. The digital output (NADC) is full scale (0FFFh) when the
    input signal is equal to or higher than VR+. The digital output (NADC) is zero when the input signal is equal
    to or lower than VR-. The input channel and the reference voltage levels (VR+ and VR-) are defined in the
    conversion-control memory. The conversion formula for the ADC result NADC is:
    The ADC12_A core is configured by two control registers, ADC12CTL0 and ADC12CTL1. The core is
    enabled with the ADC12ON bit. The ADC12_A can be turned off when it is not in use to save power. With
    few exceptions, the ADC12_A control bits can be modified only when ADC12ENC = 0. ADC12ENC must
    be set to 1 before any conversion can take place.

  • 单极性,负电压需要抬升。

    可选择的信号源,在device-specific data sheet 里