{"id":120,"date":"2021-04-04T00:34:36","date_gmt":"2021-04-04T00:34:36","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/?p=120"},"modified":"2021-04-04T00:37:56","modified_gmt":"2021-04-04T00:37:56","slug":"xingrans-status-report-for-4-3-2021","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/2021\/04\/04\/xingrans-status-report-for-4-3-2021\/","title":{"rendered":"Xingran\u2019s Status Report for 4\/3\/2021"},"content":{"rendered":"<p>This week I was able to flash firmware updates to BM83 through OTA. I talked to the BM83 develop team over email and after rounds of debugging I could finally use their Android app as intended; I have also looked into many other programming and controlling options of BM83 along the way.<\/p>\n<p>However, changing the operation modes in the firmware easily made BM83 stop connecting to the Android app, so I think the most reliable option is to have traditional UART update; I also found a GUI tool for sending\/receiving UART commands\/events to\/from BM83, which I think should be our first step to connect BM83 to a speaker. Therefore, I purchased a USB-to-UART converter, so that I can largely follow the BM83 support documents in terms of how I program and config it.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-122\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/OTA-firmware-update-473x1024.jpg\" alt=\"\" width=\"261\" height=\"565\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/OTA-firmware-update-473x1024.jpg 473w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/OTA-firmware-update-138x300.jpg 138w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/OTA-firmware-update-768x1664.jpg 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/OTA-firmware-update.jpg 1080w\" sizes=\"(max-width: 261px) 100vw, 261px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-121\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/bm83-control-gui.jpg\" alt=\"\" width=\"746\" height=\"563\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/bm83-control-gui.jpg 746w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-content\/uploads\/sites\/141\/2021\/04\/bm83-control-gui-300x226.jpg 300w\" sizes=\"(max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/p>\n<p>While I am waiting for the converter to arrive, I tested our I2C control interface with the ADC. I can now read and write to the page select register in the ADC, which means that the hardware, I2C protocol and command formats are largely functional; by the time I post this I am still debugging writing and reading other control registers, but I believe it could be done soon.<\/p>\n<p>Looking ahead, I will configure, pair, and connect BM83 to a Bluetooth speaker through the UART control interface with my computer (once the converter arrives). I will debug the ADC so that I can set its control registers, and then I will test its functions by feeding in a sine wave and check the output received by the microcontroller.<\/p>\n<p>If these two things are done, I will officially be developing and testing our main audio path &#8211; streaming audio from the ADC input, through the microcontroller, to the BM83 module and then to the speaker.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I was able to flash firmware updates to BM83 through OTA. I talked to the BM83 develop team over email and after rounds of debugging I could finally use their Android app as intended; I have also looked into many other programming and controlling options of BM83 along the way. However, changing the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/2021\/04\/04\/xingrans-status-report-for-4-3-2021\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Xingran\u2019s Status Report for 4\/3\/2021&#8221;<\/span><\/a><\/p>\n","protected":false},"author":434,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[2],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/posts\/120"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/users\/434"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":5,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":127,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/posts\/120\/revisions\/127"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamd0\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}