-
Notifications
You must be signed in to change notification settings - Fork 10
Add cmp & dev for OPA858 and LMH6629 #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
news? |
Sorry, I'm very busy these weeks :/ I did not forget it, I'll try to review soon. |
I took a look at the datasheet now. as far as I can see, the packages look standard - even if the actual dimensions are non-standard, it makes sense to generate them with our generator. I even wonder if the DFN generator would already be able to generate WSON packages 🤔 The DFN generator also already generates packages with non-standard dimensions: But the package is located in the Base library anyway, because the shape is standard, and the non-standard dimensions are encoded in the package name. I think this would make sense for the WSON packages too. However, unfortunately at the moment I really don't have time to work on that - even for reviews it's hard to find time :-( Thus I'd suggest to leave this PR as-is for now. I'm really sorry for that, I know this situation is not satisfying. |
I checked the dfn_config.py and I think it is enough to add these 2 lines I'm not sure which keyword would you prefer, therefore I did not apply for a PR on the parts_generator repository. |
That would be awesome if these two lines create the correct packages! Regarding keywords, I think "wson8,wson-8" should be fine. I'd be happy to receive a PR in the parts generator repository :) |
The only difference is that the original texas instrument package does not have the engraved dot on pin 1. |
I updated the devices with the dfn package. |
Oh no, I just realized there are also issues with the components 🙁 The datasheets clearly state a separate pin for FB. Even though it is internally connected to OUT, the component should provide it as a separate pin because that pin is specifically made for the feedback circuit. Therefore we need to add a new symbol & component. Also I'd swap the Comp and EN pins for consistency with the other OpAmps (EN at top), but that's a minor issue. And the new component should rather be added to our integrated circuits library, since it is generic. |
I would call them a feature
I strongly disagree on this: the FB pin is there to shorten the feedback loop in the WSON which is 3x3 mm. It is needed because the LMH6629 has a very high GBP and it is not compensated for Av = 1. But this is a caution needed for the PCB and not for the schematics. Whoever want to use a chip with a bandwidth extending to GHz has to take precaution for long loop: this pin is just a courtesy (to avoid components on the bottom layer). Schematics with the FB pin would hide the feedback loop creating confusion to gain practically nothing. As you see all the schematics in the datasheet are all with the classic symbol and even literature use the standard symbol: You can argue that the schematics for the LMH6629 are shared with the sot version, which has not FB pin and therefore a generic schematic with the FB pin could not be used. However the same can not be said for the OPA858 that exists only in WSON package with the FB pin as well. Here the vendor show the FB pin only a PCB drawing and not in the corresponding schematic: If you really really want to change the components, please use different UUIDs, so that I can keep my own local version.
This is not a problem.
In my knowledge this configuration is only present for the LMH6629, therefore I added here: but I have no problem if you want to change. |
Generally I agree, but from out point of view as maintainers it is also our responsibility to avoid any wrong/misleading guides by the tool, as this would raise new complaints by other users ;)
It depends on the component. For a microcontroller with 5x GND pins it is important to connect all of them, so the current behavior of LibrePCB is correct for those. But I have also thought that we might need a different mode too, such that the library designer can choose between "connect any of those pads" and "connect all of those pads". I think this is a valid feature request.
I'd say with the KiCad variant the readability is affected only very little (though I'd put the FB pin below OUT, since our negative input is at bottom too). So how do you like to proceed? I'd really prefer to add the "safe" variant without misleading airwires/DRC to the libraries, but if you disagree, of course you can do it the other way in your local libraries. |
Ok proceed with the "safe" variant. Keep the current UUID, I will change my design when needed. |
OK great. I think I can take care of the symbol & component in the IC library, I'll try to do it in the next few hours. |
See LibrePCB-Libraries/LibrePCB_ICs.lplib#43. Would be nice to get a review :) Do I see correctly those two configurations are very very specific to the OPA858 and LMH6629? I'm now struggling a bit whether those components should really be generic if no other devices will use them 🤔 But if in doubt, maybe generic components are still better than specific components... |
Yes the configurations are VERY specific to those ICs, that's why I put the the sym and the cmp initially in the TI library. I do not know any other device, i.e. from Analog, with a simular structure. |
Symbols are now merged into the ICs library. Components and updated devices are pushed to this PR. I hope it is now everything fine. |
SUMMARY
DATASHEETS / REFERENCES
https://www.ti.com/product/OPA858
https://www.ti.com/product/LMH6629
OPEN QUESTIONS / UNRESOLVED ISSUES
CHECKLIST
¹ Library Conventions: https://docs.librepcb.org/#libraryconventions
² Minor version bump if only metadata was modified (e.g. "0.1" -> "0.1.1"), major version bump if functional changes were made (e.g. "0.1" -> "0.2")
³ CC0 Public Domain License: https://en.wikipedia.org/wiki/CC0