RIOT OS powered balloon with #LoRaWAN sensors
https://www.hackster.io/project-riot-20-21-team-miniloon-haw-hamburg/miniloon-60a9c9
Aha #BL602 SPI DMA is now Transmitting AND Receiving! The SPI Mode was incorrect ... Got confused between the AliOS docs and the BL602 implementation 🙁
Received SPI Data is garbage though 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/spi/customer_app/sdk_app_spi/sdk_app_spi/demo.c#L49-L67
#BL602 SPI DMA uses a Linked List of DMA requests ... Let's dump the DMA Linked List and verify the SPI Transmit and Receive requests
https://github.com/lupyuen/bl_iot_sdk/blob/spi/components/hal_drv/bl602_hal/hal_spi.c#L160-L199
#BL602 SPI Transmit seems OK but not SPI Receive ... After calling "hal_spi_init" 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/spi/components/hal_drv/bl602_hal/hal_spi.c#L826-L876
@lupyuen I'm fine with coconut jam! Coconut *anything* really - I had coconut yogurt over papaya yesterday for breakfast.
It's putting jam on eggs that I find strange.
Mind you, some people in canada pour plenty of maple syrup over their fried eggs, so there's that... :-)
LinBits 30: Weekly #Linux Phone news
https://linmob.net/2021/01/31/linbits30-weekly-linux-phone-news-week4.html
Building a microcluster with RockPro64
https://mattbernhard.medium.com/building-a-microcluster-812b176e2f76
These 2 #BL602 SPI Functions are begging me to call them ... Phew this SPI HAL is confusing 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/spi/components/hal_drv/bl602_hal/hal_spi.c#L405
How Singapore Street Food got recognized as UNESCO treasure
https://www.nationalgeographic.com/travel/2021/01/why-unesco-is-honoring-singapore-street-food/
500 #Sourdough Starters from 4 continents yield surprises
https://www.futurity.org/sourdough-starters-yeast-bread-microbes-2507252-2/
Commented out the waiting for #BL602 SPI DMA ... Yep no more hanging ... But no SPI Data received. Interrupt Counters show that DMA Interrupts weren't triggered.
The plot thickens ... Just like my chicken soup 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/spi/components/hal_drv/bl602_hal/hal_spi.c#L285-L353
"hal_spi_dma_trans" hangs while doing #BL602 SPI DMA transfer because it's waiting for a FreeRTOS Event Group ... Which is supposed to be signalled by the DMA Interrupt Handler. Let's comment out the waiting and see what happens...
https://github.com/lupyuen/bl_iot_sdk/blob/spi/components/hal_drv/bl602_hal/hal_spi.c#L285-L348
#BL602 SPI DMA Transfer is hanging inside "hal_spi_dma_trans" ... According to the debug log 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/spi/components/hal_drv/bl602_hal/hal_spi.c#L472-L510
@lupyuen
The cat's out of the bag. Just like all the data, censorship is being weaponized and sold to the highest bidder.
IoT Techie and Educator / Apache NuttX PMC