Search found 42 matches

by SureshVakati
Thu Aug 23, 2018 6:20 pm
Forum: General Discussion and Questions
Topic: Best way to debug with no USB
Replies: 6
Views: 3525

Re: Best way to debug with no USB

I have JTAG interface to program .hex file to the chip. I only have SPI, I2C and CAN interfaces brought out from chip, no UART pins. Is there any way to catch program logic errors using JTAG? As it is not going to show as a mass storage device, I think I have to use Frozen modules concept to make co...
by SureshVakati
Wed Aug 22, 2018 4:20 pm
Forum: General Discussion and Questions
Topic: Best way to debug with no USB
Replies: 6
Views: 3525

Best way to debug with no USB

I have a product with STM32L471RG and it doesn't have a USB circuitry. I took STM32L476-Disc config files and modified to build micro-python for this product.

Now I have to develop an application, which needs I2c, CAN busses. What is the best way to write and debug if there is no USB???

Thanks.
by SureshVakati
Thu Jan 04, 2018 7:34 pm
Forum: General Discussion and Questions
Topic: MicroPython Build process on Windows
Replies: 1
Views: 2161

MicroPython Build process on Windows

Hello, I have been using Micropython STM version on Linux OS, I am just curious to know whether can I do build firmware on Windows? If yes, what compilers do I need to install to build a firmware out of the source code? What is the best way to debug the application code? I am using Python Idle to ge...
by SureshVakati
Thu Dec 07, 2017 4:15 pm
Forum: General Discussion and Questions
Topic: Difference between ESP8266 vs WiPy
Replies: 2
Views: 2749

Difference between ESP8266 vs WiPy

Hi,
What are the main differences between ESP8266 WiFi board and WiPy boards in terms of micropython? Are there any additional features in Wipy? I couldn't find any comparison documents online. If anyone familiar, please let me know.

Thank you.
by SureshVakati
Thu Oct 19, 2017 4:29 pm
Forum: General Discussion and Questions
Topic: Best way to handle Async UART responses?
Replies: 1
Views: 1693

Best way to handle Async UART responses?

Hello Everyone,
WiFi scan and Bluetooth scan methods are generally asynchronous. I have a Redpines WiFi, Bluetooth, zigbee module. Most of the At command responses are asynchronous. Can anyone suggest me what is the best way to handle these responses in micropython?

Thank you!
by SureshVakati
Wed Sep 06, 2017 4:26 pm
Forum: General Discussion and Questions
Topic: SPWF04S WiFi Module with micropython
Replies: 2
Views: 2974

Re: SPWF04S WiFi Module with micropython

How did your test go?
by SureshVakati
Thu Aug 31, 2017 4:39 pm
Forum: General Discussion and Questions
Topic: SPWF04S WiFi Module with micropython
Replies: 2
Views: 2974

SPWF04S WiFi Module with micropython

Has anyone tried this Micropython enabled WiFi module? It has micropython 1.6, is there anyway that I can upgrade it to 1.9? No documentation was found on this. The module doesn't have easy way to edit and save scripts on file systems, like USB+MSC. The nice thing about it is rather than using AT co...
by SureshVakati
Fri Jul 28, 2017 6:43 pm
Forum: General Discussion and Questions
Topic: SPI read First byte is '\x00'
Replies: 5
Views: 4917

Re: SPI read First byte is '\x00'

Software SPI seems working fine with same Phase and Polarity, Don't know why hardware SPI.read is appending \x00. But My WiFI module SPI width is 16bit and it uses Litttle endian, so now I am having endian problems for both write and read

Software SPI only has 8bits width.
by SureshVakati
Thu Jul 27, 2017 8:36 pm
Forum: General Discussion and Questions
Topic: SPI read First byte is '\x00'
Replies: 5
Views: 4917

Re: SPI read First byte is '\x00'

SPI.read(2,0x0A) reads two byte while writing 0X0A on MOSI. Because of initial 0x00 append to my buffer, I am always getting my last byte in my next SPI.read().
by SureshVakati
Thu Jul 27, 2017 7:51 pm
Forum: General Discussion and Questions
Topic: SPI read First byte is '\x00'
Replies: 5
Views: 4917

Re: SPI read First byte is '\x00'

Perhaps you have a wrong phase/polarity? NO, The working C code has the same phase and polarity. I am not seeing any Clock for \x00 in my logic analyzer, Somehow the \x00 is appended to the buffer. If my Data Ready pin goes low, WiFi module enters in command mode, So if I do a SPI.read(1, 0x0A) aft...