Search found 12 matches
- Sun Dec 08, 2019 8:31 am
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - WebBLE getting files to the board
- Replies: 0
- Views: 1964
[PCA10028/NRF51] - WebBLE getting files to the board
Hi, I succesfuly built the BLE image for the nRF51822 board with BLUETOOTH_WEBBLUETOOTH_REPL enabled. I use https://aykevl.nl/apps/nus/ to access the board. --- The problem: how to transfer py scripts to the board e.g. ssd1306.py. --- Since the UART-REPL is disabled now I was thinking about os.dupte...
- Wed Dec 04, 2019 9:46 am
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - does the I2C work in 1.11?
- Replies: 4
- Views: 2513
Re: [PCA10028/NRF51] - does the I2C work in 1.11?
Yes, it's weird. I am mostly C developer for STM32 boards. And always implement a scan capability - these modules (OLED, FRAM) worked wine with my software. Started playing with MicroPython on nrf51 and came across this strange issue (the scan behavior). Then switched for a test to pyboard as this b...
- Tue Dec 03, 2019 8:50 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - does the I2C work in 1.11?
- Replies: 4
- Views: 2513
Re: [PCA10028/NRF51] - does the I2C work in 1.11?
Problem solved! - I looks like the scan shows too many addresses - whereas the pyboards does it right - see the previous post. - only option '0' works fine; the '-1' shows nothing if it comes to scanning >>> MicroPython v1.11-611-g7f24c2977-dirty on 2019-12-02; PCA10028 with NRF51822 Type "help()" f...
- Tue Dec 03, 2019 7:30 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - does the I2C work in 1.11?
- Replies: 4
- Views: 2513
Re: [PCA10028/NRF51] - does the I2C work in 1.11?
Just flashed pyboard with 1.11 and I2C works with the same I2C module:
>>> from machine import I2C, Pin
>>> i2c=I2C(1)
>>> i2c.scan()
[60, 76]
>>> from machine import I2C, Pin
>>> i2c=I2C(1)
>>> i2c.scan()
[60, 76]
- Tue Dec 03, 2019 4:27 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - does the I2C work in 1.11?
- Replies: 4
- Views: 2513
[PCA10028/NRF51] - does the I2C work in 1.11?
Hi, Has anyone tested the I2C on nrf51 running MicroPython 1.11? Tested both: i2c=I2C(-1, scl=Pin(1), sda=Pin(0)) i2c.scan() [] and i2c=I2C(0, scl=Pin(1), sda=Pin(0)) i2c.scan() [9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69...
- Sun Dec 01, 2019 8:57 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
- Replies: 10
- Views: 6310
Re: Building for the nRF51822 - PCA10028 board - some advice?
Right. Mine is little bit older - it's 6.3.1.
I'll enjoy the current build today. Then I'll try BLE. Actually the NUS.
Thanks again!
I'll enjoy the current build today. Then I'll try BLE. Actually the NUS.
Thanks again!
- Sun Dec 01, 2019 8:32 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
- Replies: 10
- Views: 6310
Re: Building for the nRF51822 - PCA10028 board - some advice?
Problem solved! I tried your firmware_pca10028_fc.hex (btw. it's different from my non-ble image). And it did not work. And here is the sad part: I had the st-link programmer connected to the board. After disconnecting it all works fine. It also works fine when the usb side of the st-link is connect...
- Sun Dec 01, 2019 8:18 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
- Replies: 10
- Views: 6310
Re: Building for the nRF51822 - PCA10028 board - some advice?
ok, it's flow control. thanks
- Sun Dec 01, 2019 8:17 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
- Replies: 10
- Views: 6310
Re: Building for the nRF51822 - PCA10028 board - some advice?
I studied the schematic: CP2102 pin 26 (=TXD) is connected to the pin P11 of the nrf51822.
The pins.csv defines the P11 as RX:
UART_TX,P9
UART_RX,P11
It looks fine for me.
Please clarify what the 'fc' means in your file name scheme.
Thanks
The pins.csv defines the P11 as RX:
UART_TX,P9
UART_RX,P11
It looks fine for me.
Please clarify what the 'fc' means in your file name scheme.
Thanks
- Sun Dec 01, 2019 7:01 pm
- Forum: Other Boards
- Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
- Replies: 10
- Views: 6310
Re: Building for the nRF51822 - PCA10028 board - some advice?
6. I tried to remove the RTS/CTS lines from the mpconfigboard.h but the build fails in this case due to lack of the RTS/CTS pins defined.
7. It looks like the RTS/CTS lines are in LOW state ( I believe LOW means accept new data).
7. It looks like the RTS/CTS lines are in LOW state ( I believe LOW means accept new data).