Search found 2043 matches

by stevestrong
Sat Feb 17, 2018 2:40 pm
Forum: General discussion
Topic: Has anyone tried using the APDS-9960 gesture sensor modules ?
Replies: 8
Views: 219

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

I reworked the Sparkfun lib to allow detection of more directions, as well as detecting approach/depart dynamic, not only static position near/far. Also, the user can select the connected I2C interface in the example sketch without changing something in the lib. Typical serial output from the gestur...
by stevestrong
Sat Feb 17, 2018 8:54 am
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 383

Re: analog watchdog in adc

The ISR definition is fine, only the code has to be extended to handle ADC2 registers, too. The handlers have to be defined for ADC2, similar to ADC1: adc_dev adc1 = { .regs = ADC1_BASE, .clk_id = RCC_ADC1, .handlers = {[3]=0}, //added by bubulindo. EOC, JEOC, AWD .irq_num = NVIC_ADC_1_2, }; /** ADC...
by stevestrong
Fri Feb 16, 2018 2:20 pm
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 383

Re: analog watchdog in adc

It looks like the current version only supports ADC1 interrupts.
ADC2 does not even have ISR handler table defined.
https://github.com/rogerclarkmelbourne/ ... e/adc_f1.c
by stevestrong
Fri Feb 16, 2018 8:12 am
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 383

Re: analog watchdog in adc

As the ADCs have different registers, you can setup different WDs.
But be aware, that ADC1 and ADC2 interrupts are mapped onto the same interrupt vector.
by stevestrong
Fri Feb 16, 2018 8:06 am
Forum: Libraries & Hardware
Topic: Blue pill reading Winbond 25Q80 SPI flash
Replies: 13
Views: 223

Re: Blue pill reading Winbond 25Q80 SPI flash

Do you really need a library?
Can't you simply write some very simple functions, like here: http://stm32duino.com/viewtopic.php?f=9&t=2412?
by stevestrong
Fri Feb 16, 2018 7:57 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Bluepill: ST-LINK USB not showing up as Maple device
Replies: 6
Views: 65

Re: Bluepill: ST-LINK USB not showing up as Maple device

OK.
Now it would be nice if you would tell a bit about you and your projects, as the thread title says.
by stevestrong
Thu Feb 15, 2018 3:16 pm
Forum: Windows
Topic: [SOLVED] Bluepill board serial monitor not working
Replies: 5
Views: 88

Re: Bluepill board serial monitor not working

The wiki passage related to Upload via "STM32duino bootloader" misses unfortunately the information that a USB cable has to be connected from PC to the micro USB slot of the SMT32 board (which seems trivial but not always implicit for novices...). The advantage for using the bootloader is that you c...
by stevestrong
Thu Feb 15, 2018 8:26 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Bluepill: ST-LINK USB not showing up as Maple device
Replies: 6
Views: 65

Re: Bluepill: ST-LINK USB not showing up as Maple device

Where did you get the information that the STLink probe will give you a serial communication port?
by stevestrong
Thu Feb 15, 2018 8:24 am
Forum: Windows
Topic: [SOLVED] Bluepill board serial monitor not working
Replies: 5
Views: 88

Re: Bluepill board serial monitor not working

STLink is only for uploading, and not for serial com.
Connect a USB cable from PC to the micro USB slot of the board and you will have USB serial.