Search found 23 matches
- Sun Oct 30, 2016 7:34 am
- Forum: MicroPython pyboard
- Topic: i2c init problem
- Replies: 6
- Views: 9061
- Sat Oct 29, 2016 9:39 pm
- Forum: MicroPython pyboard
- Topic: i2c init problem
- Replies: 6
- Views: 9061
i2c init problem
Hi,
MicroPython v1.8.5-75-g6a2c609 on 2016-10-29; PYBv1.0 with STM32F405RG
Type "help()" for more information.
>>> from machine import I2C
>>> i2c = I2C(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'sda' argument required
What I do wrong?
MicroPython v1.8.5-75-g6a2c609 on 2016-10-29; PYBv1.0 with STM32F405RG
Type "help()" for more information.
>>> from machine import I2C
>>> i2c = I2C(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'sda' argument required
What I do wrong?
- Sun Jan 04, 2015 8:19 pm
- Forum: Hardware Projects
- Topic: Driver for LCD display Nokia 5110
- Replies: 18
- Views: 30899
Re: Driver for LCD display Nokia 5110
Maybe I have a broken display. I don't want spend time for it anymore.
- Sun Jan 04, 2015 7:03 pm
- Forum: Hardware Projects
- Topic: Driver for LCD display Nokia 5110
- Replies: 18
- Views: 30899
Re: Driver for LCD display Nokia 5110
No, I haven't something like Arduino, only pyboard. I can't check it, but a display just from store. May be someone have this display and may check my library.
- Sat Jan 03, 2015 12:18 am
- Forum: Hardware Projects
- Topic: Driver for LCD display Nokia 5110
- Replies: 18
- Views: 30899
Re: Driver for disp. Nokia 5110
I wrote the script a little bit better, but it still does not work. I attemped to use SPI 1 and 2. I will try to write soft spi. My git here: https://github.com/inaugurator/upyd5110 # -*- coding: utf-8 -*- # Micropython board 1.0 library for Nokia 5110 display # author: Евгений # license: Apache 2.0...
- Thu Jan 01, 2015 2:34 am
- Forum: Hardware Projects
- Topic: Driver for LCD display Nokia 5110
- Replies: 18
- Views: 30899
Driver for LCD display Nokia 5110
Hi, I try to run display from Nokia 5110 with pyboard, but it does not work. I combined all variants of SPI options polarity, phase and significant bit, but it is unsuccessfully. What I am doing wrong? Thanks for any help. # driver for display Nokia 5110 for micropython # datasheet pcd8544 here: htt...
- Sun Nov 30, 2014 6:08 pm
- Forum: General Discussion and Questions
- Topic: CCM data RAM of STM32F405
- Replies: 8
- Views: 11967
Re: CCM data RAM of STM32F405
Ok. I hope it will be implemented in the future.
Thank you.
Thank you.
- Sun Nov 30, 2014 12:50 pm
- Forum: General Discussion and Questions
- Topic: CCM data RAM of STM32F405
- Replies: 8
- Views: 11967
Re: CCM data RAM of STM32F405
Is it possible to add option in boot.py, so that micropython may use CCM as part of RAM (with read-only mode for internal flash), when I use only external Micro SD? I think it could be efficient for some scripts.
- Sat Nov 29, 2014 8:22 pm
- Forum: General Discussion and Questions
- Topic: CCM data RAM of STM32F405
- Replies: 8
- Views: 11967
Re: CCM data RAM of STM32F405
Thank you.
But what about writing on sd card? I found that some flashes have 128 kbyte blocks.
But what about writing on sd card? I found that some flashes have 128 kbyte blocks.
- Sat Nov 29, 2014 10:16 am
- Forum: General Discussion and Questions
- Topic: CCM data RAM of STM32F405
- Replies: 8
- Views: 11967
CCM data RAM of STM32F405
Hi,
STM32F405 have 64 kbyte of CCM data RAM. As I understand, this is special RAM, and only CPU accessing to it. How micropython uses this memory? Why is it so big (1/3 of RAM)? Is it possible to relocate, for example, UART cache here? May I use it in someway?
Thanks.
STM32F405 have 64 kbyte of CCM data RAM. As I understand, this is special RAM, and only CPU accessing to it. How micropython uses this memory? Why is it so big (1/3 of RAM)? Is it possible to relocate, for example, UART cache here? May I use it in someway?
Thanks.