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(); |
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
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
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
/* | |
* Rafael Micro R820T driver for AIRSPY | |
* | |
* Copyright (C) 2013 Youssef Touil <youssef@airspy.com> | |
* Copyright (C) 2013 Steve Markgraf <steve@steve-m.de> | |
* Copyright (C) 2013 Mauro Carvalho Chehab <mchehab@redhat.com> | |
* Copyright (C) 2014 Benjamin Vernoux <bvernoux@airspy.com> | |
* | |
* This driver is a heavily lifted version of the driver found in the rtlsdr repository: | |
* http://cgit.osmocom.org/rtl-sdr/tree/src/tuner_r82xx.c |
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
# This is an STM32F4 discovery board with a single STM32F407VGT6 chip. | |
# http://www.st.com/internet/evalboard/product/252419.jsp | |
source [find interface/stlink-v2.cfg] | |
source [find target/stm32f4x_stlink.cfg] | |
# use hardware reset, connect under reset | |
reset_config srst_only srst_nogate |
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
C:\WINDOWS\system32>D:\_proj\airspy\airspy_host\libairspy\Win32\Release\airspy_info.exe | |
Found AirSpy board 1 | |
Board ID Number: 0 (AIRSPY) | |
Firmware Version: AirSpy NOS v1.0.0-beta-2-g605528c 605528c 2014-11-17 | |
Part ID Number: 0x6906002B 0x000000B0 | |
Serial Number: 0x16C463C8290C4EC7 | |
Close board 1 | |
Found AirSpy board 2 |
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
D:\_proj\airspy\airspy_host\libairspy\Win32\Release>airspy_info | |
Found AirSpy board 1 | |
Board ID Number: 0 (AIRSPY) | |
Firmware Version: AirSpy NOS v1.0.0-beta-2-g605528c 605528c 2014-11-17 | |
Part ID Number: 0x6906002B 0x000000B0 | |
Serial Number: 0x16C463C8290C4EC7 | |
Close board 1 | |
Found AirSpy board 2 |
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
> mode spi | |
spi1> [ 10 ] | |
/CS ENABLED | |
WRITE: 0x0A | |
spi1> | |
=> shall be | |
> mode spi | |
spi1> [ 10 ] | |
/CS ENABLED |
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
> adc | |
This command requires parameter(s): | |
adc <adc_type> [samples <nb_samples>] [period <nb_period>] [continuous] | |
Read analog values | |
adc1 <adc_type> ADC1 | |
tempsensor <adc_type> Temperature sensor | |
vrefint <adc_type> Internal reference voltage | |
vbat <adc_type> VBAT voltage | |
samples <nb_samples> Number of samples | |
period <nb_period> Delay between samples (msec) |
OlderNewer