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.

sensor interface with ADC

Other Parts Discussed in Thread: HALCOGEN

i worked with example codes in halcogen software. the program was build successfully without error.

while configuring i used hardware raising edge trigger with GPIOB 0 and selected the pin 0 and 1 in channel one  

can i give square pulse input for GPIOB 0 to trigger and sine wave input to ADC channel 1 (pin 0 (positive) and pin 1 (negative) from signal generator for testing purpouse.

thanks and regards 

K.Manjunathan

PSGIAS

  • Hello Manjunathan,

    Unfortunately, I am not certain what you are asking. ADC Channel 1 is only 1 pin so your reference to 2 pins is confusing to me. Also, the ADC will calculate the ADC counts based on the reference voltage which is VREFLO and VREFHI where VREFLO minimum voltage is GND and VREFHI maximum is either 3.6V or 5V dependent on the device being used. With this in mind, you would not be able to measure a negative voltage with the ADC unless you were able to invert the incoming AC signal so that it did not go negative.
  • thank you sir. how can i view the out put of SCI communication in CCS window (what register i have to check).

    thanks and regards
    K.Manjunathan
  • Hi Manjunathan,

    If using HALCoGen you can run example_sci_uart_9600. How to configure HALCoGen for this example go to HALCoGen --> Help --> Help Topics --> under Examples --> example_sci_uart_9600.c.

    To view SCI ( UART ) output in CCS do following
    1) In CCS go to Windows--> Show View --> Others -->( In the Pop up window choose) Terminal.
    2) In the Terminal window you could do settings necessary for UART communication and Connect ( similar to Teraterm).
    3) Output of the example_sci_uart_9600.c. can be viewed here.
  • Thank you Mr. Prathap. i will work accordingly and if i have any struggle i will com back to you.will you please give me you mail id that i will post my queries directly in mail. it will be helpful for completing my project soon.
  • Hi Manjunathan,

    I would like you to post all your queries to Forum, Advantage is many experts on the device both TI'ers and Hercules users might give you valuable information. This way other also learn from your questions and discussions.

    Of course you can send a Friend request to me through, incase of offline discussions. 

  • Thank you Mr.Prathap