Questions tagged [tm4c123g]
27 questions
12
votes
6 answers
What is the purpose of PLL in a general microcontroller
An ARM Cortex-M4 based microcontroller like TM4C123GH6PM is designed with multiple clock sources with a processor core clocked at 80MHz provided by the PLL, which, from what've read in NI-What is a PLL? and All About Circuit - What exactly is a…

KMC
- 1,380
- 2
- 18
- 39
4
votes
2 answers
shift by 1 bit error in SPI
I am trying to implement the SPI communication on TM4C123.
I have 1 board and try to send data from SSI1(master) to SSI0(slave), but I observe that the received value is always shifted to the left by 1 bit!!
for example, I send 0x01 on the master…

SH90
- 41
- 1
- 3
2
votes
1 answer
Keil debugger exits automatically
I am using Keil uVision5 for programming TI launchpad TM4C123GXL.
Keil work perfectly fine for building and flashing the programs (examples projects of Tiva Ware,) but when I start the debug session, at first debugging mode seems to open perfectly…

Masood Salik
- 120
- 1
- 19
1
vote
1 answer
How can I write and read consistently in the W5500's registers using the EK-TM4C123GXL with SPI communication?
I used a modified code from an example for SPI communication "spiloopback" from Texas Instruments, where I tried to write data in the registers of W5500 and then read those data.
uint8_t masterRxBuffer1[SPI_MSG_LENGTH];
uint8_t…

George P.
- 119
- 7
1
vote
1 answer
I2C SCL goes low if using MCU GPIOs as pull-ups
I have an MCU (tm4c123gh6pm) in which I have configured an I2C slave device. At the moment I don't have resistors to wire the required pull-ups, so I want to use two of the MCU's GPIOs for this purpose.
I have configured two GPIOs as inputs with…

Martel
- 1,213
- 6
- 20
1
vote
2 answers
Experiences with AD9826 serial communication
I try to establish a communication with the TM4C123GXL and the AD9826.
For the communication I use the SPI interface of the TM4C123GXL. The SSI Rx and Tx are connected via a 3 kOhm resistor.
The AD9826 requires the following timings.
With the SPI…

Johannes
- 207
- 2
- 11
1
vote
3 answers
Problems reading a signal with a MCU (TM4C123GXL) input pin
I'm tring to read a signal generated by an op. amp. with a microcontroller through an input digital pin. All signals I'm working with are DC.
The op. amp. is connected to a light sensor so that it outputs 0V when the sensor is shaded and between 4.8…

Martel
- 1,213
- 6
- 20
1
vote
2 answers
Problem I2C reading RA8875 using TM4C123
I have been working with I2C protocol to create some code for the RA8875 (see for I2C from page 67) using a Tiva board (TM4C123, I2C chapter from page 997), and I was able to paint in the display or writing text, but I am struggling when I want to…

Javier
- 21
- 4
1
vote
1 answer
Timers in TM4C123G not working
I wanted to use timers in TM4C123GH6PM (in TIVA C series TM4C123G Launchpad evaluation kit). So I decided to use GPTM TimerA0 in periodic timer mode. I defined the address of the registers of GPTM and followed the steps given in the section 11.4.1…

user3219492
- 793
- 4
- 14
0
votes
1 answer
What does "Ethernet PHY Layer 0 Present" mean in TM4C123's datasheet?
I was looking for MCUs that have Ethernet capabilities (ethernet controller) built in. I came across the datasheet of TM4C123GH6PM MCU, which talks about the "EPHY0" bit in one of its registers, which indicates whether the "Ethernet PHY layer 0 is…

Christianidis Vasileios
- 2,645
- 2
- 9
- 32
0
votes
1 answer
TM4C123GXL Tiva launchpad: Hardware Fault when debugging in Keil Microvision
I got a weird problem last night. Here is a simple program that uses pin PA7 to drive a LED:
#include
#include
#include "driverlib/sysctl.h"
#include "inc/tm4c123gh6pm.h"
void PortA_Init(void){
volatile unsigned long…

Nicholas Humphrey
- 109
- 5
0
votes
0 answers
SPI Bit bang to enable/read/write EEPROM from TM4C123GXL
I have checked a few bit bang posts here but still couldn't figure it out.
The datasheet of the EEPROM is at: Datasheet of FT93C66A
I tried to interface with SPI but to no avail, so I decided to use bit bang instead. The MCU runs at 50MHz so I also…

Nicholas Humphrey
- 109
- 5
0
votes
0 answers
Tiva C microcontroller to DYNAMIXEL servo (UART to RS485)
I am really struggling to establish communication between Tiva C TM4C123GH6PM microcontroller to use Dynamixel servo. Here is the circuit where MAX485 converts UART TTL signal to RS485. This servo has a protocol structure for communication. link for…

Raj Bhatt XP
- 1
- 2
0
votes
2 answers
I2C slave pulls down SCL while doing nothing
I have an MCU (Texas Instruments tm4c123gh6pm) in which I have configured an I2C slave device. I have taken 3.3V from the MCU pin that provides them and connect them to two 4.7 kOhm resistors (to make the pull-ups). I have tried with 2 1.5V…

Martel
- 1,213
- 6
- 20
0
votes
0 answers
How to read BMP280 "chip_id" using the Tiva TM4C123G SPI communication interface?
Am trying to read the chip_id of the BMP280 Pressure/Tempeture sensor using the Tiva TM4C123G Launchpad thought the SPI communication protocol.
To begin with let me provide some back ground info and technical details.
Inventory:
Tiva TM4C123G…

Alex Roman
- 1
- 1