Jump to content
43oh

fhs

Members
  • Content Count

    6
  • Joined

  • Last visited

About fhs

  • Rank
    Noob Class

Profile Information

  • Gender
    Not Telling
  1. Thanks. I will probably have to add that to my set of "personal standard includes and variables".
  2. Thank you very much, that is the solution. I unsuccessfully looked through the ROM User's guide trying to find an equivalent for SystCtlClockGet() for the TM4C129 series, i.e. something like "SysCtlClockFreqGet()". Thus, I added the frequency as a constant as you suggested, and everything works now:
  3. As my first "real" project on the TM4C129x series, I am trying to port my software for the Nokia 5100 LCD (originally written for the ATMega series). I seem to having issues setting the PWM bit rate. Here are the functions for setting up SPI on SSI3: #include "Nokia5110_LCD.h" // PORT K #define CS GPIO_PIN_7 #define RST GPIO_PIN_6 #define BACKL GPIO_PIN_4 #define DC GPIO_PIN_5 // private function prototypes void LCDWrite(uint8_t dc, uint8_t data); void Nokia5110LCDIni(void) { MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOQ); // used for SSI: tx, rx, clk MAP_SysCtlPeripheralEnabl
  4. I know what you mean -- same "issue" here...
  5. Thanks for the welcome, James. I predict that you are going to have fun with the Tiva C board.
  6. Hi there, yup, the term "legacy" is supposed to be an attribute for myself. Here's why: I started programming 6502s and 8080s (mostly in asssembly language) in the 1970s, wrote some code (assembly and FORTRAN) for "16-bit minicomputers" and microcode for an "image array processor" in the early 80s, then had a long gap not writing any code at all because I worked in quite a different field. In the 1990s, I returned to microcontrollers (primarily Atmel AVRs) for various hobby projects. Recently, I also based some projects on the Parallax Propeller (assembly language). For some projects, I us
×
×
  • Create New...