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.

Tiva C Series TM4C123G LaunchPad Evaluation Kit

Other Parts Discussed in Thread: LMV612

Hello,

I am currently looking for a test board/circuit that can send a varying duty-cycle PWM signal to an 8-bit AVR Microcontroller and also watch two analog outputs from an LMV612 op amp to verify functionality.

The TM4C123G Evaluation Kit was recommended to me and after reviewing the manual, I had a few questions.

1) I noticed that the available I/O are brought out to headers(pins), but it looks like there is also a connector housing on the other side of the board. Does this give you an option to use either side(pins or sockets) ? Also, I do not see any mounting holes, so I am assuming this is stand alone or can be held together by whatever plugs into it. Is this correct

2) Power Supplies: This can be powered by one of two power sources(On-board ICDI USB cable or USB device cable). I believe the USB Micro-AB cable is provided and can be used for either source by plugging into a PC. Is this correct?

I will also need to power up my target which includes two IC's (ATTINY85-20SU and LMV612MA) which both require 3.3V. Can I piggy-back the power off the I/O header(J1 pin 1 and J3 pin 2) of the TM4C123G or is it better to use a seperate source?

3) PWM signal: Is J4 pin 3 the connection for the PWM signal, if not can you please tell me which pin it is?

4) Analog inputs: Are J3 pin 8 and pin 9 the connections for the analog inputs, if not can you please tell me which pins they are?

5) RBG User LED: Can this LED be configured to turn green if the test passed and red if it failed? If yes, would this be done through the software?

Can someone please provide me support on this application.
Any assistance would be greatly appreciated.
Thank you and I look forward to hearing from you.

Best Regards,

James Demakis

  • Hi James

    1) Those pins are made like that for boosterpacks. Like Arduino shields. You can stack them up in top of each other that's why there's male headers in the top and female headers on bottom. The male ones aren't standard so you can't use those jumper wires housings that have more than 1 slot. Individual ones are ok.

    2)The second USB port on the side is for the direct USB from the Tiva. The tiva has 2.0 USB. I don't believe you can power it from there (anyone correct me if i'm wrong). Only from the ICDI usb. You can also power it directly on the VCC pins, there's VBUS and 3.3V, VBUS is 5V and 3.3V is well, 3.3V. Don't get the sources wrong (5V and 3.3V). You should be able to piggy-back them easily.

    3) To generate the PWM signal you got soooooooo many pins. You have 6 32bit timers that have to be divided to 16 bits to use PWM so you have up to 12 16bit PWM. You also have 6 wide timers of 64bits that work the same way so more 12 32bit PWM. You have also 2 PWM modules. Check Table 11-2 for the timers pins, and Table 20-1 for the PWM module pins, all from the datasheet.

    That pin is PB3, and is capable of PWM using a timer. (pin j4 pin 3 counting down) Please refer the pins name by GPIO module (A, B, C, etc) and pin number so it's easier.

    4)Check Table 13-1. from the datasheet. It's hard to see if you are counting  8 and 9 from down or up.

    5)Yes you can. The 3 LEDs from the RGB LED are connected to 3 pins both capable of timer PWM (and some also PWM module PWM). PF1-Red, PF2-Blue, PF3-Green.

    Check this and read a bit about the Tiva GPIO and Timers, ignore the DMA part:  https://sites.google.com/site/luiselectronicprojects/tutorials

     

  • Hello Luis,

    Thank you very much for responding to my request and for providing info on this Tiva TM4C123G Evaluation Board.

    We received feedback from our customer that this board would work for our application, but we will have to implement a voltage divider(2:1) for the ADC inputs, since the outputs of our device go up to 4.9VDC. We would just use two 10k resistors in series between the device output and AGND, then read the middle with the ADC. That would give us 6.6VDC of readable range, and prevent damaging the Tiva ADC.

    To sum everything up again, the interface connector on our device only has 5 pins ( +V, GND, Analog Sig 1, Analog Sig 2 and a PWM signal). Our plan is to use the Tiva TM4C123G Evaluation Board to send a varying duty-cycle PWM signal to our device and check the analog signals coming in. I would also like to have a green LED that would blink during testing and turn solid when test is complete. Also, I would like to have an led turn red if test failed. 

    The question is how can I program this through the software of the Tiva? Any additional support you can provide would be appreciated. Thank you again and I look forward to hearing from you.

    Best Regards,

    James Demakis
     
    I assume you're going to program the device?

  • Well i can't do the programming for you, i don't get paid for that (i wish)

    Check this out. It has tutorials and it links to TI alredy existing workshops and info 

    https://sites.google.com/site/luiselectronicprojects/tutorials/tiva-tutorials