hybridfree/eevblog-posts huggingface dataset:
Tiva C launchpad - Page 1
Forum section: electronics / general

author: MirXas
author_rank: Newbie
timestamp: October 07, 2013, 01:10:17 pm
content: Hello everyone.Is there a website, where I can find projects, based on the previously mentioned launchpad ?And what's the difference between Stellaris and Tiva C launchpads ? Can I use Stellaris-based projects on my Tiva C ?Btw, sorry for my english

author: MirXas
author_rank: Newbie
timestamp: October 07, 2013, 02:05:27 pm
content: I don't understand most of the things written in the uC datasheet or the application notes..Maybe because I'm absolutely new to microcontrollersI'm trying to learn the standart (I assume) uC language C, but it would be very great to have a completed project at hand, because then I could "reverse engineer" that project and understand what every function means.I've done the "Project 0"- blinked the RGB LED and managed toCHANGE THE COLORSand theFREQUENCY OF BLINKING. Beleave me, that was my first success withuCprogramming.

author: chicken
author_rank: Frequent Contributor
timestamp: October 07, 2013, 02:22:39 pm
content: There's a somewhat active community around the Stellaris and Tiva C LaunchPads here:http://forum.stellarisiti.com/Quote from: MirXas on October 07, 2013, 02:05:27 pmYou might want to check out Energia, an Arduino clone for TI's LaunchPads (MSP430, Stellaris, Tiva C):http://energia.nu/

author: MirXas
author_rank: Newbie
timestamp: October 07, 2013, 02:36:37 pm
content: Woah, Energia seems very good from the first glance, thanks for the linkOff-topic:I'm starting to like this forumLooks like there are plenty of good people who are spending their time to help a newbie

author: dannyf
author_rank: Super Contributor
timestamp: October 07, 2013, 06:47:20 pm
content: QuoteIn that case, be prepared for a painful experience.I think energia or arduino would be a better choice for you.

author: synapsis
author_rank: Regular Contributor
timestamp: October 07, 2013, 07:28:54 pm
content: If you install TI's "TivaWare", there are examples included for flashing the LED, UART, USB, Analog, etc...
VHDL: 4-bit Adder Synthesis Error  - Page 1
Forum section: electronics / general

author: Abstr7ct
author_rank: Regular Contributor
timestamp: September 24, 2013, 09:59:16 pm
content: I've been training myself on VHDL for digital design in the last couple of days because I've a project this semester. Today, I tried to build a 4-bit adder to implement on Basys2 board from Xilinx. I created 2 separate modules, one to implement the 'sum and carry' functions for a 1-bit adder, and another one to utilize the first module to add 4 bits iteratively.The synthesis didn't go well and I got a few errors and warnings that I couldn't overcome. They're:QuoteI attached the whole project with the UCF file in a zip folder. I would be glad to see your lending hands. The version of the ISE design suite is 13.4.

author: Dongulus
author_rank: Regular Contributor
timestamp: September 24, 2013, 10:15:22 pm
content: No one wants to see your whole project, just give us the VHDL code.Looks like you need a semicolon after "end component" at line 51 in Add_4_Bits.vhd.

author: Abstr7ct
author_rank: Regular Contributor
timestamp: September 24, 2013, 10:38:09 pm
content: Yes, that's right, I forgot to add that tricky semicolon. Thanks for this one. The second problem that I'm facing now, is that I've problem with implementing the design on the Basys 2 board. I mapped the two 4 bit vectors on the 8 switches, the 4 bit sum outputs on 4 LEDs and 1 LED for the carry with the first carry, if there's one coming into in the first full adder, on one of the 4 buttons. However, none of the LEDs turn on whenever I make any addition. It's off all the time.Edit:OK, now it works fine and dandy. These ISE tools are complicated and tricky. It's easy to fall into simple errors that can take you hours to solve until you notice how easy it's, and sometimes just by deleting and adding the UCF file again!

author: Dongulus
author_rank: Regular Contributor
timestamp: September 27, 2013, 10:22:07 pm
content: The Xilinx ISE error messages can be somewhat cryptic and unhelpful compared to other IDEs.However, you must pay attention to the error messages because they often point you to the location even if they don't explain what the error is. In this case, I found that missing semicolon quickly because the message pointed me to line 53:Quote from: Abstr7ct on September 24, 2013, 09:59:16 pmSometimes, ISE will point you to a line that appears to have no problems. If this happens, check each line moving up from whichever line is giving you an error. Make sure you check spelling and check for "end" statements for ifs, cases, and processes.

author: NoNRG
author_rank: Newbie
timestamp: October 07, 2013, 04:46:54 am
content: Quote from: Abstr7ct on September 24, 2013, 10:38:09 pmYou can say that again. Make sure you really take a look at the project settings as well. When they aren't set correctly, errors can occur.
Hints for dual PICKIT3 MPLABX operation? - Page 1
Forum section: electronics / general

author: thutches
author_rank: Newbie
timestamp: September 26, 2013, 02:24:27 pm
content: I have two Pikit3's plugged in and properly registered to each of two projects that comprise a system of multiple PIC32 boards, one master PIC32 and 4 slaves interconnected by CANBUS. Generally everything works fine but I haven't figured out a way to display source files of the two projects in separate windows. As it is, each project has a file named main.c, etc. It is very difficult to manage not to incorrectly edit the wrong files. Are there any methods that I have overlooked for displaying the two projects in their own source window? If I could manage to run separate instances of MPLABX I suppose that would work as well or better but that doesn't seem possible either.What do others do in this case?Regards,Tim

author: lapm
author_rank: Frequent Contributor
timestamp: October 02, 2013, 06:12:20 am
content: Personally in such case i would either edit one project at time or get second laptop to run the other one.But what you could do is have source files open in separate editor, but that docent solve problem of having two projects open at same time.Can you combine the projects in to single project? Maybe in source flag that tells when ever its to compile host or slave... Conditional compile i believe is the term i'm looking here..After all quite big part of source code can be shared, example your CANBUS interface code, etc...

author: Skimask
author_rank: Super Contributor
timestamp: October 02, 2013, 06:24:19 am
content: As cheap as laptops (or desktops for that matter) are these days, is it even worth the hassle?

author: stoqnovst
author_rank: Newbie
timestamp: October 02, 2013, 01:40:43 pm
content: You can start multiple instances of MPLAB X by setting unique "userdir" for each instance.Make a copy of the MPLAB X icon, click properties and modify the target. Add --userdir <path>."C:\Program Files\Microchip\MPLABX\mplab_ide\bin\mplab_ide.exe" --userdir "d:\temp\mplabx-instance1"You can also, split the workspace by dragging the tab to the right middle side of the window.Also you can undock a window by right clicking on the tab.
Lattice announces MachXO3 cpld/fpga hybrid - Page 1
Forum section: electronics / general

author: marshallh
author_rank: Unknown
timestamp: September 26, 2013, 01:39:26 am
content: Seems they put on SERDES into a super low cost fpga. MIPI, PCIe, GbE. 3.125GThey still have the ECP4 in the works. It was going to be released last years on 65nm but was pulled and any trace was wiped off Lattice' website.From what I see it will launch coinciding with the release of Diamond 3.0Quote

author: marshallh
author_rank: Unknown
timestamp: September 26, 2013, 01:50:08 am
content: Seems Lattice' website is completely swamped. I was barely able to get on.Anyway I predict this will probably require Diamond subscription and licensing of the higher level IP layers to make the protocols work.The generic 8b/10b serdes may be there but it will just be exposed to the user logic in a PIPE-like fashion. Same with the ECP3, you need to license this functionality to use the protocols.Something they didn't mention is 3g SATA, which should be perfectly doable with the hardware they have. It's just different protocol-wise but shares the same PHY layer as pcie/usb3.
do you know a pretty VHDL & Verilog code beautifier ? - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: September 25, 2013, 08:19:33 pm
content: for C sources i am used to invokedev-util/uncrustify, which is able to make my source code prettier about indentationwandering if there is something similar to beautify VERILOG & VHDL's sources.thanks

author: c4757p
author_rank: Super Contributor
timestamp: September 25, 2013, 08:24:08 pm
content: Just use a proper editor that has auto-indentation... Out of the ones that you probably don't want to use... I regularly use vim and emacs, both of which will do this with damn near any source language, and given their age, I'm sure you can find a "modern" editor that does the same.

author: legacy
author_rank: Super Contributor
timestamp: September 25, 2013, 08:52:19 pm
content: it seems there is a VIMscriptfor VHDL

author: legacy
author_rank: Super Contributor
timestamp: September 25, 2013, 08:53:43 pm
content: andemacs vhdl mode, too

author: legacy
author_rank: Super Contributor
timestamp: September 25, 2013, 09:01:34 pm
content: has anybody triedSigasi? In case, what do you think (it is much more than a beutifier)

author: mrflibble
author_rank: Super Contributor
timestamp: September 26, 2013, 01:00:38 am
content: Quote from: legacy on September 25, 2013, 09:01:34 pmIf you use VHDL then sigasi is definitely worth trying. It does have some handy features. Too bad they don't do systemverilog.
Student needing a VHDL forum ?! - Page 1
Forum section: electronics / general

author: shanecy
author_rank: Contributor
timestamp: September 25, 2013, 02:59:42 pm
content: I'm taking a VHDL course and the book i'm using is just an introductory level text book. I am in the process of ordering a second text book that provides more detailed information in the language itself. However, when I took my C++ and Java classes I always had access to <cplusplus.com> and <www.javaprogrammingforums.com> for assistance in troubleshooting my code.I've done some searching for VHDL related forums and have found several but don't know exactly which one I should use. I'm using an Altera Cyclone IV DE2-115 and would want to register with a forum that would best assist me with any concerns/questions I might have with my code and board. Therefore, I wanted to hear if anyone might have a good suggestion.

author: mrflibble
author_rank: Super Contributor
timestamp: September 25, 2013, 10:23:53 pm
content: Not much of a VHDL user myself, but in general ... if you found some VHDL related forums could you list the ones you found so far? Might help another future person looking for the same.Or if you happen to stumble upon some awesome verilog resources you can also list those. Thanks.As for VHD, you could check this tutorial:http://www.asic-world.com/vhdl/tutorial.html

author: AlfBaz
author_rank: Super Contributor
timestamp: September 25, 2013, 11:04:08 pm
content: A couple of years back usenet newsgroup comp.lang.vhdl was a great resource filled with very knowledgeable people. It's not a place to ask noob questions and I don't know if they ignore yahoo or google groups posts so you may have to download a reader.

author: marshallh
author_rank: Unknown
timestamp: September 25, 2013, 11:53:04 pm
content: Jump in ##fpga on freenode irc
Lattice Semi's IP server is down.... - Page 1
Forum section: electronics / general

author: VA3SU
author_rank: Newbie
timestamp: September 25, 2013, 05:00:29 pm
content: Any way around this? Just trying to reload a ROM with new data. Lattice's web site is down as well.Regards,Kevin

author: free_electron
author_rank: Super Contributor
timestamp: September 25, 2013, 05:15:36 pm
content: and what could we possibly do about it ? Call Latticce and ask them ...

author: VA3SU
author_rank: Newbie
timestamp: September 25, 2013, 05:53:22 pm
content: What I meant by a way around it is a way to not contact the ip server when you are doing nothing more than updating a rom... I can see contacting the ip server when you are adding the rom in the first place but it seams silly to me to force you to have an internet connection and for them to have their server running when all I want to do is update the rom data.I thought that someone who was more familiar with the Diamond software to maybe know of a setting that could do such a thing.Kevin

author: marshallh
author_rank: Unknown
timestamp: September 25, 2013, 08:01:50 pm
content: Well, you have the option in the IP express to download the core locally before using it. That seemed to work for me.Maybe the problem is licensing?

author: VA3SU
author_rank: Newbie
timestamp: September 25, 2013, 09:53:21 pm
content: Thanks marshallh. I've had a look and I don't see that option so perhaps it is a licensing thing, I just have the free version. I will look again and see if I missed it.Take care,Kevin
FPGA Verification - Page 1
Forum section: electronics / general

author: Frank3point14
author_rank: Newbie
timestamp: September 20, 2013, 03:20:01 am
content: WellRecently i came to know about FPGA'sI've basic knowledge about themI 've used Xilinx ISE & Precision RTLNow for verification I heard that there is two method UVM & OVMAny one up to let me know that among them which one is popular or better...And also basic tutorial so that i could learn and understand those stuff ..!!!!!!!!!

author: mrflibble
author_rank: Super Contributor
timestamp: September 20, 2013, 05:49:34 am
content: If you're just starting, and have to choose between OVM & UVM, I'd say pick UVM. UVM is based on OVM, and is a bit more modern.As for tutorials etc, Doulos is pretty good IMO. See for example:http://www.doulos.com/knowhow/sysverilog/uvm/ovm-to-uvm/

author: Frank3point14
author_rank: Newbie
timestamp: September 21, 2013, 10:43:25 pm
content: THANKS>>it helps

author: Frank3point14
author_rank: Newbie
timestamp: September 21, 2013, 10:46:07 pm
content: Do u've any idea about SILOS..!!!!

author: mrflibble
author_rank: Super Contributor
timestamp: September 21, 2013, 10:59:32 pm
content: Nope, sorry. More of a Modelsim person...
Atmega16 AVR MCU TEA5767 Interface Control - Page 1
Forum section: electronics / general

author: brickman7
author_rank: Contributor
timestamp: October 05, 2013, 03:20:54 am
content: Does anyone have experience with the ATmega16 ATmeg?a32 TEA5767 TDA1308 ISP 5V FM Radio AVR Development Board MCU. If so, do you think that the FM ic scanning can be controlled by the interface and if so, what would I need to do this. I have some programming experience although mainly with databases but I understand function and routine procedures. And am willing to take any and all advice and help that I can get!!!!!Thanks!Mason Burns

author: Bored@Work
author_rank: Super Contributor
timestamp: October 05, 2013, 06:19:05 am
content: The guy's original thread is here.https://www.eevblog.com/forum/projects/fm-receiver-schematic-tda7000-with-continuous-scan-loop/msg299829/#msg299829Note how he is going balistic when someone dares to ask what this is for and didn't spoon feed him.

author: brickman7
author_rank: Contributor
timestamp: October 08, 2013, 03:09:27 am
content: Ballistic? Define that! I'm hungry!
Definition of "Bit Bin" not found in web search? - Page 1
Forum section: electronics / general

author: Paul Price
author_rank: Super Contributor
timestamp: September 23, 2013, 03:00:07 am
content: Cannot find the definition of "Bit Bin" on the web. I thought many knew its meaning, legions.Where do all the stored bits go when a computer is turned off?

author: Crazy Ape
author_rank: Regular Contributor
timestamp: September 23, 2013, 03:12:07 am
content: Quote from: Paul Price on September 23, 2013, 03:00:07 amYou forgot to add "/dev/null" to your search, try again.

author: Stonent
author_rank: Super Contributor
timestamp: September 23, 2013, 03:46:59 am
content: File.013

author: edpalmer42
author_rank: Super Contributor
timestamp: September 23, 2013, 03:48:54 am
content: It's not "bit bin", it's "bit bucket". Perhaps a translation error?

author: dfmischler
author_rank: Frequent Contributor
timestamp: September 23, 2013, 03:50:10 am
content: Bit Bucket

author: free_electron
author_rank: Super Contributor
timestamp: September 23, 2013, 04:36:49 am
content: We have special memories for that purposewww.ganssle.com/misc/wom1.pdf

author: Paul Price
author_rank: Super Contributor
timestamp: September 23, 2013, 10:17:54 am
content: But "Bit Bin" has such assonance!
cool code - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: September 22, 2013, 03:11:37 am
content: Code:Conference closing keynoteIn most disciplines built on skill and knowledge, from art to architecture, from creative writing to structural engineering, there is a strong emphasis on studying existing work. Exemplary pieces from past and present are examined and discussed in order to provoke thinking and learn techniques for the present and the future. Although programming is a discipline with a very large canon of existing work to draw from, the only code most programmers read is the code they maintain. They rarely look outside the code directly affecting their work. This talk examines some examples of code that are interesting because of historical significance, profound concepts, impressive technique, exemplary style or just sheer geekines(video conference)http :// vimeo.com / 44792649have fun!

author: westfw
author_rank: Super Contributor
timestamp: September 22, 2013, 10:28:55 am
content: http://home.pipeline.com/~hbaker1/hakmem/hakmem.html
FPGA vendors & SystemVerilog support for low end devices? - Page 1
Forum section: electronics / general

author: mrflibble
author_rank: Super Contributor
timestamp: September 14, 2013, 10:43:22 am
content: See topic.What are your experiences with fpga vendor XYZ and their SystemVerilog support for their non-crazy-expensive fpga's? For example Xilinx does support SV with their new Vivado toolchain, buuuuut good luck using that for let's say a spartan-6.From what I gather Altera is a bit better at this. How aboutActelMicrosemi, Lattice, etc?

author: mrflibble
author_rank: Super Contributor
timestamp: September 14, 2013, 03:45:37 pm
content: Oh, to clarify, I mean support for synthesis here. Simulation support is somewhat less exciting.

author: marshallh
author_rank: Unknown
timestamp: September 14, 2013, 05:29:53 pm
content: Altera supports SV synthesis in all devices (because all devices use quartus II)Xilinx 7-series parts using Vivado support it to some extent. 6 series and below must use ISE which doesn't like SVLattice Diamond doesn't synthesize it. (Synplify Pro)Actel/Microsemi don't support it either, they also use Synplify Pro

author: mrflibble
author_rank: Super Contributor
timestamp: September 14, 2013, 05:44:28 pm
content: Thanks!Good to know Altera supports all devices. The lack of support on the xilinx side I know very well unfortunately.I am somewhat surprised that Lattice & microsemi don't support it though, precisely because they use Synplify Pro. And AFAIK Synplify Pro does support SystemVerilog asper this link. So did you try it and it didn't work? Because that would mean they're using a feature limited version of synplify pro, which would be a bit of a bummer.

author: marshallh
author_rank: Unknown
timestamp: September 14, 2013, 05:51:07 pm
content: Probably because the vendors didn't license out that feature from Synopsys

author: mrflibble
author_rank: Super Contributor
timestamp: September 14, 2013, 05:59:41 pm
content: While I understand the bean counter side of it, it's also a missed opportunity to differentiate themselves from oh let's say Xilinx. Or maybe they did a survey, and only the customers for larger devices really wanted SV, who knows.Personally I could do without the limitations of verilog-2001 as compared to SV.

author: free_electron
author_rank: Super Contributor
timestamp: September 15, 2013, 02:55:28 am
content: altera. no problem. ive used systemverilog ont heir cplds ! not a single problem.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: September 15, 2013, 09:52:36 am
content: I'm sure you could buy SV from Synopsis if you really wanted to use it

author: mrflibble
author_rank: Super Contributor
timestamp: September 15, 2013, 01:08:04 pm
content: Agreed, but fullblown synopsis tends to be a wee bit more expensive than a vendor specific version.
TI's latest dirt cheap MCU eval board - Page 1
Forum section: electronics / general

author: superUnknown
author_rank: Regular Contributor
timestamp: September 14, 2013, 12:25:56 am
content: Couple of links if you're curious:It's got a lot of bang for thirteen bucks!TI's product page

author: JoeO
author_rank: Frequent Contributor
timestamp: September 14, 2013, 02:35:35 am
content: Quote from: superUnknown on September 14, 2013, 12:25:56 amOut of stock!

author: superUnknown
author_rank: Regular Contributor
timestamp: September 14, 2013, 02:43:37 am
content: Quote from: Pippy on September 14, 2013, 01:16:01 am$16 from Mouser? ($38 from Element 14?! Ben Heck shows ain't worth it!) Dirt cheap for the features, to be sure. Easy IDE, libraries and examples?

author: westfw
author_rank: Super Contributor
timestamp: September 14, 2013, 05:24:35 am
content: If you're wondering, like I was, where the USB connector for the target processor is...The "top half" of the board includes a USB HUB chip. So both the target cpu and the easyFET chip are accessed via the same connector!I guess that's nice...

author: dannyf
author_rank: Super Contributor
timestamp: September 14, 2013, 11:29:07 am
content: QuoteIt is highly subjective if an IDE is easy or not; and what's easy to me isn't necessarily easy to you, and vice versa. Both keil and IAR are very easy to use in my view for example.As to libraries: 1) you can always roll your own; and 2) the ST library is very flexible and fairly proven at this point;Examples? There are tons of them.Yes, the STM32F4 boards are tough to beat in terms of performance / price.

author: Unknown
author_rank: Unknown
timestamp: September 14, 2013, 11:43:05 am
content: The MSP430 is a 16-bit micro. They're not trying to compete on performance. Performance is irrelevant for many embedded applications, which could easily be handled with an 8-bit micro running at a few MHz.

author: mrflibble
author_rank: Super Contributor
timestamp: September 14, 2013, 02:41:57 pm
content: As already stated, they are not really trying to compete. The above MSP430 is nice for low power applications, the STM32F4 is nice for when you need higher performance.
Question about Terasic fpga acedmic pricing - Page 1
Forum section: electronics / general

author: nowlan
author_rank: Frequent Contributor
timestamp: September 12, 2013, 06:35:10 am
content: Hello,First post here.Been lurking a couple of months, but decided to register.I am currently studying ICT at university.However, I have been interested in learning fpga for a long time.Whenever I ask about fpga, im told they only teach dsp, so possibly asking wrong people.---I was looking at terasic boards earlier.Prices seem all over the place.de0-nanoterasic web price: $79terasic web academic: $59adafruit $99.95digikey.com.au $86.25au.mouser.com $122.96au.element14.com $115.66ebay: $120us+$20---Where do students buy for academic pricing?Do all students order from the Terasic website?I heard postage was expensive, so wanting to hear if any students knew better options, such as University bookshops or via lecturer/group buy etc.---From terasic website:Q: How can I purchase Altera DE2 board with academic price, $269?http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=16&No=197#q2Australian distributor?http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=12&No=20#AustraliaBRAEMAC Pty Ltd.

author: Dongulus
author_rank: Regular Contributor
timestamp: September 13, 2013, 08:58:42 pm
content: I don't understand the problem. The instructions at the Terasic website for academic purchases look straight forward. I clicked the "Agreement" button for the DE0-nano board and it added it to my cart. I didn't continue because I don't want to create an account and I'm not a student. Where are you lost?The academic price offered directly from the manufacturer or some close business partner has always been the best deal for whatever I have looked at. I worked exclusively with Xilinx FPGAs in college and I bought my development boards from Digilent who also offered academic discounts. The academic price is a strategy both of these giants use in a competition for your favor. They take slim profit margins to try to get you used to their products and tools so that you become more inclined to design with their products later when you become a full-fledged engineer.Take advantage of academic discounts while you can. Also, available for some software. I recommend eventually getting Matlab (for ~$100USD compared to >$10,000USD for a professional seed). Also, joining IEEE as a student gets you some free software from Microsoft ( look up MSDNAA ).
UDOO information - Page 1
Forum section: electronics / general

author: firehopper
author_rank: Frequent Contributor
timestamp: September 13, 2013, 11:02:26 pm
content: apparently udoo's are supposed to be under full production now.and they posted the schematics for rev D.Schematic:http://download.udoo.org/files/schematics/UDOO_REV_D_schematics.pdfwebsite:www.udoo.orgI dont work for them.. I did preorder one, I missed the kickstarter.
MC44817 Help - Page 1
Forum section: electronics / general

author: joblessalex
author_rank: Contributor
timestamp: September 12, 2013, 04:27:34 am
content: I've been messing around with an old tuner which says it is IIC compatible. I'm assuming that is the wire library in arduino, right? So I made up a test program to pull all device IDs since one wasn't listed and got nothing. I assumed it didn't need one and went on to build a basic bit of code to program it to 101.100MHz which is a complete failure. Anyone out there that can tell me what I'm doing wrong?Datasheet:http://pdf1.alldatasheet.com/datasheet-pdf/view/167872/MOTOROLA/MC44817.htmlCode:Code:#include <Wire.h>void write_to_pll() {digitalWrite(12, HIGH);// Wire.beginTransmission(); //Maybe needed?Wire.write(1111); // bufferWire.write(0000010011111); // frequencyWire.endTransmission();digitalWrite(12, LOW);}void setup(){pinMode(12, OUTPUT);Wire.begin(); // initialise the connectionSerial.begin(9600);write_to_pll();delay(10); //add a small delaySerial.println("Memory written");}void loop(){}

author: dannyf
author_rank: Super Contributor
timestamp: September 12, 2013, 11:00:44 am
content: QuoteWhy assume when you have the datasheet right there? Read it and you will know that why your assumption is wrong.

author: joblessalex
author_rank: Contributor
timestamp: September 12, 2013, 12:19:39 pm
content: Quote from: dannyf on September 12, 2013, 11:00:44 amRead it again and still see IIC with 18, 19, or 34 bit protocol... Where are you seeing any different?

author: c4757p
author_rank: Super Contributor
timestamp: September 12, 2013, 01:39:55 pm
content: QuoteQuoteThere is no mention in the datasheet of the I2C protocol: start bits, stop bits, address, etc. It appears to be onlyelectricallycompatible with the I2C bus. "Data, clock and enable" seems more like SPI to me. I'd say it's just a poorly written datasheet. Not an I2C device.

author: free_electron
author_rank: Super Contributor
timestamp: September 12, 2013, 02:27:28 pm
content: Its just a stupid shift register. Shift in 18 bits and done.Datasheet is pretty clear to me.

author: dannyf
author_rank: Super Contributor
timestamp: September 12, 2013, 02:33:55 pm
content: QuoteI think you are right. It is probably similar to those "parallel spi" protocols,.

author: joblessalex
author_rank: Contributor
timestamp: September 13, 2013, 02:36:28 am
content: Being a new player, I would have never guessed that.... Thanks for the help guys!

author: dannyf
author_rank: Super Contributor
timestamp: September 13, 2013, 10:25:25 am
content: QuoteWhy guess if you can read about it for sure?
2D Array in Arduino - Page 1
Forum section: electronics / general

author: tiofilo75
author_rank: Contributor
timestamp: September 11, 2013, 05:20:47 pm
content: I am trying to print a 2D array but for some reason when I print an element higher than 0x7F the serial print appears to overflow. Here is an example:I define my array as :unsigned int BANK={{0x00,0x70},{0x01,0x85},{0x01,0x85},{0x00,0xe0}};if I do a serial print of the second element of each array I will get the following:70FFFFFF85FFFFFF85FFFFFFE0I don't know what is going on, why do I get the FFFFFF? Can anyone please shed some light. Thanks.

author: dannyf
author_rank: Super Contributor
timestamp: September 11, 2013, 06:18:49 pm
content: they are being promoted to signed long.

author: andersm
author_rank: Super Contributor
timestamp: September 11, 2013, 06:20:32 pm
content: It looks like somewhere the numbers are being interpreted as signed 8-bit numbers, which are then being extended to 32-bit numbers.
if someone want to implement or modify an interpreter, here it is "little" - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: September 11, 2013, 04:31:50 pm
content: it is not completed, it is still in very proof alpha version, but it begins to work. Its name islittle, and it looks like pascalCode:Program halloBeginans = 1var1 = 1var2 = 2var3 = 3Print var1, "\n"Print var1, var2, var3, "\n"Print "hallo world", "\n"Print var1, var2, var3, "\n"Print "hallo world, var[]={", var1, var2, var3, "}", "\n"PrintLn "hallo world, ", "& ", "byebye"Output ansEndCode:Running HALLOVAR1= 1VAR1= 1 VAR2= 2 VAR3= 3hallo worldVAR1= 1 VAR2= 2 VAR3= 3hallo world, var[]={VAR1= 1 VAR2= 2 VAR3= 3 }hallo world, & byebyeans = ANS -> 1Bye bye... Thank you for using me!git repoCode:git clone https://code.google.com/p/little-interpreter/improve, have fun: enjoy!

author: legacy
author_rank: Super Contributor
timestamp: September 11, 2013, 04:33:01 pm
content: Code:Program test_primeBeginInput nc = 2is_prime = 1While (c < n / 2) & is_primeBeginIf n % c == 0Beginis_prime = 0Endc = c + 1EndOutput is_primeEnd

author: dfmischler
author_rank: Frequent Contributor
timestamp: September 11, 2013, 04:38:25 pm
content: Is there a language specification, or a formal grammar, or user documentation? What advantages does this interpreted language provide? Is the author eventually going to put comments in the interpreter source code?Why would I choose this language implementation over, say,VALGOL?

author: legacy
author_rank: Super Contributor
timestamp: September 11, 2013, 05:00:18 pm
content: Quote from: dfmischler on September 11, 2013, 04:38:25 pmnot yet, just the source code, in C++, plus examples of real usage (examples folder)Quote from: dfmischler on September 11, 2013, 04:38:25 pmFrom my point of view it is the second thing i have written with what i learn from "dragon book".Also it is very similar to Pascal, which makes it "nice" (if you like pascal)Quote from: dfmischler on September 11, 2013, 04:38:25 pmcode should be improved, it is working but it needs to be optimized, lines removed, etcAt the end it will be documented.Quote from: dfmischler on September 11, 2013, 04:38:25 pmehehe, Little is a toy, an home work i did for my university, but it may be used to learn or as start up.cool VALGOL!
[suggest] flash, eprom, eeprom, programmer - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: September 09, 2013, 12:33:35 pm
content: i need to program {flash, eprom, eeprom}in parallel and serial bus {spi, i2c}in 3.3V and 5V rangei have to immediately program- EN25Q64 (SPI)- MX25L8005PC-15G (SPI)- 24Cxx (I2C)- 27040 and similar 27xxx (PARALLEL)What do you think aboutgalep5?It is incredibly full of features (jtag, too) but it costs ~$400the "EZP2010" is a low cost SPI Programmer only for {24Cxx / 25Cxx / 93Cxx / 25L}it costs $20, what do you think about it ?"TRUE USB GQ-4X" should be an universal EEPROM FLASH programmerit is developed by "MCUmall" and it is $100hereit is the device support listlet me know!

author: mariush
author_rank: Super Contributor
timestamp: September 09, 2013, 12:50:38 pm
content: You can grab a pic16 or pic18 and a max232 or ftdi chip for usb to serial and make your own programmer for a few dollars... or you can get a pic18 dev board with the pickit3 for about 40-50$.spi and i2c are easy... a microcontroller has no problems doing them. Parallel is also easy with a bit of trickery (shift registers or something if needed)

author: legacy
author_rank: Super Contributor
timestamp: September 09, 2013, 01:22:12 pm
content: no time to toy with tools, i have other problems to solve, so i'd like to buy something is assumed "working" out of the box for the most flash vendor arounds

author: legacy
author_rank: Super Contributor
timestamp: September 09, 2013, 01:24:58 pm
content: Also eprom needs particular hight voltage and peak timing programming, not all the flash are CFI, so ... it is easy to say "it can be done", a lot of time to make it really running. Also you have to think about the Application user interface, etc etc

author: rsjsouza
author_rank: Super Contributor
timestamp: September 09, 2013, 02:48:34 pm
content: Although I personally don't have one, checkDave's reviewof the TL866 - it seems to be very decent for the price.
PIC18 F... interrrupt on RB0 - Page 1
Forum section: electronics / general

author: Spock
author_rank: Newbie
timestamp: September 29, 2013, 10:28:55 pm
content: Hi all,After few hours of fighting maybe someone tell me why this is't working:I have 44-PIN demo board (the same Dave made bug soldering video). I'm attemting to run edge based interrupt on SW1 connected to RB0.Here is my code:Code:TRISD = 0x0;PORTD = 0x0;//setup RB0 interruptTRISBbits.RB0 = 1; //RB0 inputINTCON2bits.INTEDG0 = 0; //falling edgeINTCONbits.INT0IE = 1; //INT0 enableINTCONbits.INT0IF = 0; // clear Int flagei();// interrupt ISRvoid interrupt low_priority ISR() {if (INTCONbits.INT0IF == 1) {LATD0 = ~LATD0;INTCONbits.INT0IF = 0;}}I checked with DMM that after pushing button voltage drops from 3,3 ->0 V.Any idea what is wrong ? Debugger is showing that IOCON INT0IF is not "1" even if I push button.

author: Rufus
author_rank: Super Contributor
timestamp: September 29, 2013, 10:35:53 pm
content: Quote from: Spock on September 29, 2013, 10:28:55 pmA PIC18F in a 44 pin package - doesn't narrow it down much does it?You should check the other possible functions of the pin you are using and make sure they are not enabled. Pins with analog functions have the analog function enabled from reset for example.

author: dannyf
author_rank: Super Contributor
timestamp: September 29, 2013, 10:44:45 pm
content: Quote1. You aren't helping your cause by providing half of the story;2. Read the interrupt tree in the datasheet and you will understand your issue.

author: Spock
author_rank: Newbie
timestamp: September 30, 2013, 09:22:55 am
content: @RufusYou made my sleep goodIt was default AN12 A/D input.It was ~1 A.M when I finish my fight with this, and start this thread.When you post your response (got smartphone ring) I thought damn why I wasn't got this.I walk to my lab, launch MPLAB and check - it worked, check datascheet where is it written with * on bottom of one pages :/Thanks@dannyfI tested with and without low_priority, and enabled prioritizing interrupts - stil not working. It was default pin mode ..

author: dannyf
author_rank: Super Contributor
timestamp: September 30, 2013, 10:31:08 am
content: QuoteAll the PICs (low-end) are configured like that.
Open-BLDC, ESC controller for brushless motor - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: September 14, 2013, 10:48:31 am
content: The projectOpen-BLDCis a good stat up, unfortunately their PCB are too complicated for hobbies. Wandering if someone has realized and sold these, or similar solution.Do you know an open hardware & software Esc Controller ?

author: samofab
author_rank: Regular Contributor
timestamp: September 26, 2013, 06:52:42 am
content: Here is a good one (much better and under real development):https://code.google.com/p/esc32/

author: legacy
author_rank: Super Contributor
timestamp: September 26, 2013, 02:29:22 pm
content: very pretty, thank you =D

author: mazurov
author_rank: Frequent Contributor
timestamp: September 26, 2013, 04:21:54 pm
content: Allegro makes BLDC controller chips. You read the datasheet, choose suitable MOSFETs and build. I made one some time ago capable of 100A/phase ->http://www.circuitsathome.com/diy-2/advanced-brushless-dc-motor-controller
Use an arduino to flash W25Q16 flash memory chip? - Page 1
Forum section: electronics / general

author: ben7
author_rank: Contributor
timestamp: September 06, 2013, 12:18:27 pm
content: Hello folks,So, I have this dead toshiba satellite L645D-S4036 laptop. Repair shop says the motherboard is bad. It doesn't POST, and there is no HDD activity, but it turns on, the fan runs, and the cpu and gpu get warm as usual. I have taken it apart and I haven't found any bad mosfets, or missing/incorrect voltages.BUT, this isn't really a repair thread - I actually want to know if, and how, I can flash a new BIOS onto the flash memory chip, as a last attempt at fixing the computer. Specifically, using an arduino.I have the skills to desolder the chip, and hook it up to an arduino. I can also buy a new one if needed.To be exact, it is a winbond W25Q16 flash memory chip.I've looked online, and some folks have done this, BUT, I can't understand what they are talking about, or the programs/software they are using.If anybody knows about doing this, your help is appreciated!-Ben
MSP430 watch for $29.99 - Page 1
Forum section: electronics / general

author: Stonent
author_rank: Super Contributor
timestamp: September 06, 2013, 07:01:08 am
content: http://e2e.ti.com/blogs_/b/msp430blog/archive/2013/09/01/back-to-school-sale-part-3-ez430-chronos.aspxI know the 433MHz one is still available. Has some neat features, temp sensor and acellerometer.

author: ElektroQuark
author_rank: Unknown
timestamp: September 06, 2013, 09:03:08 am
content: CLICK!

author: Stonent
author_rank: Super Contributor
timestamp: September 06, 2013, 08:33:43 pm
content: I thought it might have been posted but I couldn't find it. Oh well.
arduino i2c slave - Page 1
Forum section: electronics / general

author: carbon dude oxide
author_rank: Frequent Contributor
timestamp: September 01, 2013, 09:36:31 pm
content: hello, i am having trouble finding some form of code example which turns my arduino into an i2c slave which just receives 2 bytes of data at a time.i currently have this:Code:#include <Wire.h>#define A 7#define B 6#define C 9#define D 12#define E 13#define f 10#define G 11#define P 8#define D1 5#define D2 4#define D3 3#define D4 2String displays[] = {"x", "x", "ABCDEF", "ABCDEF", "ABCDEFP", "X"};void setup() {// put your setup code here, to run once:pinMode(D1, OUTPUT);pinMode(D2, OUTPUT);pinMode(D3, OUTPUT);pinMode(D4, OUTPUT);pinMode(A, OUTPUT);pinMode(B, OUTPUT);pinMode(C, OUTPUT);pinMode(D, OUTPUT);pinMode(E, OUTPUT);pinMode(f, OUTPUT);pinMode(G, OUTPUT);pinMode(P, OUTPUT);Serial.begin(9600);Wire.begin(2); // join i2c bus with address #2Wire.onReceive(requestEvent) // register event}void loop() {// put your main code here, to run repeatedly://Serial.println(',', DEC);for (int i=5; i>1; i--) {digitalWrite(2, LOW);digitalWrite(3, LOW);digitalWrite(4, LOW);digitalWrite(5, LOW);digitalWrite(A, LOW);digitalWrite(B, LOW);digitalWrite(C, LOW);digitalWrite(D, LOW);digitalWrite(E, LOW);digitalWrite(f, LOW);digitalWrite(G, LOW);digitalWrite(P, LOW);if (displays.indexOf('A') > -1) {digitalWrite(A, HIGH);}if (displays.indexOf('B') > -1) {digitalWrite(B, HIGH);}if (displays.indexOf('C') > -1) {digitalWrite(C, HIGH);}if (displays.indexOf('D') > -1) {digitalWrite(D, HIGH);}if (displays.indexOf('E') > -1) {digitalWrite(E, HIGH);}if (displays.indexOf('F') > -1) {digitalWrite(f, HIGH);}if (displays.indexOf('G') > -1) {digitalWrite(G, HIGH);}if (displays.indexOf('P') > -1) {digitalWrite(P, HIGH);}digitalWrite(i, HIGH);delay(1);}}void requestEvent(){Wire.receive("hello "); // respond with message of 6 bytes// as expected by master}void test(){byte icstart = B00000000;byte icend = B00000000;while (Wire.available() > 1){icstart = Wire.receive();icend = Wire.receive();}}}can someone help me with this please

author: redben
author_rank: Contributor
timestamp: September 04, 2013, 09:09:17 am
content: If you want a bit more help, you'll probably have to describe a bit more your project and your problem with it.Apparently in this piece of code you don't even share data via I2C bus.Are you trying to display things on LCD ? "if (displays.indexOf('A') > -1) {digitalWrite(A, HIGH);}"What are the two devices you try to connect together ?If it is a pc it is probably much simpler to establish a serial connection via usb.

author: dannyf
author_rank: Super Contributor
timestamp: September 06, 2013, 10:01:44 pm
content: "an i2c slave which just receives 2 bytes of data at a time."The easiest would be to use an interrupt.
MSP430FG4618 experimenters board RF1, RF2 power supply - Page 1
Forum section: electronics / general

author: Alex9
author_rank: Contributor
timestamp: September 09, 2013, 02:47:14 pm
content: I am limited in connection by RF1 and RF2 connectors of the experimental board. It isn't possible to find their characteristic to select to itself the necessary 2 outputs for my sensor (ground and power). Can you help me ? I looked for information in board and microcontroller documentation. I entered into search the words signed at pinches of these connectors on the diagram of a board. The power supply range of my sensor is from 2.5Vto 5.5V (there is a built-in stabilizator) and supply current 35-60 ?A. I read this docshttp://www.ti.com/tool/msp-exp430fg4618.Thank you.
looking for a bit LCD 12" to be used with FPGA - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: August 30, 2013, 02:32:45 pm
content: hi guysi am looking for a bit LCD of 12" 1024x768x32 at least that could be driven by an FPGA about signals properly handled by the LVDS stuff. Anybody knows a good laptop's LCD to be used this way ?Anybody knows if there is a kit about the LVDS stuff ?regards

author: marshallh
author_rank: Unknown
timestamp: August 30, 2013, 05:46:13 pm
content: You have two options,1. Generate the LVDS directly with the FPGA and run through an external driver to drive the display cable.2. Generate RGB+syncs and use a LVDS converter to drive the display cable.There are ebay sellers in china that will sell you 1x of almost any display. Consult panelook's parametric search to find a model number given your size and resolution.

author: legacy
author_rank: Super Contributor
timestamp: August 30, 2013, 06:07:50 pm
content: Any kit around about these options ?

author: mrflibble
author_rank: Super Contributor
timestamp: August 30, 2013, 06:10:27 pm
content: Thanks for thatpanelook website. Learn something new every day.

author: legacy
author_rank: Super Contributor
timestamp: August 30, 2013, 07:36:21 pm
content: I am afraid of the LVDS converter ... very high frequency signals

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: August 31, 2013, 12:09:01 pm
content: There are some older 12" panels up to about 800x600 that have a parallel interface - these are really easy to drive via LVDS.There is a parallel to LVDS add-on board for the Beagleboard, which may be a ready-made solution1Kx768 LVDS direct from a FPGA like the Spartan6 that has serialiser support is probably not that hard - I'm sure makers of FPGAs with this stuff will have examples and appnotesBear in mind that at this sort of resolution, getting enougg memory with sufficient starts to become nontrivial unless you're doing simple non memory-bitmapped stuff
Graphic LCD Library for Nokia 5110 LCDs - Page 1
Forum section: electronics / general

author: andyg
author_rank: Regular Contributor
timestamp: June 16, 2012, 11:04:11 am
content: Hello all,I've been using the cheap Nokia 5110 display for various personal projects in recent times and have been maintaining a library for use with various microcontrollers. There had always been a plan to release the code, that perhaps someone else might find it useful. Well, today was the day. If anyone is interested, you can check it out here:http://micro.gock.net/software/glcd-graphic-lcd-library/It currently supports Atmel AVR 8-bit and NXP LPC111x ARM Cortex-M0.Regards,Andy

author: Psi
author_rank: Super Contributor
timestamp: June 16, 2012, 11:19:54 am
content: Any idea if it works with the 128x128 nokia lcds from Nokia 6100, 6610, 7210, 7250, and 5100Edit: actually those appear to use a Epson S1D15G10 or Philips PCF8833 controller.

author: andyg
author_rank: Regular Contributor
timestamp: June 16, 2012, 11:37:13 am
content: QuoteOnly works with PCD8544 controller based monochrome LCDs at the moment.

author: typeglob
author_rank: Contributor
timestamp: June 16, 2012, 01:07:15 pm
content: Merci!

author: vzoole
author_rank: Regular Contributor
timestamp: March 24, 2013, 05:33:55 pm
content: Is it support only hardware SPI?Regards,Zoli

author: migsantiago
author_rank: Frequent Contributor
timestamp: September 01, 2013, 05:38:11 pm
content: Cool!I think I will copy some of your drawing functions hehe The library I adapted for the Raspberry Pi only draws textRaspberry Pi Nokia 5110
I'm currently messing around with psoc 5lp dev kit - Page 1
Forum section: electronics / general

author: firehopper
author_rank: Frequent Contributor
timestamp: September 01, 2013, 06:24:00 pm
content: Having fun messing around with the hardware functions.. with no code at all, atmmananged to get the pwm and counter module to output a 4mhz squarewave. I can adjust the frequency sorta. it goes all the way down to 180 hz on the pwm side. (being fed a 12mhz clock) if you change the clock in, you can get all sorts of frequencys

author: TopLoser
author_rank: Unknown
timestamp: September 01, 2013, 06:57:58 pm
content: Yes they are useful and interesting devices. Curiously enough I've got several CY8CKIT-001B for sale, they come with daughterboards for the PSoC-1, PSoC-2 and PSoC-5http://www.cypress.com/?rid=37464I think they've been used in a demo session, but are complete and working. Nice way to learn about the PSoC series, LCD, RS232, USB, odds and ends plus a breadboard area.Anybody interested at £60 plus shipping PM me please.
pic micro kypad to analouge converts. - Page 1
Forum section: electronics / general

author: mj21
author_rank: Regular Contributor
timestamp: August 21, 2013, 05:57:23 pm
content: hi guys,i am trying to build a programmable power supply for my lab, now i have made the CC/CV circuit and the regulator bit of it. now instead of using POTS or rotary encoders or even buttons to move the voltage or current up and down i was thinking of using a key pad to just input the voltage i want.i have a rough idea what it might need but i a bit lost in how to do it. the circuit for CC/CV is based on op-amps and a voltage reference, same kinda design of Daves power supply. but instead of LT3080 i am using LM317. varying the reference voltage to the non-inverting of the op-amps creates a voltage at the other end of the circuit which in turn changes the voltage on the ADJ pin of an LM317 with a pass transistor for current gain.so in theory if my key pad had kind of a digital to analogue converter with the reference voltage being the same as my reference from the CC/CV circuit is can out put a voltage straight to the non-inverting input of the op-amp and change the voltage accordingly.can some one please let me know how i go about doing something like this?