bl602-hal icon indicating copy to clipboard operation
bl602-hal copied to clipboard

Hardware Abstract Layer for BL602 RISC-V WiFi + BLE SoC in embedded Rust

Results 6 bl602-hal issues
Sort by recently updated
recently updated
newest added

- [X] Initial attempt - [X] A silly/clever workaround for embedded-hal's Pwm trait not mapping super well to the BL602 - [X] Cleanup/actual usable MVP (minus `Pwm::get_period`) - [ ]...

There are many modules unfinished in this project. - [ ] Clock configuration for all modules - [x] GPIO - [ ] ADC - [ ] DAC - [ ]...

#19 introduced basic I2C functionality but internal pull-ups are always enabled see https://github.com/sipeed/bl602-hal/pull/19#issuecomment-813459056 > It would be useful to have a way to disable internal pull-ups on the pins. It's...

There's something wrong with the current UART free-running configuration or implementation. When transmitting, we sometimes will drop a single character. This happens quite often, but not at regular intervals. Sometimes...

When reading the datasheet I had assumed we can't do multiple operations without a stop bit. But the SDK does look like it supports this. https://github.com/bouffalolab/bouffalo_sdk/blob/7a6e8b07bc2ca242215d655793145d7293b9b100/bsp/common/image_sensor/image_sensor.c#L41-L49 https://github.com/bouffalolab/bouffalo_sdk/blob/7a6e8b07bc2ca242215d655793145d7293b9b100/drivers/lhal/src/bflb_i2c.c#L407-L419 It seems to...

This PR adds a `dma` module based on the [rp-hal implementation](https://github.com/rp-rs/rp-hal/tree/main/rp2040-hal/src/dma). Currently it is only tested together with UART, but it (hopefully) should be usable for _any_ of the peripherals....