Hello, I have a circuit with encoder that sends data to serial port in format "value\n". The length of value is variable.
I want to read the value by ChibiOS serial.
What is the best approach?
I had a look on shell.c, maybe I could get inspired.
Thanks
Vaclav
Search found 7 matches
- Fri Mar 15, 2019 2:55 pm
- Forum: General Support
- Topic: How to parse data from sensor (UART)
- Replies: 1
- Views: 2001
- Sat Mar 09, 2019 9:12 pm
- Forum: General Support
- Topic: ChibiStudio beginner - how to build community project
- Replies: 8
- Views: 4598
Re: ChibiStudio beginner - how to build community project
Thank you very much. Despite I successfully integrated uGFX I am still a newbie to ChibiOS. I play with it for a few days.
Vaclav
Vaclav
- Sat Mar 09, 2019 9:00 pm
- Forum: General Support
- Topic: ChibiStudio beginner - how to build community project
- Replies: 8
- Views: 4598
Re: ChibiStudio beginner - how to build community project
There doesn't seem to be a DMA conflict. However if eventually it was, I found this in mcuconf.h:
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
If system halts, how I can see this message("DMA failure")?
Thanks
Vaclav
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
If system halts, how I can see this message("DMA failure")?
Thanks
Vaclav
- Sat Mar 09, 2019 7:58 pm
- Forum: General Support
- Topic: ChibiStudio beginner - how to build community project
- Replies: 8
- Views: 4598
Re: ChibiStudio beginner - how to build community project
The demo RT-STM32-LWIP-FATFS-USB works. I bought STM32F746-Discovery board I already added there uGFX.
However, I also had a look at demo for SPI (from testhal\STM32\STM32F7xx\SPI\). This demo works too, but when I tried to integrate it into RT-STM32-LWIP-FATFS-USB, the system hangs.
I think it ...
However, I also had a look at demo for SPI (from testhal\STM32\STM32F7xx\SPI\). This demo works too, but when I tried to integrate it into RT-STM32-LWIP-FATFS-USB, the system hangs.
I think it ...
- Tue Mar 05, 2019 8:55 pm
- Forum: General Support
- Topic: ChibiStudio beginner - how to build community project
- Replies: 8
- Views: 4598
Re: ChibiStudio beginner - how to build community project
The RT-STM32-LWIP-FATFS-USB demo looks promising. Just have to change a few things in the configuration files and hopefully it is going to work 
Vaclav
Vaclav
- Tue Mar 05, 2019 5:51 pm
- Forum: General Support
- Topic: ChibiStudio beginner - how to build community project
- Replies: 8
- Views: 4598
Re: ChibiStudio beginner - how to build community project
Dear Giovanni,
thank you for a quick reply.
Actually what I am looking for is a working example of USB Host, which can be either for STM32F4-Discovery or STM32F767ZI-Nucleo, as those are the boards that I have.
Vaclav
thank you for a quick reply.
Actually what I am looking for is a working example of USB Host, which can be either for STM32F4-Discovery or STM32F767ZI-Nucleo, as those are the boards that I have.
Vaclav
- Tue Mar 05, 2019 5:12 pm
- Forum: General Support
- Topic: ChibiStudio beginner - how to build community project
- Replies: 8
- Views: 4598
ChibiStudio beginner - how to build community project
Hello,
I recently started with ChibiOS.
After some experiments with SW4STM32 I tried using ChibiStudio.
Projects from testhal compile fine, but I have problems with projects from community subdirectory.
When I try to build for example STM3F7xx-USB_MSD which is located in C:\ChibiStudio\chibios182 ...
I recently started with ChibiOS.
After some experiments with SW4STM32 I tried using ChibiStudio.
Projects from testhal compile fine, but I have problems with projects from community subdirectory.
When I try to build for example STM3F7xx-USB_MSD which is located in C:\ChibiStudio\chibios182 ...