Lup Yuen Lee

Results 35 comments of Lup Yuen Lee

There's a discussion here about BL command-line flashing, wonder if it might be helpful... https://bbs.bouffalolab.com/d/132-cli-firmware-update-via-openocd-on-bl702 Or perhaps we could ask around on the Pine64 #nutcracker channel on Matrix, Telegram, Discord...

[According to Bouffalo Lab](https://gist.github.com/lupyuen/2cb2034a436dc75acc1aeb63ea3b9aa1), we only need to update the EFlash Loader in blflash... - [Current EFlash Loader: eflash_loader_40m.bin](https://github.com/spacemeowx2/blflash/blob/main/blflash/src/chip/bl602/image/eflash_loader_40m.bin) - [New EFlash Loader: eflash_loader_40m.bin](https://github.com/bouffalolab/bl_iot_sdk/blob/master/flash_tool/chips/bl602/eflash_loader/eflash_loader_40m.bin) However we can't test this until...

Thanks for posting this! I wanted to use Multiple GPIO Outputs for [Semtech SX1262 LoRa Transceiver](https://lupyuen.github.io/articles/sx1262#connect-sx1262-transceiver) on BL602, but I couldn't figure out. Hope we can work out a solution...

Perhaps we should take the required BL602 GPIOs and wrap them as Device Drivers, then expose them via `ioctl()`. I'm taking this approach for the ST7789 Display Pins on BL602:...

Or we can implement an I/O Expander Driver for BL602, if we prefer to manipulate BL602 GPIOs directly from our NuttX App... https://github.com/apache/incubator-nuttx/blob/master/drivers/ioexpander/ioe_dummy.c

ST7789 Driver runs in Kernel Space so I don't think it can access `/dev/gpio*`? There is a generic LCD Driver that wraps up the ST7789 Driver as `/dev/lcd*`: https://github.com/lupyuen/incubator-nuttx/blob/st7789/drivers/lcd/lcd_dev.c#L342-L343 I...

Cool thanks! BL602 MISO / MOSI Swap is in the master branch here: [bl602_spi.c](https://github.com/apache/incubator-nuttx/blob/master/arch/risc-v/src/bl602/bl602_spi.c#L1137-L1141) BTW The ST7789 Data/Command Pin has been tested OK on BL602. MISO goes Low when we...

OK LVGL works on BL602 with ST7789 Display! We fixed a couple of GPIO and SPI issues... 1. Fixed SPI Send on BL602: https://github.com/lupyuen/incubator-nuttx/pull/42 1. Implemented SPI Cmd/Data on BL602:...

Our fix for SPI Poll Send has been merged into NuttX (thanks Xiao Xiang!) https://github.com/apache/incubator-nuttx/pull/5869 Now doing the PR for SPI Cmd/Data...