TI中文支持网
TI专业的中文技术问题搜集分享网站

MSP430F5438A 能否支持8路AD?

1.目前的设计是想使用MSP430F5438A的A0~A7通道采样,不知道能否在序列通道多次采样模式下支持这么多通路数?

2、若所使用的8个通道不是连续的通道,如何实现这8通道采样?

 

谢谢!

gaoyang9992006:

这个可以放到循环里执行啊,每次操作一个通道的。

——————–

File Name Description—————————————————————————————-msp430x54xA_1.c Software Toggle P1.0msp430x54xA_adc12_01.c ADC12, Sample A0, Set P1.0 if A0 > 0.5*AVccmsp430x54xA_adc12_02.c ADC12, Using the Internal Referencemsp430x54xA_adc12_05.c ADC12, Using an External Referencemsp430x54xA_adc12_06.c ADC12, Repeated Sequence of Conversionsmsp430x54xA_adc12_07.c ADC12, Repeated Single Channel Conversionsmsp430x54xA_adc12_09.c ADC12, Sequence of Conversions (non-repeated)msp430x54xA_adc12_10.c ADC12, Sample A10 Temp and Convert to oC and oFmsp430x54xA_dma_01.c DMA0, Repeated Block to-from RAM, Software Triggermsp430x54xA_dma_02.c DMA0, Single Transfer in Block Mode UART1 9600, ACLKmsp430x54xA_dma_03.c SPI TX & RX using DMA0 & DMA1 Single Transfer in Fixed Address Modemsp430x54xA_dma_04.c DMA0, Single transfer using ADC12 triggered by TimerBmsp430x54xA_flashwrite_01.c Single-Byte Flash In-System Programming, Copy SegC to SegDmsp430x54xA_flashwrite_02.c Flash In-System Programming w/ Long-Word write at 0x1800msp430x54xA_LPM3_1.c Enters LPM3 (ACLK = LFXT1)msp430x54xA_LPM3_2.c Enters LPM3 (ACLK = VLO)msp430x54xA_LPM4.c Enters LPM4; LFXT1, REF0 disabled, SVS disabledmsp430x54xA_OF_LFXT1_nmi.c LFXT1 Oscillator Fault Detectionmsp430x54xA_P1_01.c Software Poll P1.4, Set P1.0 if P1.4 = 1msp430x54xA_P1_02.c Software Port Interrupt Service on P1.4 from LPM4 with Internal Pull-up Resistance Enabledmsp430x54xA_P1_05.c Write a byte to Port 1msp430x54xA_PA_05.c Write a Word to Port A (Port1+Port2)msp430x54xA_RTC_01.c RTC in Counter Mode toggles P1.0 every 1smsp430x54xA_RTC_02.c RTC_A in real time clock modemsp430x54xA_ta3_01.c Timer_A3, Toggle P1.0, CCR0 Cont. Mode ISR, DCO SMCLKmsp430x54xA_ta3_02.c Timer_A3, Toggle P1.0, CCR0 Up Mode ISR, DCO SMCLKmsp430x54xA_ta3_03.c Timer_A3, Toggle P1.0, Overflow ISR, DCO SMCLKmsp430x54xA_ta3_04.c Timer_A3, Toggle P1.0, Overflow ISR, 32kHz ACLKmsp430x54xA_ta3_05.c Timer_A3, Toggle P1.0, CCR0 Up Mode ISR, 32kHz ACLKmsp430x54xA_ta3_08.c Timer_A3, Toggle P1.0;P2.1-3, Cont. Mode ISR, 32kHz ACLKmsp430x54xA_ta3_11.c Timer_A3, Toggle P2.1/TA1.0, Up Mode, 32kHz ACLKmsp430x54xA_ta3_13.c Timer_A3, Toggle P2.1/TA1.0, Up/Down Mode, DCO SMCLKmsp430x54xA_ta3_14.c Timer_A3, Toggle P2.1/TA1.0, Up/Down Mode, 32kHz ACLKmsp430x54xA_ta3_16.c Timer_A3, PWM TA1.1-2, Up Mode, DCO SMCLKmsp430x54xA_ta3_17.c Timer_A3, PWM TA1.1-2, Up Mode, 32kHz ACLKmsp430x54xA_ta3_19.c Timer_A3, PWM TA1.1-2, Up/Down Mode, DCO SMCLKmsp430x54xA_ta3_20.c Timer_A3, PWM TA1.1-2, Up/Down Mode, 32kHz ACLKmsp430x54xA_tb_01.c Timer_B, Toggle P1.0, CCR0 Cont. Mode ISR, DCO SMCLKmsp430x54xA_tb_02.c Timer_B, Toggle P1.0, CCR0 Up Mode ISR, DCO SMCLKmsp430x54xA_tb_03.c Timer_B, Toggle P1.0, Overflow ISR, DCO SMCLKmsp430x54xA_tb_04.c Timer_B, Toggle P1.0, Overflow ISR, 32kHz ACLKmsp430x54xA_tb_05.c Timer_B, Toggle P1.0, CCR0 Up Mode ISR, 32kHz ACLKmsp430x54xA_tb_10.c Timer_B, PWM TB1-6, Up Mode, DCO SMCLKmsp430x54xA_UCS_1.c Software Toggle P1.0 at Default DCOmsp430x54xA_UCS_2.c Software Toggle P1.0 with 8MHz DCOmsp430x54xA_UCS_3.c Software Toggle P1.0 with 12MHz DCOmsp430x54xA_UCS_4.c FLL+, Runs Internal DCO at 2.45MHz with LFXT1 as Refmsp430x54xA_UCS_5.c VLO sources ACLKmsp430x54xA_UCS_6.c XT1 sources ACLK. Toggles P1.0msp430x54xA_UCS_7.c FLL+, Output 32kHz Xtal + HF Xtal + Internal DCOmsp430x54xA_UCS_8.c XT2 sources MCLK & SMCLKmsp430x54xA_UCS_9.c LFXT1 HF Xtal + Internal DCOmsp430x54xA_uscia0_duplex_9600.c USCI_A0, UART 9600 Full-Duplex Transceiver, 32K ACLKmsp430x54xA_uscia0_spi_09.c USCI_A0, SPI 3-Wire Master Incremented Datamsp430x54xA_uscia0_spi_10.c USCI_A0, SPI 3-Wire Slave Data Echomsp430x54xA_uscia0_uart_01.c USCI_A0, 115200 UART Echo ISR, DCO SMCLKmsp430x54xA_uscia0_uart_02.c USCI_A0, Ultra-Low Pwr UART 2400 Echo ISR, 32kHz ACLKmsp430x54xA_uscia0_uart_03.c USCI_A0, Ultra-Low Pwr UART 9600 Echo ISR, 32kHz ACLKmsp430x54xA_uscia0_uart_04.c USCI_A0, 9600 UART, SMCLK, LPM0, Echo with over-samplingmsp430x54xA_uscib0_i2c_04.c USCI_B0 I2C Master RX single bytes from MSP430 Mastermsp430x54xA_uscib0_i2c_05.c USCI_B0 I2C Slave TX single bytes to MSP430 Slavemsp430x54xA_uscib0_i2c_06.c USCI_B0 I2C Master TX single bytes to MSP430 Slavemsp430x54xA_uscib0_i2c_07.c USCI_B0 I2C Slave RX single bytes from MSP430 Mastermsp430x54xA_uscib0_i2c_08.c USCI_B0 I2C Master TX multiple bytes to MSP430 Slavemsp430x54xA_uscib0_i2c_09.c USCI_B0 I2C Slave RX multiple bytes from MSP430 Mastermsp430x54xA_uscib0_i2c_10.c USCI_B0 I2C Master RX multiple bytes from MSP430 Slavemsp430x54xA_uscib0_i2c_11.c USCI_B0 I2C Slave TX multiple bytes to MSP430 Mastermsp430x54xA_uscib0_i2c_12.c USCI B0 I2C Master TX/RX multiple bytes to/from MSP430 Slave Repeated Startmsp430x54xA_uscib0_i2c_13.c USCI B0 I2C Slave RX/TX multiple bytes from/to MSP430 Master Repeated Startmsp430x54xA_wdt_01.c WDT, Toggle P1.0, Interval Overflow ISR, DCO SMCLKmsp430x54xA_wdt_02.c WDT, Toggle P1.0, Interval Overflow ISR, 32kHz ACLKmsp430x54xA_wdt_04.c WDT+ Failsafe Clock, WDT mode, DCO SMCLKmsp430x54xA_wdt_05.c Reset on Invalid Address fetch, Toggle P1.0

gaoyang9992006:

msp430x54xA_adc12_09.c ADC12, Sequence of Conversions (non-repeated)

看这个标题,就是循环转换嘛,轮番转换,按顺序转换的意思。

yezi:

回复 gaoyang9992006:

您好 gaoyang

我意思是这个MSP430F5438A采样也是按照你选择的通道的最高通道开始,依次递减直到通道A0。比方说程序中使用了A12 A7 A5通道,难道要从A12通道开始采样,逐个递减直到A0通道吗??

 

谢谢

Zhenting Liu:

请问,这个问题搞定了么,我也想了解可不可以通过单通道DMA0来进行序列ADC12的转换结果转移。

gaoyang9992006:

回复 yezi:

你用哪几个通道配置哪几个通道就行了,不需要按顺序全部配置。

赞(0)
未经允许不得转载:TI中文支持网 » MSP430F5438A 能否支持8路AD?
分享到: 更多 (0)