MATRIX Hal - Important Update


#1

Hello!

I am glad to announce that the new https://github.com/matrix-io/matrix-creator-hal release will be supporting:

  • Direct Mode: As the usual form to access to the MATRIX Devices through /dev/spidev/
  • Kernel Modules: Acces the MATRIX Devices with matrixio-kernel-modules.

Now, it is available to install the kernel modules from Debian repository, just follow:

# Add repo and key
curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list

# Update packages and install
sudo apt-get update
sudo apt-get upgrade

# Reboot in case of Kernel Updates
sudo reboot

# Installation MATRIX Packages
sudo apt install matrixio-kernel-modules

# Reboot
sudo reboot

We made several changes in the library:

1- Add the kernel and direct mode access:

https://github.com/matrix-io/matrix-creator-hal/blob/master/cpp/driver/bus_kernel.cpp
https://github.com/matrix-io/matrix-creator-hal/blob/master/cpp/driver/bus_direct.cpp

2- Rename the WishboneBus to MatrixIOBus:

https://github.com/matrix-io/matrix-creator-hal/blob/master/cpp/driver/matrixio_bus.cpp

3- Check the demos directory and see how the last changes should be used.

https://github.com/matrix-io/matrix-creator-hal/blob/master/demos/micarray_recorder_direct.cpp

We are deploying it now. Let us know if someone has any doubt or trouble with these changes. So, if someone has an own application, please try to update to this changes and avoid any compatibility issue.

Best Regards,

Kevin Patino


Hardware interface when using Alexa
[solved] Matrix voice not working
Great succes! ... and a question about Kernel / HAL
Pocketsphinx demos won't compile anymore
#2

#3

@kevindpatino not sure if i should ask here but is this a necessary ‘upgrade’ for Matrix Voice as well?


#4

Hello @ionu,

Yes, MATRIX Voice and MATRIX creator are affecting these changes. It allows to use the microphone array as a Linux device or read directly from the spidev with any compatible troubles.

Let me know if you have any trouble or doubt.

Regards,
Kevin Patino