On the Aries MCV, the MMC pins of the HPS are already used to control the MMC flash. However, we need an SD card. So, we decided to add a µSD card on the SPI1 interface because SD cards can be controlled in SPI. So, I added the µSD card to the SPI1 interface like this:
Before testing on the MCV, we realize tests on the DE1-SoC. Something to notice, we already built the Linux kernel for the DE1-SoC and it booted correctly without the SD card on the SPI interface.… Read more
With Nathan, we work a lot on the creation of the Linux distribution. On my side, I am working on how to add an sd card on an SPI bus and Nathan is working on the driver for the USB WiFi Dongle.
An SD card can not be detected and set automatically like a USB device. We have to tell Linux there is a micro SD host on an SPI bus. We have to put a micro SD host on an SPI bus because the eMMC bus is already taken by the Flash. To tell Linux, there is a micro SD host on the SPI bus, the simplest method is to add it in the device tree blob.… Read more
On Monday, I began to have a look at a 16×16 device scheme. For this, I took the 4×4 scheme, I copied it 16 times, and I added two multiplexers. One that will multiplex the SCL signal to the multiplex that controls the Hall effect sensor, and one other that will multiplex the multiplexer that controls the H-bridge drivers. Then, I had some questions.
Should I keep a pull-up or a pull-down between two multiplexers or not? My answers for this moment is to keep a pull-up in order to avoid a clock signal on SCL if there is some latch between the two multiplexers.… Read more
Last week, I made a lot of routing to finish our first test PCB. We choose with Alexis to make a PCB that would work with an alimentation because it was easier, so I had a lot of more things to do, but after some work, I finished this part.
Scheme of the box
In order to understand better the design of our box, I made a scheme of the organization if you want to try to do a Touch at home with this design.
This was not clear in my previous post, but this design allows the marbles to flip when the box is put horizontally and vertically.… Read more
I realized a synthesizable top module to test the Sync module and Led Band Controller together. The goal of this top module is to simulate the ticks sent by the Hall effect and the optical fork sensors. But also to send data to the Leb Band Controller to simulate the DMA Controller. In the output, one can read SCLK, GCLK, LAT, SOUT, row_en[3:0] (multiplexing), turn_tick, n_rst.
With @nathan-claudel, we decided to synthesize and test it on the DE1-SOC. The output signals are exited on the GPIO1. Then I used a Saleae device to probe the signals.
Problems of the top module
First, we have to fix several issues due to the implementation of the top module.… Read more
Today with Marc we made some diagrams to plan the software architecture of the main board and bottom PCB:
We also started writing all the .h prototypes so that anyone in our group can start working on a new module and know exactly which functions to code, and which functions they can use from other modules.
Today Xavier and I soldered an ESC to the motor in the Phyllo structure (in truth, after struggling for a long time, we asked Karim Ben Kalaia to show us the way). We just wanted to see the power consumption of the motor while bearing a load, and set up a better configuration for the speed feedback.
Sadly, when we tried to turn on the motor, it didn’t work, creaking and hiccuping for a few moments and then stopping. We noticed that it was really difficult to turn with the hand comparing to the other motors we have. We removed all the load (the PVC plate and the axis) so that the motor can turn freely, but we got the same result.… Read more
The implementation of the synchronizer is done. The architecture did not change much from this post.
I did unit tests on the submodules of the synchronizer. However a question came to my mind when it comes to testing the global module. How to test such a module without basically reimplementing it in the testbench ?
For the moment I just took a look at the output and checked that it seemed correct. Here is a look at the little music it produces:
Next, we will have to test if the sync and led band controller modules play nice with each other.