PSoC™ 4 Forum Discussions
This was part of another string and is a continuation of the observer/peripheral switching constantly.
As soon as we turn on scanning, the main loop crashes.
Sometimes I can get a scan report, sometimes not, any ideas would be appreciated.
Can you help, new bundle attached.
I am considering the CY8CMBR3108-LQXI.
We want to program this device using a miniprog4.
Does MiniProg4 support CY8CMBR3108-LQXI?
Best Regards,Show Less
NO, It's not AK-47, but it's an AK9750!
This is an IR sensor with I2C I/F from AsahiKASEI and the module was from Strawberry Linux
It has 4 IR sensors to be used detecting human or some warm object.
I wrote a sample program with CY8CKIT-044.
schematic was quite simple
UART, I2C and one interrupt from AK9750 and one from SW2 to switch mode between interrupt and polling.
As the 4 sensors covers area like below (the picture is from the datasheet)
I decided that it's a time to use my previous sample "vt100"
So I located the values of each sensors in diamond like positions.
The TeraTerm log looks something like below
I tried to locate an asterisk in the middle to reflect the value relation of IR1 and IR3, IR2 and IR4,
not quite good index, but ... well... I hope it's better than nothing.
The distance between the sensor and the object and the position of the object matters.
As far as I played with this, distance of 5cm~10cm seemed to be easy to see the value characteristics.
I have set CheckSumExcldue section (via bootloadable tab) to an impossible size of 256KB (my entire flash)
There was no compilation error or anything else.
At the end of the compilation, I did not see any change in Flash used.
Furthermore, The sizes below are constants, no matter the exclude section size set.
Flash used: 247478 of 262144 bytes (94.4%). Bootloader: 118016 bytes. Application: 129206 bytes. Metadata: 256 bytes.
How is the size of the checksum sector set in case it is larger than available free space?
I am referring to the image in docs:
when we design the Proximity function of psoc4 , what should we do the add the ESD/EMI Protection Design with intercom test?
when i use cy8ckit-042 & cy8ckit-024, it can't pass the intercom test, so do you have any advise to deal with intercom test, or use
cyckit-042 & cy8ckit-024 kit to add somthing to pass the intercom test,tks;Show Less
A couple of questions.
I am using PSOC 4200 BLE.
Where do I place the below code? In the bootloader, or the bootloadable?
Can both use this section?
how do I know the rows of the section? I would like to write it using CySysFlashWriteRow later.
Any examples will help a lot as well.
We are developing a mobile application based on custom BLE services. It will transfer a file (a hex file in this case but it's not important) to our custom BLE board which is based on CYBLE-012011. I wanted to ask you what is the best way to transfer a file over BLE. The file size will be 1 MB maximum.
What I plan is to create a custom characteristic with a maximum payload length. As I know, we can set the MTU size to 512 bytes manually with a handshake, that's okay. After handshaking the MTU size, we are planning to write the file in chunks to this characteristic. It will write 512 bytes every time and wait for the device (BLE server custom board) to send an acknowledgement. After getting the ACK, it will write the next chunk. My questions are below:
1: Are there any better ways to achieve this? Because there will be 2048 chunks to write a 1MB file. It will wait for an ACK every time from the device.
2: How should I send the ACK from the device to the phone? I think we can do this with the WriteResponse. We can also create another Characteristic for the ACK and notify the phone(BLE central) when the device is ready to receive the new chunk.
3: Where does the 512 byte MTU come from? I mean is this the maximum number of MTU that any BLE stack can allow according to the BLE SIG? Does this maximum number vary in different stacks? If yes, it can cause problems with different mobile phones. I want it to be generic and work in every phone model.
We have a request from our customer about KC BLE Regulatory Certification Test Firmware
At the KBA218786 ticket, you mentioned that these certification test firmwares are custom request to you.
We would like to get the test firmware for KC regulatory certification.
Would you provide this firmware to us?
Kimihiro IkedaShow Less