-
Notifications
You must be signed in to change notification settings - Fork 3k
[NRF52840]: enabled SdBlockDevice capability #4088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NRF52840]: enabled SdBlockDevice capability #4088
Conversation
@@ -1566,7 +1566,7 @@ | |||
// <e> RTC_ENABLED - nrf_drv_rtc - RTC peripheral driver | |||
//========================================================== | |||
#ifndef RTC_ENABLED | |||
#define RTC_ENABLED 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is this RTC disabling related?
@@ -2696,7 +2696,7 @@ | |||
"supported_form_factors": ["ARDUINO"], | |||
"inherits": ["MCU_NRF52840"], | |||
"macros_add": ["BOARD_PCA10056", "CONFIG_GPIO_AS_PINRESET", "SWI_DISABLE0", "NRF52_ERRATA_20"], | |||
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean spi async wont work for this target or needs further development?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have hardware bug - not so easy to be mitigated (if possible at all). HW Bug will be fixed in silicon for nRF52840 - as it is still preview mcu revision. After fix will coming it will be very easy to just turn SPI_ASYNCH back by reverting this changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation
1568516
to
7e8cfa8
Compare
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
…cating that change to allow builds on the NRF52840_DK (see original PR ARMmbed#4088 to see the explanation for the removal of spi async)
…cating that change to allow builds on the NRF52840_DK (see original PR ARMmbed#4088 to see the explanation for the removal of spi async)
…cating that change to allow builds on the NRF52840_DK (see original PR #4088 to see the explanation for the removal of spi async)
Description
Fix capability by using SPI instead of SPIM peripheral and resign from SPI_ASNCHRONUS capability.
SPIM peripheral has the bug which imposed on one-byte transfer.
tests-api-spi is also fixed by this PR.
Status
READY
##Test result: