(10/11) Weekly Status Update: David

So there were lots of events that took place over the past week. First of all, I got to spend many hours looking over an oscilloscope and debugging SPI communication with the Nucleo board. Since the Wifi board does not have documentation on the format of the SPI commands, I needed to dig through some source code for the Adafruit firmware, looking for the format of the commands to send. Luckily, the format was easy enough to understand. Unfortunately, the source code was in Python, so I needed to convert this into C code. After ages missing timing requirements and getting corrupt data through SPI, I was finally able to send the first command to the wifi chip: a command to retrieve its own MAC address. Great. After this, the process went much more smoothly. I was actually able to control the Wifi chip to do a wifi scan in order to get a list of MAC addresses and RSSIs. Unfortunately, I ran into an issue where the device is hard faulting after some time, so I need to debug this whenever I get the chance. Either that, or have my library return an error for an unsuccessful wifi scan. I also spent a great deal of time working on the design report, coming up with some probability functions for our report as well as researching different methods of location detection using Wi-Fi. In hindsight, it would have been great to use FTM RTT to calculate the location, but I don’t believe there are any sufficiently small form factor wifi breakout boards for our purpose. I also made major changes to our schedule and remade all of the diagrams to have them be more specific.



Leave a Reply

Your email address will not be published. Required fields are marked *