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.

TM4C123GH6PM: Please help with output pin configuration?

Part Number: TM4C123GH6PM

Hello,

I have a small mp3 player connected to the micro-controller , and I can control the mp3 player pins by connecting it to a ground signal. So I configure an output pin and set it to low when I want to activate a certain function on the mp3 player. The problem I am having is that when I change the output pin to high, it still activates the functions of the MP3 player, even though only a ground is suppose to. Am I configuring the pin wrong? Is there something else I should be doing here? For now in order to get around this, I just simply change the pin to an input pin when I don't want to activate the function, but there has to be a correct way of doing this right?

Thanks!

  • Without knowledge of your mp3 player, I can't really give much advice. Can you show the scope cap of the signal you are driving? If the scope cap shows that the output correctly stays low at 0V and then high at 3.3V then there is nothing wrong with the MCU. You need to read the mp3 datasheet on what exactly activate a function. Are you sure it is a low that activates a function not, a transition from low or high?  Please make sure you have common ground between the MCU and the mp3. Without common ground, it is possible the high output from the MCU is not meeting the Vih of the mp3.