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.

MSP430FG4250 OA配置问题

Other Parts Discussed in Thread: MSP430FG4250

我正在使用MSP430FG4250IRGZ,

用IAR5.5 MSP430-FET430UIF仿真器,

msp430.dll 版本:3.3.1.4

在程序下载时,仿真器总是提示chosen derivative (MSP430FG4250) and actual hardware(MSP430F42x0) do not match.

不理会提示,直接下载仿真,watch窗口OA0CTL0,OA1CTL1寄存器值始终是oxE2;没办法配置OA

芯片有问题? 我买了两次,丝印分别是:M430 FG4250 TI 7CK A HEX3 G4   和M430 FG4250 TI 7CK A FNCR G4

  • Qiheng Wang,

    经查阅文档“MSP430™ Programming Via the JTAG Interface User's Guide”,对于MSP430FG4250 和 MSP430F42x0 而言,DeviceID的值是相同的。 见“Table 1-14. JTAG Features Across Device Families” 。

    但是按照你的提示,就是仿真器认为芯片是MSP430F42x0,而非MSP430FG4250,即没有OA外设,故是不能设置OA的。

    建议你直接到TI 官网免费申请几片MSP430FG4250试试,并且下载CCS试试,看看有没有一样的问题。

    BR,

    Lina

  • Lina, 

    那就是说仿真器识别的没有问题,并且应该不会造成影响。

    官方申请的CCS尚在审核,在网上down了一个5.2版本的,问题依旧,依然是oxE2。貌似样片中心没有这块片子。

    有办法唉辨别是FG4250还是F4250么?

    请教一个问题,对于没有使用的外设寄存器地址,比如0c4h....等,它们的默认值是多少?

    Register   Short Form                      Register              Type                             Address           Initial State
    OA0          control register 0              OA0CTL0             Read/write                  0C0h                Reset with PUC
    OA0          control register 1              OA0CTL1             Read/write                  0C1h                Reset with PUC
    OA1         control register 0               OA1CTL0             Read/write                  0C2h                Reset with PUC
    OA1         control register 1               OA1CTL1             Read/write                  0C3h                Reset with PUC
    Switch      control register                SWCTL                  Read/write                  0CFh                Reset with PUC

  • 芯片有问题,Taobao有风险,购物需谨慎~~~