
blue minerals
Members-
Content Count
7 -
Joined
-
Last visited
About blue minerals
-
Rank
Noob Class
-
I am using a 80 mhz tiva tm4c123 in energia. I want to use the QEI velocity register by loading the QEI LOAD register. There must be a system clock clocking this register. What is the frequency to the qei timer? (what register determines the frequency this module)?
-
does energia support tiva register names?
blue minerals replied to blue minerals's topic in Energia - TivaC/CC3XXX
Analog-to-Digital Converter Run Mode Clock Gating Control (RCGCADC), offset 0x638 must be enabled before reading or writing adc registers. So if you don't do this, it hangs. It may be that other sections need to be enabled before read or writing. -
I would like to write and read tiva registers in energia, but it crashes on the register name below. Does energia support this? the "inc/tm4c123gh6pm.h" file contains #define ADC0_SSFIFO3_R (*((volatile uint32_t *)0x400380A8)) #include "inc/tm4c123gh6pm.h" // ti register names #include "inc/hw_adc.h" #include "Wire.h" void setup() { Serial.begin(9600); unsigned long reg = ADC0_SSFIFO3_R; // compiles but crashes when running it }
-
I am moving from Arduino to the Energia 10 stellarpad/tiva and what worked there doesn't work here. The Serial.println("inByte"); won't print in the serial window. Later on, in the loop portion, it will print. void setup() { // start serial port at 9600 bps: Serial.begin(9600); Serial.println("inByte"); // doesn't print }
-
I am moving from Arduino to the Energia 10 stellarpad/tiva and what worked there doesn't work here. The Serial.println("inByte"); won't print in the serial window. Later on, in the loop portion, it will print. void setup() { // start serial port at 9600 bps: Serial.begin(9600); Serial.println("inByte"); // doesn't print }