This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/os/hal/ports/STM32/LLD/sdc_lld.c b/os/hal/ports/STM32/LLD/sdc_lld.c | |
index b5b223d..84ee336 100644 | |
--- a/os/hal/ports/STM32/LLD/sdc_lld.c | |
+++ b/os/hal/ports/STM32/LLD/sdc_lld.c | |
@@ -396,7 +396,8 @@ void sdc_lld_set_data_clk(SDCDriver *sdcp) { | |
(void)sdcp; | |
- SDIO->CLKCR = (SDIO->CLKCR & 0xFFFFFF00) | STM32_SDIO_DIV_HS; | |
+ //SDIO->CLKCR = (SDIO->CLKCR & 0xFFFFFF00) | STM32_SDIO_DIV_HS; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HydraFW (HydraBus/HydraNFC) v0.1-beta-5-g8c2baea 8c2baea-dirty 2014-10-10 | |
Test DelayUs(10000) start=-289190053 end=-287510023 delta=1680030 | |
Time=10000us (@168MHz) | |
MCU Info | |
-287497375: DBGMCU_IDCODE:0x10016413 | |
-287492494: MCU CPUID: 0x410FC241 | |
-287482583: MCU FlashUID: 0x2E0034 0x35314717 0x31373430 | |
-287474136: MCU FlashSize:1024KB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void test_sgpio_all_slices(void) | |
{ | |
SGPIO_GPIO_OENREG = 0; // All inputs for the moment. | |
// Disable all counters during configuration | |
SGPIO_CTRL_ENABLE = 0; | |
// Configure pin functions. | |
configure_sgpio_pin_functions(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void test_sgpio_sliceA_D(void) | |
{ | |
SGPIO_GPIO_OENREG = 0; // All inputs for the moment. | |
// Disable all counters during configuration | |
SGPIO_CTRL_ENABLE = 0; | |
// Configure pin functions. | |
configure_sgpio_pin_functions(); |
NewerOlder