Search found 4 matches
- Fri Sep 23, 2016 2:40 am
- Forum: Programs, Libraries and Tools
- Topic: machine.I2C and pyb.I2C give very different scan results
- Replies: 5
- Views: 5903
Re: machine.I2C and pyb.I2C give very different scan results
Not sure about the differences in devices. I'll need to double check data sheets about clocks and such. My next debugging steps is to break out a logic analyser to compare the two scans. I'll post again with results.
- Thu Sep 22, 2016 7:51 pm
- Forum: Programs, Libraries and Tools
- Topic: machine.I2C and pyb.I2C give very different scan results
- Replies: 5
- Views: 5903
Re: machine.I2C and pyb.I2C give very different scan results
I should also share code version info:
MicroPython v1.8.4-40-g7ea3fa2-dirty on 2016-09-20; PYBv1.0 with STM32F405RG
MicroPython v1.8.4-40-g7ea3fa2-dirty on 2016-09-20; PYBv1.0 with STM32F405RG
- Thu Sep 22, 2016 7:06 pm
- Forum: Programs, Libraries and Tools
- Topic: machine.I2C and pyb.I2C give very different scan results
- Replies: 5
- Views: 5903
machine.I2C and pyb.I2C give very different scan results
I'm trying to use machine.I2C on a PyBoard, but I'm getting some interesting results when scanning the bus for devices. I have a number of devices attached. Using pyb.I2C and the default settings for I2C, I get: [39, 44, 72, 73, 90]. When I try this with machine.I2C, I only see a subset of those dev...
- Fri Nov 27, 2015 3:30 am
- Forum: General Discussion and Questions
- Topic: Sync DAC and ADC for a measurement
- Replies: 1
- Views: 3588
Sync DAC and ADC for a measurement
Hi all, I'm trying to sync a DAC waveform write with an ADC read. Both the adc and the dac are clocked to the same timer. I've noticed, using the code below, that there is an offset between the readout and the DAC buffer. I guess this is to be expected, as there is no trigger to synchronise the star...