$1 #PinePhone pogo pin breakout board lets you connect add-ons without removing the back cover
When the #BL602 I2C HAL looks dubious ... Refer to the BL602 Reference Manual!
https://github.com/bouffalolab/bl_docs/tree/main/BL602_RM/en
How we hack #PineCone #BL602 #RISCV on Saturday Night @PINE64
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L216-L308
#BL602 I2C program doesn't crash now ... But it doesn't read any data from the BME280 Sensor 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L216-L308
Found the bug in my #BL602 I2C program ... There are two levels of BL602 I2C API: 1️⃣ High Level (which calls FreeRTOS) 2️⃣ Low Level (which doesn't call FreeRTOS) ... I'm using the Low Level API, so I shouldn't call "hal_i2c_init" in the High Level API
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/main.c#L187-L190
#ESP32 #EPaper Inkplate gives Kindle Displays a second chance
https://hackaday.com/2021/01/22/esp32-inkplate-gives-kindle-displays-a-second-chance/
Let's hunt for MEPC (Machine Exception Program Counter) 0x2300 8fe2 in the #RISCV Disassembly ... Yep my buggy code crashed in the #BL602 I2C Interrupt Handler 🤔
https://github.com/lupyuen/bl_iot_sdk/releases/download/v1.0.1/sdk_app_i2c.S
@lupyuen but I've always wanted to look at the upper layers such as HAL, which is way I enjoy your posts. Keep it up!🙂
@lupyuen recently I had to implement exception code 11 (M-mode ECALL) for a Risc-V software model. Modeling these things is no easy task
600 Views of my Buggy C Code for #BL602 I2C ... Time to Hyperventilate 😲
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L234-L308
3WheelsBot: a bot with B of #Beaglebone
Full Live-Scripted #CAD Kernel in the Browser
Why #Webcams aren’t good enough
IoT Techie and Educator / Apache NuttX PMC