hpm-hal
hpm-hal copied to clipboard
Rust HAL crate for HPMicro's RISC-V MCUs: HPM6700/HPM6400, HPM6300, HPM6200, HPM5300, HPM6800, HPM6E00.
See-also: #36 > The RNG interrupt functionality appears to be non-functional due to the following reasons: > > - Lack of a FIFO-ready signal (FUFMOD usage unclear) > - Absence...
See-also #33 only async write is fixed. To get END irq work: - ~~DMA Bust must 1 for SPI~~ - ~~DMA transize must be **actual_size + 1** for SPI~~ **UPDATE**...
It seems that Future returns before the SPI transfer has finished. Only occurs when **bulk** data is transferred under **slow** SPI frequency. **UPDATE**: SPI finish interrupt is not working under...
The following crashes MCU: ```rust let x = 0xf40c01c0 as *const u32; // any invalid address let y = unsafe { *x }; defmt::info!("y = {}", y); ``` Note that...
To Reproduce: ```rust #![no_main] #![no_std] use embedded_hal::delay::DelayNs; use hal::gpio::{Level, Output, Speed}; use hal::pac; use riscv::delay::McycleDelay; use {defmt_rtt as _, hpm_hal as hal, riscv_rt as _}; #[hpm_hal::entry] #[link_section = ".fast"] fn...
Update to latest `embassy-time-driver`