hybridfree/eevblog-posts huggingface dataset:
X2 capacitor across line - what defines suitable capacitance? - Page 1
Forum section: electronics / projects

author: bd139
author_rank: Super Contributor
timestamp: November 16, 2017, 01:44:30 pm
content: I've got an HP E3630 here with a 100nF X2 cap across the line. A good old RIFA of death. So it's being replaced. No one has any stock of exactly the replacement part.Ergo, I'm looking at substitutions. What defines a suitable capacitance in these circumstances?Quick analysis of what's in there: 100nF, I assume that as these are across line that the reactance at 50Hz is ~31K. Yet reactance at say 20KHz is 80R so it'll just sink any HF interference across the line?But if I stick a 150nF in, reactance at 50Hz is ~21K. Yet reactance at 20KHz is 53R. Is that 50Hz reactance too low? What's the limit or suitable range here?Edit: I looked in AoE but there's no discussion of suitable selection.

author: macboy
author_rank: Super Contributor
timestamp: November 16, 2017, 03:09:39 pm
content: It is just an interference suppression capacitor, so don't worry too much about the exact value. I've seen anywhere from 47 nF to 2.2 uF (which is a rather large box). Make sure it is in fact X2 rated, and the appropriate voltage as well. Find something with the right lead pitch so that it mounts to the board neatly and safely.The little bit of capacitive reactance at 50 Hz is not a bad thing, it helps counteract the inductive reactance of the transformer, usually giving a slightly better overall power factor.

author: bd139
author_rank: Super Contributor
timestamp: November 16, 2017, 03:16:25 pm
content: Cool thanks for info. Priority was X2 rated and 20.3mm pitch so

author: T3sl4co1l
author_rank: Super Contributor
timestamp: November 16, 2017, 08:24:22 pm
content: I'd say, within a factor of 2.Line filters are not usually very carefully constructed, so I would be surprised if this level of error would cause problems.More change, and you're really starting to fundamentally change the filter. Large values can have other consequences, like inrush current and reactive power.Tim
X2Y capacitor and Common mode choke together - Page 1
Forum section: electronics / projects

author: CopperCone
author_rank: Super Contributor
timestamp: January 15, 2018, 11:38:14 pm
content: I want to make sure the CM noise from my DDS chip is completely filtered. I would like to use both a common mode choke and I am looking at X2Y capacitors.This is to prevent HF from entering the instrumentation amplifier (the clock of the DDS is 200MHz), and getting onto the power rails. I suspect it might have some emissions in the GHz range. The circuit has some DC components, and I don't want DC RF rectification errors occuring because the DDS is leaking into the precision DC area of the circuit (which has some high gain stages).Here is a comparison of the CM choke and the X2Yhttp://www.x2y.com/publications/cmcreplace.pdfI am concerned that the common mode choke might make things worse by imbalancing the impedance of the two lines because its wound with what I believe to be not identical trace lengths, so I was thinking that maybe better performance all together could be had by just using the X2Y capacitor with carefully balanced lines. Am I right with this, or will using both work somewhat better? Also, I have trouble thinking about the X2Y capacitor. Should it be placed before or after the choke? I figure after the choke, but I wanted to be sure.They focus on how its better then a choke, but I wonder what the two together will lead to? I figure it's not as simple as superimposing the two attenuation curves, particularly at higher frequencies.Will it be better to use the two, or just use the X2Y capacitor with very carefully matched traces.Also, the CM choke is like 4mH, while the X2Y cap would target much higher frequencies. Will they interfere? Can the "modeing" of the common mode choke so large at high frequencies be so bad as to make the HF situation worse?Can there be some kind of common mode resonance? The thought occurred to me to put a matched resistors between them to dampen things. I don't know how well this would work out at high frequencies. I'm scared of wrecking havoc at higher frequencies.

author: fourtytwo42
author_rank: Super Contributor
timestamp: January 16, 2018, 07:43:10 pm
content: I am not sure how helpful this is because your post doesnt tell me where this filter is going BUT a common way to avoid resonances is to use several components with different self resonant frequencies rather than one.
x8 eeprom source - Page 1
Forum section: electronics / projects

author: Alex Eisenhut
author_rank: Super Contributor
timestamp: February 06, 2019, 01:27:19 am
content: anyone have a source of cheap but known real 28C128 or 28C256 parallel EEPROM in PDIP-28 package?The ones on eBay look not quite right but what do I know.This is for reviving vintage computers... pretty soon if I buy from Digikey or Mouser I'll end up paying more than the computer itself cost...

author: JFJ
author_rank: Regular Contributor
timestamp: February 06, 2019, 01:18:11 pm
content: AT28C256-15PU EEPROMs are available from Newark for $6.50 each:https://www.newark.com/microchip/at28c256-15pu/parallel-eeprom-256kbit-dip-28/dp/68T4339

author: Alex Eisenhut
author_rank: Super Contributor
timestamp: February 07, 2019, 03:15:33 am
content: Yeah but by the time I buy 10 pieces and add shipping I'm looking at a new computer...I'm just wondering if there's a known-good vendor of these 1.50$ EEPROMs. Googling each ebay vendor doesn't bring good news.

author: RomDump
author_rank: Regular Contributor
timestamp: February 07, 2019, 04:43:20 am
content: Quote from: Alex Eisenhut on February 06, 2019, 01:27:19 amDon't know where in Canada you are. If you are in Ontario check outSayal.

author: edavid
author_rank: Super Contributor
timestamp: February 07, 2019, 07:05:05 pm
content: Is this for EPROM replacement, or are there vintage computers that had these designed in?
XBEE 3 pad antenna question - Page 1
Forum section: electronics / projects

author: jealcuna
author_rank: Contributor
timestamp: June 17, 2021, 04:17:26 am
content: I am in a new design for xbee 3 micro version. They are 3 sub-version that basically change the antenna output, these are smd antenna, ufl connector, and pad antenna. In order to make more flexible with the volatility market i want to make a pcb that support these 3 sub versions. for pad antenna I will add a sma connector, but a question arise me. Is there a problem if I leave the trace for sma connector and then use the sub version with ufl or smd antenna?I am not sure if xbee3 already disable the pad antenna output in ufl or smd antenna sub versions.
Xbee part numbers overview - Page 1
Forum section: electronics / projects

author: fozzyvis
author_rank: Regular Contributor
timestamp: September 10, 2013, 10:49:29 am
content: Hi all,I'm currently working on a project which involves XBee modules for wireless data transmission and was astonished by the staggering amount of versions of the modules.Even though quite a lot of descent info can be found about the different lines of modules, it's much harder to find the correct one when ordering them on-line. Even major on-line sellers seem to get parts and descriptions mixed up.As a reference for future projects and others running into the same situation I made a sheet covering most types and all their possible antenna configurations, with their corresponding part number. Might come in handy some time.http://dietervansteenwegen.wordpress.com/2013/09/09/xbee-serial-number-overview/

author: David_AVD
author_rank: Super Contributor
timestamp: September 10, 2013, 11:48:43 am
content: Bookmarked! I found the array of types somewhat confusing at first.

author: fozzyvis
author_rank: Regular Contributor
timestamp: September 11, 2013, 10:04:17 pm
content: Had the same feeling. Still think it's really a bit of a weird ecosystem somehow.Suppose there are reasons, but I can't understand why it isn't easier to find some kind of sheet like mine on the Digi site...

author: bombledmonk
author_rank: Regular Contributor
timestamp: September 12, 2013, 05:12:19 pm
content: Not exactly like yours, but this is from Digi's site.http://www.digi.com/pdf/chart_xbee_rf_features.pdf

author: fozzyvis
author_rank: Regular Contributor
timestamp: September 12, 2013, 08:13:24 pm
content: Great! Somehow I missed that one. I've added a link to that sheet as well.
XBee Pro replacement - Page 1
Forum section: electronics / projects

author: kcs
author_rank: Regular Contributor
timestamp: January 28, 2016, 11:00:10 am
content: I am looking for a XBee 868 Pro replacement as it is EOL now. Are there any substitutes in the market? I am primarily interested in a long range, but I also want at least 9.6kbps data rate, hardware encryption, sleep mode, external antenna and of course it should be legal to use it in Europe.The only module that I found was one with a SX1272 onboard (LoRa). Has anyone tried it? Is it comparable with XBee Pro? Are there any other alternatives?

author: krapht
author_rank: Contributor
timestamp: January 29, 2016, 07:54:05 pm
content: Substitutes as in... pin for pin and firmware compatibility?I assume you've already looked throughhttps://www.sparkfun.com/pages/xbee_guide...

author: kcs
author_rank: Regular Contributor
timestamp: January 29, 2016, 10:03:30 pm
content: I don't care about pin configuration, firmware etc. I am looking for a module that offers similar or longer range - that's my main objective, I have also mentioned some other features like encryption, legal use within Europe etc.I have seen that website, it talks about modules dedicated for the USA market, hence only 900 MHz frequency modules are listed. XBee does not offer any direct replacement for its 868 Pro version. I can only get 868LP, which is low power-short range module.

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: January 30, 2016, 12:43:47 am
content: I used the sx1231 in a product but it was bought as a radio module from Hope RF.915khz and it passed Aus radio compliance testing after some argument.It doesn't have the self organising mesh network like the XBee did (some did anyway) , but it was a lot less greedy on power.Radio wise it was fine, gave me all what the spec sheet said it would even with my random pcb antenna.I would be basing my decision more on the chips protocol implementation and what software you would have to write.
Xbee questions; network size and pwm outputs - Page 1
Forum section: electronics / projects

author: David_AVD
author_rank: Super Contributor
timestamp: July 15, 2013, 11:17:51 am
content: I've done a lot of searching and reading but still unsure of a couple of things;1) If I want to build a "one to many" network (each slave only talks to a master) with say 50 slave nodes, do I configure the slaves as routers and still have just the one coordinator (master)? I have read that the coordinator can only keep track of 8-10 devices, so does that mean that some (8-10) of the routers will be talking directly to the coordinator and the rest will be talking to the coordinator via those first routers? I don't need the sleep mode so am not forced into using the slaves as end points BTW.2) Do the current S2 Xbees support PWM output? I'm reading a book at present ("Building Wireless Sensor Networks") and it mentions that the 2 (labelled) PWM outputs don't work with current firmware. The book's last revision is early 2012 however, so not sure if that's still the case?
XBee roaming? - Page 1
Forum section: electronics / projects

author: konfu
author_rank: Contributor
timestamp: May 26, 2013, 09:26:54 am
content: Hi folks,I am trying to understand XBee/Zigbee for quite some time now but something I just can't find an answer on:Given a Zigbee network based on Digi's XBee modules. One coordinator, four routers, one end-device. The network is build over a larger area. The coordinator right in the middle and each router around him to extend the range. just as one in the north, one in the south, one east and one west. The covered area is large enough the end-device can not see more than two other devices at the same time.If I now move the ED around. Move it from the range of router 1 (its parent) to the range of router 3. can it still reach the coordinator? so does the ED support something like roaming?From what I've read so far: when the ED joins the network in the 1st place it will pick a parent (either a router or the coordinator, whatever is closest). If that parent is not in range anymore but another router is. what is going to happen? can the ED and the coordinator still talk to each other? what if the ED slept for a minute and wakes up in the range of another router only?I know I could just go out and buy some modules to just test it. But I don't have the money yet so I want to understand Zigbee before actually spend money on it.
Xbee S2C Modem Issues - Page 1
Forum section: electronics / projects

author: oldfortune_
author_rank: Contributor
timestamp: September 01, 2020, 11:19:41 am
content: Heya,I have been using a group of 10 Xbees for a swarm robotics project and a few of the Xbees have started playing up. The Xbees are setup in a star configuration, all chatting back and forth with a single coordinator. After a few days of successful operation/testing some 2 of the Xbee radios stopped streaming data. It is unclear at this stage whether this is a fault of our hardware design, or the Xbees themselves, hence why I am asking for some expert opinion.The behaviour of the Xbees when they failed was as follows :- after initial failure, the Xbee could no longer communicate to the coordinator- the Xbee could still be discovered by the XCTU software and could be recovered- after factory resetting the device and configuring it in the network, it is able to communicate with the coordinator- this communication has a extremely limited throughput going from the end-device to the coordinator (0.01kbs)- the communication however still performs reasonably from the coordinator to the end device (14.56kbs)We are wondering if it is possible that our hardware has somehow damaged the UART or the radio module in the XBee, if so would there be a way of determining if this is the case ? Or has anyone seen this kind of behaviour before?We are using the following Xbee units:- Part : XB24CAPIT-001 (Rev D)- Firmware : XBEE24C 802.15.4 TH 2003Any input on this strange behaviour would be super helpful! I feel like I have already exhausted many of the standard debugging techniques for this kind of issue, so some fresh thoughts would be rad!Best,Sean.

author: coromonadalix
author_rank: Super Contributor
timestamp: September 01, 2020, 11:32:42 am
content: I you see them thru xctu, the uart should be good, its been a while since ive played with them,if i recall, i used them in a mesh network, i had some problems with firmwares updates, had to put the "old" one ... in some of them, but i think they weren't good, ditched them.Maybe its only 2x of them who gets bad, if you exchange them, how long does it work ?Have you contacted their tech support ?

author: oldfortune_
author_rank: Contributor
timestamp: September 01, 2020, 11:52:00 am
content: Thanks for the responseI was thinking potentially it could just be an issue with two faulty units, but I think that it would be quite unlikely out of a group of 10 units. I've played around with a few different firmware options but that doesn't seem to help out the throughput issue. I was thinking it could also be a damaged modem, but the fact that the performance is only effected in one direction made that seem unlikely (I think they do some handshaking in the protocol?)If I exchange the units the system will work fine, for now this has worked for a number of days. The system needs to be really reliable though, so I'd like to get to the bottom of what has happened to the two faulty units.Yer I've got in touch with Digi, yet to get a constructive response.Thanks again.
Xbox 360 Controller Steering Wheel Mod - Page 1
Forum section: electronics / projects

author: w3amd
author_rank: Regular Contributor
timestamp: June 09, 2017, 01:13:19 am
content: Hi all,I'm trying to use one of these controller PCBs to convert it into a steering wheel, and gas pedal brake.I've read online that the 16-bit analog sticks are actually 10k potentiometers but when I have it apart it doesn't seem to measure like this but there may be stray resistance from somewhere throwing it off. Can anyone confirm these are indeed 10k pots?TIA,John
Xbox 360 Power supply chip - Page 1
Forum section: electronics / projects

author: bifferos
author_rank: Regular Contributor
timestamp: May 19, 2025, 11:19:02 am
content: Hi All,Just wondering if anyone can tell me what this chip is, looks like CP030SD, C11333A1F, and I was wondering if that symbol is Diodes Incorporated. I found a ref to CP030SD but no datasheet.It seems PS_ON the power activation signal from the xbox goes via 100 ohm res to pin 5 of this chip. The signal from the xbox is a momentary 3.3v pulse when the power button is pushed. Pin 5 remains at 0v otherwise.So would pin 5 be a mosfet gate? Something else?thanks for any help!
XC2S50-5FGG256AMS verses  XC2S200-5FGG256AMS - Page 1
Forum section: electronics / projects

author: daveyk
author_rank: Frequent Contributor
timestamp: June 09, 2024, 03:43:51 pm
content: Hello there,I ordered (2) XC2S50-5FGG256AMS FPGAs (for repairs). These came from China (EBAY before I realized Digikey still had stock - duh).What I received was XC2S200-5FGG256AMS.The XC2S200 has more gates and memory than the XC2S50 does. I DO NOT PROGRAM THESE THINGS, I am only service. I have to send the board to mini-micro-stencile in California to have the part changed. You figure with shipping both ways, I have about $200 in expenses.I assume the XC2S200 will not just work if I were to have those placed on a board that had a XC2S50-5FGG256AMS? The code is loaded during a firmware update process though a controlling PowerPC module. I assume the FPGA does not just ignore the parts of it that are not used? I am fairly certain they both have the same number of balls (256).I started a return process, which they will probably tell me to keep them as they send the correct ones.In the meantime, for a LOT more money, I will order the last two of the correct that Digikey has.Dave

author: xvr
author_rank: Frequent Contributor
timestamp: June 09, 2024, 07:45:19 pm
content: Quote from: daveyk on June 09, 2024, 03:43:51 pmYou right - it will not work.QuoteIt will not help. In theory it is possible to regenerate FPGA image file for XC2S200 part and load it, but no guaranty that it will work out. First of all image file will be larger than for XC2S20. And the second concern - there is no guaranty that pinout of XC2S20 and XC2S200 is compatible (even in the same package). Newer version of Xilinx/AMD FPGA has compatible pinouts through same series, but I'm not sure that Spartan 2 had
XC8 C code confusion - Page 1
Forum section: electronics / projects

author: djsb
author_rank: Super Contributor
timestamp: February 24, 2013, 03:23:01 pm
content: Hi,Can anyone tell me how this line of code works// configure portTRISIO = ~(1<<1); // configure GP1 (only) as an outputand this line as well// turn on LED only if button pressedGPIO = GPIObits.GP3 ? 0 : 0b000010;// if GP3 high, clearGP1,//else set GP1I'm just reading through the free sample Gooligum electronics mid range PIC tutorials and I can figure out how the above lines work.Hope someone can help.Thanks.DavidPS I know I could trawl through one of my C books. Just dont have one handy at the moment. I will do some more research myself, Promise

author: Unknown
author_rank: Unknown
timestamp: February 24, 2013, 04:18:24 pm
content: This is really basic C knowledge. << is the shift left operator, 1 << 1 is 0b00000010. ~ is the inversion operator, ~0b00000010 is 0b11111101. I assume that a 1 in TRISIO means that particular pin is an input, and 0 is an output. So setting the second bit to 0 configures the second pin (GP1) as output.The ternary operator a ? b : c returns b if a is true, and c otherwise. So as the comments states, it will set GPIO to 0b00000000 (all pins including GP1 low) if GP3 is high, and to 0b00000010 (GP1 high) if it is low.

author: IanB
author_rank: Super Contributor
timestamp: February 24, 2013, 04:44:00 pm
content: IMHO, "1<<1" is a really dumb way of writing "2" (or "0b00000010" if you are explicitly bit twiddling). But it has the advantage in more general cases like "1<<n" of documenting that you are setting bit n (counting from 0) to 1.Writing "~0b00000010" is a safer way of inverting the bits than writing "0b11111101" as the compiler will automatically extend the 1's on the left to 0b1111111111111101 (0xFFFD) if you happen to be dealing with a 16 bit quantity (or even 0xFFFFFFFD in 32 bits).

author: Unknown
author_rank: Unknown
timestamp: February 24, 2013, 04:48:36 pm
content: I don't really mind 1<<1 for consistency with 1<<7. Any compiler worth using will optimize it anyway. What's not so nice that it also clobbers all of the other I/O pins. TRISIO &= ~(1<<1) is much nicer, in my opinion, although slightly harder to read.

author: djsb
author_rank: Super Contributor
timestamp: February 24, 2013, 05:00:13 pm
content: So all the first statement is doing is shifting a 1 one (or should that be two places, where does it come from?) place to the left or setting bit 1 to 1. Then the ~ is inverting ALL the bits so wee are left with 0b11111101. Is that right?

author: IanB
author_rank: Super Contributor
timestamp: February 24, 2013, 05:12:29 pm
content: << is a bit shift operator. It shifts the whole word to the left, not just individual bits.So, considering only eight bits, we have 1 = "0000 0001". If we shift that word one place to the left by writing 1<<1, then we now have "0 0000 0010" (notice that a new "0" appeared on the right and a "0" fell off the end on the left). Discarding the "0" that fell off the end, we are left with "0000 0010".
Xgecu TL866II+ and T48 EEPROM write problems - Page 1
Forum section: electronics / projects

author: AgentLintZeal
author_rank: Newbie
timestamp: March 13, 2023, 10:03:46 pm
content: This issue was resolved. Chock it up to several mistakes by a stupid human.Take note that the T48 has the ZIF socket pins the normal way around (pin 1 away from the lever) whereas the TL866II+ has them reversed (pin 1 by the lever).Also read the EEPROM type CAREFULLY when selecting the profile in the software... you may find that a single letter can make all the difference.
XGecu TL866II PLUS programmer and GLS29EE010 EEPROM - Page 1
Forum section: electronics / projects

author: Darphi
author_rank: Newbie
timestamp: September 09, 2018, 03:43:46 am
content: Gday people,I recently purchased a XGecu TL866II PLUS programmer and so far it's done everything I've needed. But Just now I found that I can't program the Greenliant GLS29EE010 EEPROM.Would anyone know if there is a part in the device support list that is compatible? If not is there a way of adding the part definition?

author: bson
author_rank: Unknown
timestamp: September 10, 2018, 03:45:13 am
content: PDIP-32? If so, try pretending it's an SST‎ SST27SF010...

author: Darphi
author_rank: Newbie
timestamp: September 10, 2018, 06:35:07 am
content: Thanks 'bson' I just got a reply from their support and you're correct. They said to select the sst29ee01 and then remove the tick from 'Check-ID'. I did this an it worked a treat.Thanks for your help
XGecu TL866II Plus programmer - old devices - Page 1
Forum section: electronics / projects

author: DeepLink
author_rank: Regular Contributor
timestamp: July 05, 2021, 10:43:02 am
content: Don't know if this is the right place, but here goesI need to program some old PLD types with my XGecu TL866II PlusLattice PALCE16V8Q-10JCThis type is not directly supported by the TL866II Plus (or the new T56)Is it possible to select another similar PLD type?Can a user "design" new devices in TL866II Plus?Anybody had success with XGecu forum? I see it is in Chinese, but there are several requests for support for extra devicesI've tried to select others devices, like Atmel ATF16V8BQ, Lattice GAL16V8, but it alwalys ends in failure "OverCurrent Protection !"My programmer:Firmware version: 04.02.126App Software Version: V11.00 Date : 6.4th.2021

author: coromonadalix
author_rank: Super Contributor
timestamp: July 05, 2021, 02:21:30 pm
content: To add a new device you have to know timings / voltages etc ...The tl866 software was not reversed to my knowledgeand yes sometimes selcting another brand for certain parts may work ... or disabling device ID check(s) ...For extra devices support you may wait a long time ... it depend of the developpers supportYou have to find another programmer who already have the PAL xxxx number you need to program.

author: GhostDog
author_rank: Newbie
timestamp: July 31, 2021, 02:40:31 am
content: QuoteThis is correct, however there is an open source project as an alternative program on UNIX systems.See here:https://gitlab.com/DavidGriffith/minipro/I don't know how viable it would be to modify and add a new "entry" in this project, but it's probably worth a shot!

author: retiredfeline
author_rank: Frequent Contributor
timestamp: July 31, 2021, 04:13:02 am
content: I seem to recall someone wrote in another thread that the device specific support is actually in the MCU program, and that the Windows and Linux frontends are just that, frontends.

author: BrokenYugo
author_rank: Super Contributor
timestamp: July 31, 2021, 04:50:17 am
content: Supposedly all the burn profiles and whatnot are in the programmer, there is no option in the firmware for loading custom profiles or slow bit banging over USB.
Xilinx XC3000 Configuration/Software - Page 1
Forum section: electronics / projects

author: NorthernWing
author_rank: Contributor
timestamp: October 01, 2021, 05:32:33 pm
content: Preface: I know these are 28-year old parts. This is purely for entertainment purposes.I've recently come into possession of a crate of several hundred Xilinx XC3042A-7PC84C FPGAs. Now I was planning on using a couple in some small projects I have going on, but these things predate my professional FPGA experience by two decades and were discontinued in XCN08011 in 2010. Can't find any info on them, and not about to bother Xilinx with a question as dumb as using a part from the '486 era in a hobby project.It sounds like the latest toolchain that supports the XC3000 was XACT 6.0 - can anyone confirm this? Their website claims Foundation 3.1i can handle it but I see other comments disagreeing. I'll have to hunt down a source for either one anyway, any info is welcome.I see configuration is going to be an adventure... I'm hoping whatever toolchain will just give me a binary bitstream to dump to a 5V PROM, but are there any old designs/documents anyone's aware of which could demonstrate a functioning configuration mode/strapping/etc?

author: ale500
author_rank: Frequent Contributor
timestamp: October 02, 2021, 12:30:05 pm
content: Foundation 3.3i seems to be able to synthesize for the XC3000 series, at least there are some files with xc3000 in their names...There are some helpful docs and binaries here:http://ebook.pldworld.com/_semiconductors
xilnx cable not detected  - Page 1
Forum section: electronics / projects

author: electros6
author_rank: Regular Contributor
timestamp: February 12, 2017, 09:40:24 am
content: HI guys,I brought xilinx platform cable from waveshare. It works fine. recently when I connect the cable the impact says cable not detected. In device manager the cable is detected as xilnx cable. the status led is blue. can anyone tell me what is the problem. Thanks in advanceregardsBaskaran
XL4015 buck CC/CV with DAC input - Page 1
Forum section: electronics / projects

author: ifonlyeverything
author_rank: Regular Contributor
timestamp: June 22, 2025, 03:11:03 pm
content: I want to make an XL4015-based buck converter with CC/CV functionality, with the reference inputs provided by an external PWM DAC.I did find a reverse engineered schematic of eBay XL4015 CC/CV modules. My thought was to replace the TL431 circuitry with a DAC input. I tried simulating it in LTSpice with an LT1074 (similar switching speed, functionality?) and it oscillates once current limiting is induced. Adding a capacitor didn't seem to help. I'm also not sure how to implement voltage limit with a DAC. I thought maybe another diode-OR op amp but that also didn't work for similar reasons, as the voltage-limit oscillations mimic the current-limit oscillations. What am I doing wrong here? Why does the "real life" circuit work fine but the simulation oscillate horribly?
XL6007 used as dual rail supply without transformer - Page 1
Forum section: electronics / projects

author: HSPalm
author_rank: Regular Contributor
timestamp: November 03, 2017, 03:30:27 pm
content: Hello,I'm looking into making a dual rail supply which is only powering a PWM signal of +/-12V with very limited current needs.This circuit seems to far exceed my demands but I wonder how it works?https://www.aliexpress.com/store/product/No-Pin-3-11V-Positive-Negative-Boost-Converter-Step-Up-Power-Supply-Module-12V-Output-ADC/1829717_32826939640.html?spm=2114.12010615.0.0.10118ef6KFWVqAThedatasheetof the controller IC has an example of a dual rail supply configuration on page 7, but it includes a transformer with dual secondary taps. The circuit in the store only has a single power inductor.I will most likely buy a +/- 15V version and trace the circuit. I will use linear regulators on the outputs for better regulation.

author: Buriedcode
author_rank: Super Contributor
timestamp: November 04, 2017, 02:06:10 am
content: On that page you linked, you'll notice the asymmetrical current of the positive and negative outputs (700mA for positive, 150mA for negative) that tells me the output is from a charge pump, driven by the switching node. Its quite a common way to add a negative rail to a boost converter, as it only really requires two diodes and two caps, with an output of roughly the positive rail -2Vf where Vf is the forward bias drop of the diodes used, ~0.3V for shottky, and ~0.65V for silicon.It'll have an output resistance much higher than the positive rail, and won't be tightly regulate... so if you pull say 50mA from it, and your positive rail is set to 12V, you won't get -12V more like -9 (all depends!).But for low currents, its a fairly simple and clean way to get a negative voltage form a boost converter. At that price I don't think it will hurt to get one and test it.So, the short answer is, "charge pump", with an output of -12V - 2*-0.3V = -11.4V.Edit: fixed typo's, because otherwise I can't sleep!

author: HSPalm
author_rank: Regular Contributor
timestamp: November 05, 2017, 10:09:21 am
content: Aha, so that's what all the extra capacitance and the extra diodes are for. Thank you Buriedcode.

author: Skidlz
author_rank: Newbie
timestamp: April 02, 2022, 03:36:52 pm
content: Sorry, I know this is a very old thread. It showed up on google when I was trying to find more info about making dual rails with this chip though. So maybe others will stumble on it too.I drew a schematic for a similar board (DD1912PA) that uses this same XL6007 chip, and I figured something out about the transformer. It's not really a transformer! Or it doesn't have to be.You can use 3 separate inductors. Then it follows the generic SEPIC design:https://en.wikipedia.org/wiki/Single-ended_primary-inductor_converterI've attached the schematic I drew. It's basically the datasheet design.
XLSEMI XL4016 drop in replacement for 4015? - Page 1
Forum section: electronics / projects

author: smile
author_rank: Regular Contributor
timestamp: October 07, 2018, 01:25:18 pm
content: Can XL4016 be used as drop in replacement for the 4015?http://www.xlsemi.com/datasheet/xl4015%20datasheet.pdfhttp://www.xlsemi.com/datasheet/xl4016%20datasheet.pdfSeems like same pinout on both.

author: Jacon
author_rank: Regular Contributor
timestamp: October 07, 2018, 10:03:01 pm
content: Yes - as long as you use it with same output conditions.If those change, you should change some other parts (D1, L1, Cout, R's) accordingly...

author: smile
author_rank: Regular Contributor
timestamp: October 08, 2018, 09:55:30 am
content: The device is rated as 5A output, but for XL4015 that is the MAX, so I want to change it to XL4016. I can change diode if it's 5A to something like 8A too.

author: smile
author_rank: Regular Contributor
timestamp: October 08, 2018, 11:38:34 am
content: There is no way to change the L1 if I don't have a meter to measure what I've got?Datasheet calls for 47uH 12A??Would this workhttps://www.tme.eu/en/details/hci2114-470/smd-power-inductors/ferrocore/

author: Jacon
author_rank: Regular Contributor
timestamp: October 08, 2018, 09:11:10 pm
content: Sure

author: alexblade
author_rank: Newbie
timestamp: May 19, 2021, 10:41:02 am
content: Hi guys please help me understandwell known 4015/4016 boards from ali, will these boards maintain a stable output voltage (5V) if input not stable (voltage floats 11-14V) ?if no could you advise some chips/boards with this options (desired 4A w/o heat dissipation)

author: sleemanj
author_rank: Super Contributor
timestamp: May 19, 2021, 11:34:23 am
content: Quote from: alexblade on May 19, 2021, 10:41:02 amYes

author: alexblade
author_rank: Newbie
timestamp: May 19, 2021, 12:16:33 pm
content: really?or for ex:input 14V, I setup output as 5Vbut when input falling to 10V I probably get on output 4V?

author: sleemanj
author_rank: Super Contributor
timestamp: May 19, 2021, 11:33:31 pm
content: QuoteYes.What the input voltage does is not of consequence provided it is within the acceptable input range.
XMEGA Bootloader not able to start application - Page 1
Forum section: electronics / projects

author: cmcraeslo
author_rank: Regular Contributor
timestamp: January 19, 2017, 11:04:12 am
content: Hey guys.I'm working on my own bootloader and I'm having problems jumping from the bootloader to application properly. I'm able to flash the application properly (If I set the BOOTRST to APPLICATION it works), but when I run the app from bootloader, it just doesn't work.I'm using TCC0 timer in my bootloader and I disable it before jumping to 0x0. Even if I don't use the timers altogether, it still doesn't work.There are many suggestions over the internet, I tried them all, but none of them worked for me.Currently, I have this for going into the app:Code:CCP = CCP_IOREG_gc;PMIC.CTRL = 0;TCC0.INTCTRLA = 0;asm("jmp 0x0");I also tried enabling the watchdog and then checking for the RST.STATUS & WD first thing after booting:When I want to start the application:Code:CCP = CCP_IOREG_gc;WDT.CTRL = WDT_ENABLE_bm | WDT_CEN_bm | WDT_PER_8CLK_gc;while(WDT.STATUS & WDT_SYNCBUSY_bm);And then, first thing in main():Code:if (RST.STATUS & RST_WDRF_bm){asm("jmp 0x0");}This is driving me crazyThanks

author: ataradov
author_rank: Super Contributor
timestamp: January 19, 2017, 08:07:29 pm
content: I'm not sure if "jmp #0" is appropriate for all situations. Try actual C way:Code:void (*reset_vector)(void) = 0;reset_vector();

author: krho
author_rank: Regular Contributor
timestamp: January 19, 2017, 08:14:35 pm
content: I'm using xboot and I've looked at the code and at the end it also executes `jmp 0`. I'd say that you have something wrong with your fuses. Do you have a debugger to check where it's stuck? This would help you to find this in notime. Atmel ICE is pretty cheap.

author: cmcraeslo
author_rank: Regular Contributor
timestamp: January 22, 2017, 02:57:48 am
content: I do have ICE.Not sure which thing worked, but this is the way i have it now and it works. Hopefully someone will find this helpful.If I want to run the app, I reset it via WD:Code:cli();CCP = CCP_IOREG_gc;RST.STATUS = 0;CCP = CCP_IOREG_gc;PMIC.CTRL = 0;CCP = CCP_IOREG_gc;WDT.CTRL = WDT_ENABLE_bm | WDT_CEN_bm | WDT_PER_512CLK_gc;while(WDT.STATUS & WDT_SYNCBUSY_bm);while(1);and then first thing in the bootloader:Code:if (RST.STATUS & RST_WDRF_bm && !(RST.STATUS & RST_PDIRF_bm)){CCP = CCP_IOREG_gc;RST.STATUS = 0;CCP = CCP_IOREG_gc;PMIC.CTRL = 0;CCP = CCP_IOREG_gc;cli();SP_LockSPM();asm("jmp 0x0");while(1);}
XMOS breakouts - Page 1
Forum section: electronics / projects

author: snx
author_rank: Contributor
timestamp: June 22, 2019, 03:59:30 pm
content: Hi,This question is about xmos beakouts. They are basically an XMOS Audio "I2S-USB" chip solderd to pcb including oscillator.Here are a few examples:https://www.diyinhk.com/shop/eol-product/58-xmos-dsd-dxd-384khz-high-quality-usb-to-i2s-pcb.html#/xmos-xmos_384k_pcbhttps://hifiduino.wordpress.com/2013/04/16/got-the-xmos-384khz-usb-interface/I'm not 100% sure how these chips work, how do they know what type of DAC IC you connect? I would like to use this breakout for a INPUT, so i would have to connect a 384 kHz ADC instead of a DAC. I don't know alot about I2S, but is it possible that the xmos ic does automatically discover what type of device is on the I2S line?Would this board work with ADC?

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: June 22, 2019, 04:08:02 pm
content: I2S is pretty simple & standard so the Xmos chip probably doesn't need to know.

author: SiliconWizard
author_rank: Super Contributor
timestamp: June 22, 2019, 04:32:55 pm
content: On those boards, the XMOS chip acts as an I2S master controller. It has no knowledge of what you connect it to. It will output MCLK/BCLK/LRCK (that you'll need to connect to your ADC), as well as output one or several I2S data lines (for DACs), and input one or several I2S data lines (for ADCs). Your ADC will have to be set up as an I2S slave. As long as it supports the sample rate that the XMOS will use, there's no need to know anything more about it. I2S is standard, and in most cases, audio data is received/sent as two 32-bit words regardless of the sample width, in an MSB-first way (the remaining bits being usually zero), so basically, BCLK (bit clock) will be the sample rate times 64 (two channels, L/R, per I2S frame).

author: bson
author_rank: Unknown
timestamp: June 23, 2019, 02:41:18 pm
content: The XMOS chips I've looked at don't directly support I2S, but what they do have is externally clocked GPIO shift registers with FIFOs. This is a key feature, as the clock isn't derived from the CPU clock but is bus specific. More specifically, you'd find it VERY difficult to use the same timebase for both USB (48MHz) and 44.1k audio. So what you do is load up a FIFO using DMA and it ends clocked out on a pin. The chip has no knowledge of the various I2S formats. Since you need to interleave L/R and generate additional signals what I would do is dedicate a core to managing each interface. (These chips have a bunch - very primitive peripherals plus lots of lightweight cores, a pretty good design but requires solid system design skills.)
XMOS event driven processors-Anything new? - Page 1
Forum section: electronics / projects

author: djsb
author_rank: Super Contributor
timestamp: December 11, 2010, 10:47:33 pm
content: Does anyone know anything about these devices?http://www.xmos.com/Are they anything new and are there any similarities to the smart fusion mixed signal fpga's?If you anyone understands what they are and what they do please enlighten us all. Thanks

author: Hypernova
author_rank: Unknown
timestamp: December 12, 2010, 02:15:10 am
content: Multi core software peripheral mcus. Basically a cpus with hardware multi threading support. Parallex Propeller is similar except it's 8 single thread cores. Problem I have with these things is that while coding what ever peripheral bus you want on any pins you want sounds great on paper in practice it tends to be a pain. Hi-res high clock pwm for example is not available since you don't have a hardware counter.

author: Bored@Work
author_rank: Super Contributor
timestamp: December 12, 2010, 05:12:32 pm
content: Quote from: djsb on December 11, 2010, 10:47:33 pmThey are just a re-spin. Remember Transputers? These are them, even done by the same guy.If you don't remember Transputers, they were a rather strange CPU in the '80th, made by a British company called Inmos. Companies that betted the farm on them got badly bitten, because Inmos couldn't manage to get a badly awaited successor series, the T9000 ready in time. At some point in time it was said that the only hosting environment for a T9000 was an overhead projector, because all that people got were presentations about the T9000, but not the real thing.

author: Hypernova
author_rank: Unknown
timestamp: December 13, 2010, 05:27:31 pm
content: If you really feel like going all out for multi core mcu keep an eye out for the up comingGreenArraychips, 144 cores!But you can't code in C and from a quick glance at the architecture it's going to be a real bitch to code.

author: allanw
author_rank: Frequent Contributor
timestamp: December 13, 2010, 07:01:28 pm
content: I thought this was pretty neat:
XP cannot find start address - NETAPI32 problem??? solved - Page 1
Forum section: electronics / projects

author: AndersJ
author_rank: Frequent Contributor
timestamp: March 07, 2023, 09:42:52 am
content: XP machine throws a error message on boot, right before displaying the desktop.Approximate translation to english: "Cannot find procedure start address NetGetDCName in DLL file NETAPI32.dll"After pressing OK on the error message: Blue screen of deathThanks for any suggestions,Anders J

author: coromonadalix
author_rank: Super Contributor
timestamp: March 07, 2023, 11:05:35 am
content: https://www.lifewire.com/how-to-fix-netapi32-dll-not-found-or-missing-errors-2623836Strange if its network related windows should be able to boot ??windows version, machine model ?

author: AndersJ
author_rank: Frequent Contributor
timestamp: March 07, 2023, 01:15:21 pm
content: Machine and OS:HP Compaq dx2200M with Intel Celeron 3,2GHz from year 2007Windows XP pro SP2, Build 2600

author: HighVoltage
author_rank: Super Contributor
timestamp: March 07, 2023, 01:38:59 pm
content: Boot from the XP installation CD and select repair.This helped me on a similar problem before.

author: coromonadalix
author_rank: Super Contributor
timestamp: March 07, 2023, 05:02:58 pm
content: if possible you can disable the nic/lan card in the bios and see if windows continue to boot ?

author: AndersJ
author_rank: Frequent Contributor
timestamp: March 08, 2023, 03:54:54 pm
content: After various failed attempts a reinstall resolved it.Thanks for your suggestions.Anders J
XP network adapter hangs - Ideas appreciated. - Page 1
Forum section: electronics / projects

author: AndersJ
author_rank: Frequent Contributor
timestamp: October 20, 2018, 02:27:00 am
content: After many years of problem free operation the network adapter speeddrops to 10 Mb/s, but stops communicating.After reboot I’m up and running again, for a few hours.But, then all icons have moved to the left side of the screen.There seems to be a connection between loss of communication and icon displacement.The electrolytic caps on the adapter were dry and have been replaced.Motherboard caps are fine, replaced about a year ago.MB voltages and temperature are OK.Any suggestions?Anders J

author: edpalmer42
author_rank: Super Contributor
timestamp: October 20, 2018, 03:25:52 am
content: AFAIK, the icon movement indicates that Windows is crashing. On reboot, it rebuilds the desktop. But whether the crash is hardware or software related isn't clear. Can you monitor the supply voltages during operation and watch for a voltage sag or dropout when it crashes? Can you replace the power supply?I don't remember, does XP have an event viewer? Any clues there?More hardware info is required to give any more help. Make, model, configuration, etc.Ed

author: Tony_G
author_rank: Super Contributor
timestamp: October 20, 2018, 04:36:19 am
content: Yes XP has an event viewer and as Ed said sounds like a system issue which may or may not be related to the network card. See if there are any driver events in the log.TonyG
XPT2046 touch channels ? - Page 1
Forum section: electronics / projects

author: Jan Audio
author_rank: Frequent Contributor
timestamp: August 22, 2019, 12:59:09 pm
content: Hi, i try to find a list of channels for the XPT2046 touch controllermanual :https://www.buydisplay.com/download/ic/XPT2046.pdfYou have to send with SPI a command ( table 7 )7 Start bit.6-4 Channel Select bits.3 MODE 12-Bit/8-Bit Conversion Select bitI cant find a list to fill in the Channel Select bits.Anyone know the list ?thanks in advance

author: Jan Audio
author_rank: Frequent Contributor
timestamp: August 22, 2019, 01:13:40 pm
content: Oh nevermind i got it in figure 5.remove topic
Xtal Caps / Measure Caps - Page 1
Forum section: electronics / projects

author: Scutarius
author_rank: Regular Contributor
timestamp: December 15, 2010, 02:42:27 pm
content: HiI have this xtal (32.768kHz) and the datasheet saids that CL=15.5pF, my question is if it is right by saying that..CL= (C1*C2)/(C1+C2) + CsCs= 5pFhttp://www.oscilent.com/spec_pages/PNDescrpt/Load_Cap.htmI have no idea why C1 and C2 have the same value most of times so12.5-5= (C*C)/(2*C)That gives C=15pFSo, if all the above is right, my schematic is a 32.768kHz Xtal with two 15pF caps.http://forum.allaboutcircuits.com/showthread.php?t=9215http://www.oscilent.com/spec_pages/PNDescrpt/Load_Cap.htmhttp://www.eetkorea.com/ARTICLES/2001SEP/2001SEP06_AMD_AN.PDFhttp://www.oscilent.com/spec_pages/PNDescrpt/Load_Cap.htmMy second question is how to measure a 0805 cap?, about 1nF or so, my first thought was to desolder the cap and make a filter with a know resistance and due to the Fc know the capacitance, what do you thing? (I need to copy a design I already have must of the values and the schematic)Thank you!!!BTW this osc are normally found on watches I am not sure but they usually look that there are no CL, just the xtal

author: Scutarius
author_rank: Regular Contributor
timestamp: December 16, 2010, 04:41:51 pm
content: wow 81 visits and nobody saids if I am wrong, could somebody take 2 minutes please?Thanks in advance.

author: jahonen
author_rank: Super Contributor
timestamp: December 16, 2010, 04:51:29 pm
content: Yes, your reasoning of the crystal load capacitors is correct. They are double to the required load capacitance (excluding parasitics), as they connect in series from crystal perspective. Usually, it might take some tweaking by using a frequency counter to get the oscillation frequency closest to target.You can measure SMD capacitors with usual LCR-meter, by using SMD tweezers. Or if that is not available, solder some suitable wires to the cap and then plug it into LCR meter (just be careful not to break the terminations).Regards,Janne

author: Scutarius
author_rank: Regular Contributor
timestamp: December 16, 2010, 05:31:15 pm
content: thank you JahonenSo I think my multimeter just cant measure small values (not a fluke, no even a good one)

author: Unknown
author_rank: Unknown
timestamp: December 16, 2010, 06:42:10 pm
content: Quote from: ee.jcesar on December 16, 2010, 05:31:15 pmAll multimeters that I know (including Flukes) suck at low capacitance values, that's why dedicated LCR meters (like the AADE kit) are useful. But if you don't own a good DMM, an LCR meter is probably pretty far down your list, since it's a fairly specialized bit of kit.