- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some data packets are seemed to be missing in serial reception from Neurosky mindwave mobile sensor at 57600 baudrate. I don't know if it is due to actual baudrate in PSoC4 57143 UART standard mode.Please help me to fix this issue.
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interesting: I suppose the first GoTo in C-Code since 12 years.
I would suggest you to
Enable global interrupts
Increase the receiver and transmit buffer sizes to 50 bytes
Use GetRxBuffersize() API to check if there are any data in buffer and retrieve them when there are any.
You may receive 0x00 data from your UART or does it only send ASCII characters, your current code will not accept 0x00 bytes.
and btw: You are here in a PSoC3 forum, but you are asking for a PSoC4 project. Which Kit do you use?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe your processing is not fast enough and you are loosing packets (receiver buffer overrun). Check for this condition and signal it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi bob,
I'm trying to receive data from Neurosky Mindwave Mobile EEG sensor using HC05 bluetooth Module. I'm using UART SCB block with 57600 baudrate. I was supposed to get checksum bytes of 4,2,128,5s, But only receives 128s. Project file is attached below, please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interesting: I suppose the first GoTo in C-Code since 12 years.
I would suggest you to
Enable global interrupts
Increase the receiver and transmit buffer sizes to 50 bytes
Use GetRxBuffersize() API to check if there are any data in buffer and retrieve them when there are any.
You may receive 0x00 data from your UART or does it only send ASCII characters, your current code will not accept 0x00 bytes.
and btw: You are here in a PSoC3 forum, but you are asking for a PSoC4 project. Which Kit do you use?
Bob