Show newer

Aha 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 🤔

github.com/lupyuen/bl_iot_sdk/

Show thread

@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... :-)

Commented out the waiting for 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 🤔

github.com/lupyuen/bl_iot_sdk/

Show thread

"hal_spi_dma_trans" hangs while doing 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...

github.com/lupyuen/bl_iot_sdk/

Show thread

@lupyuen
The cat's out of the bag. Just like all the data, censorship is being weaponized and sold to the highest bidder.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.