greeeg 460 Posted November 3, 2011 Share Posted November 3, 2011 Wow that looks really nice. I've played around with those OLEDs before the only issue I had is that you can't read back data when using SPI. Which rules out using a lower cost MSPs (G2231) Thanks. There are two spi modes.. 3 wire and 4 wire. Robg is trying to get 4-wire working in his4ch Voltmeter project. You can read back data in the 4 wire mode. Is there any reason you want to read back data? Correct me if I am mislead, I've only worked with the (older?) SH1101A controllers. However don't you have to write data to the display in banks of 8 pixels at a time? A problem if you want to set or reset individual pixels. The 3 wire SPI mode only appears to place the value of the D/C pin into the MSB of a 9 bit packet. However I just found something promising in the datasheet: " Quote Link to post Share on other sites
RobG 1,892 Posted November 3, 2011 Share Posted November 3, 2011 ...There are two spi modes.. 3 wire and 4 wire. Robg is trying to get 4-wire working in his4ch Voltmeter project. You can read back data in the 4 wire mode. Is there any reason you want to read back data?... You can read only in parallel or I2C mode, SPI does not support reads. Quote Link to post Share on other sites
darkwing 0 Posted November 3, 2011 Share Posted November 3, 2011 I had 1 of 3 in my cart, when they all went bye bye. When will a new batch become available? Thanks Quote Link to post Share on other sites
bluehash 1,581 Posted November 3, 2011 Author Share Posted November 3, 2011 Sorry you could not get yours. You should be good in two weeks. Make sure you sign up for a reminder email when it is back in stock. Quote Link to post Share on other sites
EngIP 31 Posted November 3, 2011 Share Posted November 3, 2011 Congrats on making HaD! With that level of exposure I bet you could have had 100 made, and still sell out! Quote Link to post Share on other sites
RobG 1,892 Posted November 4, 2011 Share Posted November 4, 2011 zeke, larsie, bluehash and 3 others 6 Quote Link to post Share on other sites
bluehash 1,581 Posted November 4, 2011 Author Share Posted November 4, 2011 What can I say Rob. I feel all warm and fuzzy inside. Amazing work Thanks! Quote Link to post Share on other sites
bluehash 1,581 Posted November 9, 2011 Author Share Posted November 9, 2011 Rob, For this to work with the 2553's USCI... does the CS or the D/C pin go to the UCB0STE. I've wired it to the the STE pin to the OLED's CS through a solder jumper. Quote Link to post Share on other sites
RobG 1,892 Posted November 9, 2011 Share Posted November 9, 2011 You could use UCxSTE for CS or keep it the way it is. The 3 things that have to happen to make it work with 2553 are: 1. connect oLED's D/C to MCU 2. swap P1.6 with P1.7. USI's SDO is on P1.6, but USCI's UCB0SIMO is on P1.7 (this is why I go overboard with jumper headers on my boosters) 3. pull oLED's BS0 low. Am I missing anything? Quote Link to post Share on other sites
bluehash 1,581 Posted November 9, 2011 Author Share Posted November 9, 2011 Am I missing anything? Don't thinks so. 1. Making board compatible with both 2452 and 2553 using solder jumpers 2. CS, D/C, SCLK and DIN + Vcc and GND are brought out to headers so they can connect externally to other MCUs if people want. Thanks Rob for your input. Quote Link to post Share on other sites
MattTheGeek 99 Posted November 11, 2011 Share Posted November 11, 2011 Suggestion. How about adding a 20 pin MSP430G or two shift registers so we can access the parallel bus? That way, We can read the VRAM back. Quote Link to post Share on other sites
bluehash 1,581 Posted November 11, 2011 Author Share Posted November 11, 2011 Parallel bus was tested, but why would you want to read video data back? Quote Link to post Share on other sites
MattTheGeek 99 Posted November 11, 2011 Share Posted November 11, 2011 Parallel bus was tested, but why would you want to read video data back? so we could perform bitwise operations on it? (On the smaller memory devices that can't have a video buffer) Quote Link to post Share on other sites
greeeg 460 Posted November 12, 2011 Share Posted November 12, 2011 The datasheet an rob have said that i2c allows read back. would save the cost of extra ICs. A bit more complicated in code but shouldn't be to hard. Quote Link to post Share on other sites
MattTheGeek 99 Posted November 13, 2011 Share Posted November 13, 2011 The datasheet an rob have said that i2c allows read back. would save the cost of extra ICs. A bit more complicated in code but shouldn't be to hard. Yes, it would save a chip or two, but the I2C bus is slow, and requires a large code overhead. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.