[beagleboard] Cannot boot from MicroSD card containing Debian Jessie

2016-04-13 Thread Hồng Quân Nguyễn
Hello I have an BeagleBone Black with Debian Wheezy preinstalled. I bought an 8GB microSD card and wrote bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img image to it (with dd). The writing was complete. I mounted it in Ubuntu laptop to check its content. Then I plugged the card to BBB to boot

[beagleboard] BBB with nRF24L01+: Cannot send/receive data

2016-05-13 Thread Hồng Quân Nguyễn
Hi guys, I have difficulty controlling nRF24L01+ on BeagleBone Black using Python. I use this library https://github.com/jpbarraca/pynrf24 Here is my code: http://pastie.org/10836500 Here is output of printDetails: STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0 RX_ADDR_P0-1

[beagleboard] Re: How to Send email via Beaglebone Black?

2016-09-19 Thread Hồng Quân Nguyễn
I use mailgun.com to send email. It provides HTTP API. Here is a part of my code (I use Python and "requests" library to do HTTP request): message = { 'from': 'nore...@farm.agriconnect.vn', 'to': addr, 'subject': _('Data exported for %(cond_type)s') % ( {

[beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Hồng Quân Nguyễn
Hi, Is there any way to configure logic level for PWM on BeagleBone Black/Green? I want that in duty cycle, the level of pinout is 0V, instead of 3.3V. I'm using Debian 8 with kernel 4.1. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

[beagleboard] Failed to enable UART1, Ubuntu 16.04

2017-07-17 Thread Hồng Quân Nguyễn
I installed Ubuntu 16.04 to my BeagleBone Black and tried to enable UART1, but it seems to not works. Content of /etc/default/capemgr: # Default settings for capemgr. This file is sourced by /bin/sh from # /etc/init.d/capemgr.sh # Options to pass to capemgr CAPE=BB-UART1,BB-PWM1 Content of /

[beagleboard] Re: Failed to enable UART1, Ubuntu 16.04

2017-07-18 Thread Hồng Quân Nguyễn
Great, thank you. It works. /dev/ttyS1 still appears before I configure cape_mgr, but it doesn't work, cannot get data from serial. Now, I can see data flowing in /dev/ttyS1. Btw, the config-pin command doesn't work on my system: $ config-pin -q 924 P9_24 pinmux file not found! Cannot read pin