The component creation window can be resumed with a simple sentence:
"Read the Datasheet."
Or what we like to call, the "Read The Fucking Datasheet" instruction. You may know that every component you can find on an electronic circuit have it's own unique characteristics. In fact by reading the chip reference and searching for this term on your favorite search engine, you will have strong chance to find the datasheet you need. Inside it, all you have to know about your component.
Now let's see what we need to know about your target
It's pretty easy, as always all is in the datasheet:
- The Manufacturer
- The component type
- The component reference
- The component voltage (here between 2.5V & 5.5V)
The "Description" field is here to let you take notes about this component.
You can find existing Manufacturer or Type that you can use in the lists
Please be careful
/ ! \ By deleting a Type / Manufacturer you will delete all the components linked to him / ! \
Before creating a new package, check in the list if yours doesn't already exists. If not, you can create a new one just by completing the fields with the right data. The new package will be saved with your chip and you will be able to use it again for another component later. If something went wrong with one of your package, you can delete it by using the button on the side of the list after selecting your package
Please be careful
/ ! \ By deleting a specific package you will delete all the components linked to him / ! \
Let's create a new package ! If you take a look at your datasheet you may find something like this:
This is what are looking for:
- Package name
- Number of pins (total)
- Signal name (we don't need this information now but you will need it in the pin section later)
- The shape, here rectangular. If your chip have pins on the top and bottom side too, choose the square option
The "Pin" part is composed of one single table. The row number depends on the number assigned in the "Package pin number" field. It can be changed every time. To complete this tab, we take back our package description in the datasheet.
We know that we are working with an SPI memory (the BUS). When a bus is selected the signal list is automatically updated with the required signals
Sometimes, to interact with a component you will not need to precise all the pins. Just the one that are proposed in the signal list. Put the pin you don't need on the "NA" (Non assigned) bus or let the bus on the default option "Bus...". Hardsploit will directly set it on NA when saving the component
Here is the result for the six first pins:
If you don't find the VCC signal it's normal as he will not be managed by the wiring helper module. The VCC have it's own headers directly on the Hardsploit board sides so you don't need to precise it at the component creation step.
We are ready to save our component, just click the "Add" button. If all goes right your new component should appear in the main window table. If you have an error it may be caused by a component reference that already exists in your database
We know how to create a component, it's time to learn how to communicate with it !