Search found 6 matches

by gercha2
Fri Apr 14, 2017 8:39 pm
Forum: MicroPython pyboard
Topic: Can we drive headphones from the DAC+on board Op-Amp?
Replies: 10
Views: 5276

Re: Can we drive headphones from the DAC+on board Op-Amp?

Fortunately, I won't use DAC module in my pyboard for headphones. As I was just saying, I am focus on DAC module, specially with DAC-CR register because I am using DAC module for sampling a Digital waveform. The point is that I am going to sample a digital waveform just for testing purposes. I would...
by gercha2
Thu Apr 13, 2017 10:23 pm
Forum: MicroPython pyboard
Topic: Can we drive headphones from the DAC+on board Op-Amp?
Replies: 10
Views: 5276

Re: Can we drive headphones from the DAC+on board Op-Amp?

Hello everyone! I have an similar issue. I am testing DAC in my pyboard v1.1 and I used the basic configuration shown in: https://docs.micropython.org/en/latest/pyboard/library/pyb.DAC.html. this is DAC.write_timed(data, freq, *, mode=DAC.NORMAL) as dac1 = DAC(1) dac1.write_timed(buf1, pyb.Timer(6, ...
by gercha2
Sun Mar 26, 2017 7:48 pm
Forum: MicroPython pyboard
Topic: Consistent bitflips when using pyboard as SPI slave and other SPI weirdnesses
Replies: 11
Views: 3667

Re: Consistent bitflips when using pyboard as SPI slave and other SPI weirdnesses

Thank you!!!, I solved it. At last I got: "/x01/x02/x03/x04" I didn´t know where to put (spi.deinit), because I got a Type Error. So fortunately your ad was very useful. I missed where SPI stops reading for synchronization. Then I follow some procedures described in: https://docs.micropython.org/en/...
by gercha2
Sat Mar 25, 2017 2:47 am
Forum: MicroPython pyboard
Topic: Consistent bitflips when using pyboard as SPI slave and other SPI weirdnesses
Replies: 11
Views: 3667

Re: Consistent bitflips when using pyboard as SPI slave and other SPI weirdnesses

hello everyone, I guess I have the same issue, I checked and have both Rpi and pyboard v1.1 with the same mode and frequency. I have Rpi as master and it is sending 4 bytes through SPI: /0x01/0x02/0x03/0x04 in a loop. By otherhand, the pyboard is slave. It is receiving 4 bytes as is shown: b'\x04\x0...
by gercha2
Sun Jan 15, 2017 7:13 pm
Forum: Programs, Libraries and Tools
Topic: Can I use Commpy library in micropython?
Replies: 4
Views: 1641

Re: Can I use Commpy library in micropython?

Yes, http://veeresht.info/CommPy/ i am trying to implement a digital Communication protocol, by which I need to send more than 8 bits in every frame transmitted may be 1024 bits in every frame. I dont know if UART can works well with turbo coding or any other Error correcting code from Commpy librar...
by gercha2
Sun Jan 15, 2017 5:34 am
Forum: Programs, Libraries and Tools
Topic: Can I use Commpy library in micropython?
Replies: 4
Views: 1641

Can I use Commpy library in micropython?

Hello everyone,

I plan to buy 2 micropython boards and implement Commpy library to create a communications system between each other. Micropython can support this library? and if so, Can I use a analog or digital GPIO without any external board?

I appreciate your help!
:idea: