
terjeio
Members-
Content Count
145 -
Joined
-
Last visited
-
Days Won
27
Everything posted by terjeio
-
Are you Tom777?
- 1 reply
-
- lcd display
- tft display
-
(and 1 more)
Tagged with:
-
Here is my interrupt driven QEI implementation - not a Energia library but may provide some ideas? The code is not 100% reliable for the MPG_GetPosition() function though - interrupts should be disabled during the memcpy call... Terje
- 5 replies
-
- interrupts
- tm4c123gxl
-
(and 1 more)
Tagged with:
-
Library required for 2.2" Adafruit LCD with ILI9340C driver.
terjeio replied to AsadRehman's topic in Energia - TivaC/CC3XXX
For details about the bare LCD panel it is perhaps best to contact ILI? Another option could be to dismantle a LCD panel from the carrier board to see where the signals are routed and if there are any additional components underneath it. -
Library required for 2.2" Adafruit LCD with ILI9340C driver.
terjeio replied to AsadRehman's topic in Energia - TivaC/CC3XXX
Schematic for one of my designs incorporating a LCD panel attached. MOSFET is for switching backlight. KiCad design files available from my GitHub (MultimediaCenter). You may also use the Tiva C LaunchPad schematics as a starting point (I did). controller.pdf -
Original CNC BoosterPack layout improved, shorted a bit and more ground pins made available for simpler wiring. A second version has also been made aimed at Trinamic TMC2130 drivers in SPI mode. This sports a MSP430G2553 used as a SPI <> I2C bridge and for driver monitioring (overtemperature etc). Shortened PCB means that two may now be mounted on LaunchPads with dual BoosterPack connectors - allowing up to 6 axes to be driven. GrblHAL support for Trinamic version nearing completion for MSP-EXP432P401R. Terje
-
Good try - inserting (malicious?) links in posts is not nice of you. Spammer. 3rd time and you're gone?
-
It could be due to running out of RAM, try with the 2553 that came with your board kit as it has four times more RAM - but still not a lot.
-
You mean the CCS Cloud ? - access requires registration, and worked well with Firefox when I tried it a while back. But then I do not think TIs site is in beta so maybe not...
-
@biza : You mean you do not have room for all the glyphs in a large font? The Reddman font generator is nice in that respect as you can select which glyphs to generate, eg. only the numerals. I have done that in one of my projects, I had to adjust their width though - to make them monospaced.
-
I have added support for the H. Reddmann font format to some LCD and OLED drivers, font files are easy to create from TrueType fonts. IIRC enabling H. Reddmann font support for the monochrome OLEDs requires enough memory for allocation of a frame buffer, thus limiting the range of usable MSP430 variants.
-
@venkatesh223 The TI SDKs are downloads, I do not know if the individual examples are available for browsing online. However, there is no SDK driver/example for the MSP432P401R that I am aware of. IMO the connection diagram you posted above should be correct. A couple of issues I had: microSD does not have the same pinout as a regular (large) card. I could not access a 64GB card as the FatFS driver I used did not support exFAT. So perhaps these questions are relevant for your problem: What size and type is the SD card(s)? Did you try more than one card,
- 15 replies
-
- sdcard msp432p401r
- sdcard
-
(and 1 more)
Tagged with:
-
@zeke : SD cards are rated for 3.3V (1.8V for some - with 3.3V init), 5V will kill them? Lately I have accessed cards via FatFS on MSP432E401Y and TM4C1294 LaunchPads with power supplied from the BoosterPack header without problems. Up to 500mA can be supplied via the LDO on the MSP432P401R LaunchPad, and I believe enough is left for a SD card (draw is typ. 20-100mA according to wikipedia). The code I used was from the TI SDKs.
- 15 replies
-
- sdcard msp432p401r
- sdcard
-
(and 1 more)
Tagged with:
-
MSP432P401R: changing the base frequency of the cpu
terjeio replied to neorus's topic in Energia - MSP
In a CCS project the file system_msp432p401r.c in the project folder contains a configuration (#define __SYSTEM_CLOCK) and corresponding code for setting 5 different frequencies: 1.5, 3, 12, 24 and 48MHz. I do not use Energia so I do not know how it is done there. -
A new design is now up on my Github account, cheaper laser cut acrylic case and 3D printed "laser head". Some info on Hackaday as well.
- 5 replies
-
- PCB
- MSP430G2553
-
(and 2 more)
Tagged with:
-
MSP432P401R: changing the base frequency of the cpu
terjeio replied to neorus's topic in Energia - MSP
From the datasheet: "fMCLK Frequency of the CPU and AHB clock in the system(5) 0 - 48 MHz" Overclocking may be possible, read up on how to configure the clock section to find out - but I guess it is not advisable to do so. Depending on your application you may be able to use LPM - current consumption down to 25nA possible per the datasheet. In active mode: 80 μA/MHz. -
Driver code for a few boards is available from my github account. A PCB design with reduced size allows two boards to be mounted to the EK-TM4C1294XL LaunchPad providing up to 6 axes of control (needs to be verified). I have also added TCP streaming to the EK-TM4C1294XL LaunchPad but usure if I can publish the code due to the "viral" clause in many of TIs files - even the startup code 🙁. Grbl is released under GPL and I have a hard time understanding the legalese related to that... I am currently working on a DRO/MPG for my lathe with Grbl running on a MSP432, and the DRO/MPG code on a Ti
-
Did you debounce the switch signal with some kind of circuit first? If not I believe you need add a debouncer, possibly in code. MAX6816 is an easy to use chip but adds parts and cost to the design, doing it by code only needs some programming effort to make it work.
- 3 replies
-
- msp430g
- msp430g2553
-
(and 2 more)
Tagged with:
-
Protocol mismatch? Wrong modulation frequency? Hardware problem? Use a mobile phone camera to see if there is any activity out of the IR diode, assuming you are using one for transmission.
-
Try with C1 removed? Terje
- 5 replies
-
- msp430
- code composer studio
-
(and 5 more)
Tagged with:
-
The information can be found in the device datasheet and it depends on which pins you are connecting to, from figure 4.1: P3.3/UCA0TXD/UCA0SIMO P3.4/UCA0RXD/UCA0SOMI and P4.5/PM_UCA1RXD/PM_UCA1SOMI P4.4/PM_UCA1TXD/PM_UCA1SIMO It can also be inferred from table 3.1 - number of USCI channels. Channel A is listed with 2 instances, meaning x = 0 and x = 1 is available.
-
Design is now published on Github, driver code to follow when completed - some new features needs to be verified first. A Youtube video showing off the PCB and some additional parts is here: GRBL DRO & MPG Terje
-
As a part of my grbl port I added support for a Microchip 24LC16B 2K EEPROM a few days ago - the code is pure CMSIS and uses I2C polling so I do not know if it can be used with Energia. I did not get ACK-polling to work so I resorted to a delay for writing, maybe I will look into that later. The code is a bit "raw", there is no real support for handling abnormal conditions. /* eeprom.c - driver code for Texas Instruments MSP432 ARM processor for 2K EEPROM on CNC Boosterpack (Microchip 24LC16B) Part of Grbl Copyright (c) 2017-2018 Terje Io Grbl is free software: you ca
-
I think you first need to assess the signal quality at the output of the amplifier with an oscilloscope, to me it looks like that electrode contact may be bad or the electrodes may be misplaced (assuming the signal is not from a simulator). I would not expect this much noise in the output from the amplifier - IMO you need a far cleaner signal to start with before any analysis can be done, except perhaps be able to extract the heart rate.