ClickID is hardware and software solution for Click boards™ identification from any microcontroller and Linux base operating system.
Schematic and 1-Wire® interface code for accessing EEPROM memory locations for Click boards™ identification.
To make configuration of the embedded tools faster and more like in the PC world - Plug&Play.
The Click boards™ are described and identified by the information stored in the EEPROM memory on each device. For this we have used the DS28E36 EEPROM IC from Analog Devices as a memory for storing the manifest file and unique identifiers (click name, version, serial number) of the Click board™.
The ClickID (EEPROM) memory is divided into two segments:
Having a Click board™ with an ClickID on an embedded system allows for more complex automation and self-diagnosis of embedded tools.
Full benefit of this feature is visible when using a system with multiple mikroBUS sockets, in which case software can identify add-on board peripheral configuration.
Here is the procedure for utilizing ClickID within NECTO Studio IDE: open NECTO Studio, go to "Code" section on the left-most side of the NECTO, choose "Package Manager" feature on the right-most side of the NECTO, and finally search for the "ClickID" package!
Finally, here is the example on the MIKROE GitHub page.
1.When implementing 1-Wire interface with 3.3V power suppy for the ClickID solution
2.When using 1-Wire interface, 3.3V and 5V (LDO needed) power supply for the ClickID solution
3.When using 3.3V power supply, 1-Wire interface and SPI interface (RST pin for multiplexer needed) for the ClickID solution.
4.When using 3.3V and 5V (LDO needed) power supply , as well as 1-Wire interface and SPI interface (RST pin for multiplexer needed) for the ClickID solution.
To switch a Click board™ in the ID MODE, the host board must hold the reset line (RST pin) to the '0' logic state. That will enable mikroBUS™ CS line (1-Wire interface) to be connected to the EEPROM memory on the Click board™ through a multiplexer. This way, the host can uniquely identify each mikroBUS™ socket on the host board and read the ClickID from the corresponding Click board™.
Adding and running peripheral add-on boards on a Linux based system such as BeaglePlay® was never easier thanks to the ClickID.
ClickID communicates with the operating system kernel via the 1-Wire protocol, authorizing any silicon IC on the add-on board to be automatically recognized. After that, the ClickID will deliver the manifest file to the operating system, and the proper driver is loaded to use some of the following interfaces (SPI, I2C, UART, PWM, ADC, reset, interrupt) for communication with the silicon located on the add-on board.
To learn more about BeaglePlay® and how to utilize Click boards™ by using Linux image visit our Learn Page.
“At BeagleBoard.org ®, we are obsessed with improving developer experiences, especially for new users. We are thrilled to see MIKROE introduce ClickID and to adopt mikroBUS manifests we've introduced for future versions of Linux. This is a big step enabling users of boards like our BeagleBoard.org ® BeaglePlay ® to simply use the well tested code that is already there without needing to search and integrate, just connect and play!”
Christine Long, CEO BeagleBoard.org Foundation