Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi folks,
I am trying to implement a 1Wire slave on an STM32F030R8, using input capture to determine the pulse length.
Unfortunately, I can't seem to get the timer interrupts to fire, do you have any advice?
Notes:
The serial output is as follows:
../OneWireSlave.cpp:210 OneWireSlave(): Binding interrupt
../OneWireSlave.cpp:53 MX_GPIO_Init(): Setting up GPIO
../OneWireSlave.cpp:77 MX_TIM3_Init(): Setting up Timer3
29 ef be ad de 00 00 1a 10010100 11110111 01111101 10110101 01111011 00000000 00000000 01011000
../OneWireSlave.cpp:192 readMode(): Read mode
../OneWireSlave.cpp:239 OneWireSlave(): OneWireSlave completed
../DS2408.cpp:21 DS2408(): Clearing listener
../main.cpp:24 main(): Online, SystemCoreClock = 48000000 Hz
../main.cpp:25 main(): Address = 00000222 2914971392
/media/uploads/deece/main.cpp
/media/uploads/deece/onewireslave.cpp
/media/uploads/deece/onewireslave.h
/media/uploads/deece/ds2408.h
/media/uploads/deece/ds2408.cpp
/media/uploads/deece/trace.h