Skip to content

Conversation

@wodenn
Copy link

@wodenn wodenn commented Aug 31, 2021

No description provided.

@lupyuen
Copy link
Owner

lupyuen commented Sep 9, 2021

Hi: Sorry is this a fix for the BL602 SPI HAL?

@wodenn
Copy link
Author

wodenn commented Sep 17, 2021

Hi: Sorry is this a fix for the BL602 SPI HAL?

yes, the version of sdk you got is old, You better get the latest version of the code

@lupyuen
Copy link
Owner

lupyuen commented Sep 17, 2021

Thanks for the reminder... Indeed my branch is outdated :-(

I checked the upstream code by Bouffalo Lab, it looks different...

https://github.com/bouffalolab/bl_iot_sdk/blob/master/components/hal_drv/bl602_hal/hal_spi.c#L334-L342

    if (NULL != RxData) {
        DMA_LLI_Init(arg->rx_dma_ch, &rxllicfg);
        DMA_LLI_Update(arg->rx_dma_ch,(uint32_t)prxlli);
        DMA_Channel_Enable(arg->rx_dma_ch);
    }

    DMA_LLI_Init(arg->tx_dma_ch, &txllicfg);
    DMA_LLI_Update(arg->tx_dma_ch,(uint32_t)ptxlli);
    DMA_Channel_Enable(arg->tx_dma_ch);

Since I'm pulling updates from pine64/bl_iot_sdk, could you kindly ask the Pine64 maintainers to pull the updates from bouffalolab/bl_iot_sdk?

Once Pine64 has updated their repo, I'll run the SPI regression test on PineDio Stack BL604. (Probably using the onboard SPI LoRa SX1262 module)

Also could you explain this wifi_ram section? Thanks! :-)

wodenn@4affa4c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants