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.
我參考了以下網址
並且使用了下面的程式碼進行 SAC的設定
//Select external source for both positive and negative inputs
SAC_OA_init(SAC0_BASE, SAC_OA_POSITIVE_INPUT_SOURCE_EXTERNAL, SAC_OA_NEGATIVE_INPUT_SOURCE_EXTERNAL);
//Select low speed and low power mode
SAC_OA_selectPowerMode(SAC0_BASE, SAC_OA_POWER_MODE_LOW_SPEED_LOW_POWER)
// Enable OA
SAC_OA_enable(SAC0_BASE);
// Enable SAC
SAC_enable(SAC0_BASE);
//! MSP430FR2xx_4xx Board
//! -------------------
//! /|\| OA0-|----||---------R2=100Kohm---GND
//! | | | R1=200Kohm
//! | | OA0O|----||
//! --| RST |
//! | OA0+|<----
//! | |
//! | |
P1.1 OA0O
P1.2 OA0l0
P1.3 OA0l1 外接300mv
電阻按照上面描述
可是, 我再OA0O 怎樣也沒辦法得到正確的放大電壓(理論上應該是量到900mv),用三用電表測量都只有230mv
請問我是哪邊操作錯誤了呢?
謝謝
如例程所述:
//! MSP430FR2xx_4xx Board
//! -------------------
//! /|\| OA0-|----||---------R2=100Kohm---GND
//! | | | R1=200Kohm
//! | | OA0O|----||
//! --| RST |
//! | OA0+|<----
//! | |
//! | |
您需要自己在OA0-和OA0O外接电阻完成测试,开发板上是没有R1 R2的
另外关于该开发板上的SAC,您可以查看文档的
2.2.5.1 Smart Analog Combo (SAC)