PSoC™ 4 Forum Discussions
Dear Sirs and Madams,
We read the stack area and vector table area from map file of PSoC4S.
<Stack area>
0x20000800 PROVIDE (__cy_stack, (ORIGIN (ram) + LENGTH (ram))) [! Provide] PROVIDE (__cy_heap_end, (__cy_stack --0x200))
The above code is the location of the stack area、
_cy_stack --Since it says 0x200,
is it correct to recognize that 0x20000600 to 0x200007FF is the stack area?
<Vector table>
.ramvectors 0x20000000 0x80. \ CortexM0p \ ARM_GCC_541 \ Debug \ Cm0plusStart.o
0x20000000 CyRam Vectors
The above code is the location of the vvector table area、
Is it correct to recognize that the size from 0x20000000 to 0x80 (up to 0x2000007F) is the area of the vector table?
Regards,
Show LessHello everyone! (about this all I had discussions with PY_21)
Still about “Broadcats+Observe” project sent us September 13th 2019, (here attached again, as we consider it as original Cypress reference),
we find that Broadcast Receiver does not receive all broadcasted BLE packets sent from an advertising device, much less!
This we find is a normal behavior, not a sporadic problem….
Even not enabling Advertising task and having only Observer working most time (scan time duty at 90 percent), the behavior is more less the same…
Here attached a trace, made on a device advertising at the same time, from:
- Nordic Semiconductor Sniffer, connected on WireShark Application
- Cypress “Broadcats+Observe” original project (where, as you can see, I only do data printing on Uart if packet comes from a particular sensor device family)
As you can see Cypress application looses many packets the device sends in the same narrow period of time…
Pls consider that our application is a simple BLE antitheft system where BLE devices only broadcast their state:
- Sensor alive
- Tamper alarm
- Alarm
- Low battery
And so on.
Show LessHello,
I have two Cy8C-042 Evaluation boards. I want to synchronize them.
They shared two GPIOs over optocouplers. 1 is the output of 1 and input of other and other ist input of 1 and output of other.
There is a test I have to perform for 10ms. for 1ms microcontroller but i cannot be able to synchronize them 100 percent.
at the start of the test, they are almost synchronized but later at the end of test they have a difference of around 200 to 300 uS.
Can somebody help me to figure out the problem?
Hello,
I am running into an issue translating code written for the CY8C4245AXI-484 chip on my pioneer board to CY8C4247AZI-M485 for the end product. I have attached the relevant code samples below. This code worked between two pioneer boards with the CY8C4245AXI-484 chip, but when I attempted to replicate it with the CY8C4247AZI-M485 chip I was having no luck. This code is a test of Bluetooth communication component of the project and uses the NRF2401 community component written by Carlos Dias. From my tests, it appears that nothing is received by the receiver as even with pulling data in the main, I cannot get my test LED to flash. Any ideas of why this translation does not work would be appreciated.
I have tried:
-Different NRF2401 Components
-Using the working pioneer board as both the transmitter and receiver to the CY8C4247AZI-M485.
-Confirmed my connections several times.
Show Less
Hello,
Please tell me about the temperature specification of CY8C4247LTQ-L485.
This product has a maximum operating temperature of 105°C, but the latest version of the datasheet (rev. J) only lists it at 85°C.
I checked the community pages here and here, but there was no clear answer.
What are the Ta and Tj values for the PSoC4200L Extended Industrial device?
Regards,
Shimamura
Show LessIn KBA210620 you say that 22Ohm resistors should be placed in series with the D+ and D- USB data line but the technical reference manual specifically says that the silicon has 22Ohm resistors internal to the chip:
18.1 Features
The PSoC USB has these features:
...
■ Integrated 22 USB termination resistors on D+ and D– lines, and 1.5-k pull-up resistor on the D+ line
Do I need external 22Ohm resistors as well?
KBA210620 also says that 0.1uF should be connected between VBUS and GND. Is this necessary even if VBUS is just used to sense the presence of the host, and enable the USB drivers? There is no reference to this in the trm.
I am having problems getting the USB to work reliably. It works as long as there is at least one USB hub between the PSOC and host controller on the PC, but not if the PSOC is connected directly to the host controller, either USB3 or USB2. Error message is : "USB device not recognised, the last device connected to this computer malfunctioned and windows does not recognise it" with device manager saying "Windows has stopped this device because it has reported problems. (Code 43). A request for the USB device descriptor failed."
Traces on the PCB between USB connector and PSOC are about 5mm in length, matched to about 0.5mm, and reasonably matched to 100 Ohms. PSOC is self powered.
Show Less
Hi,
What happens to PSoC4 if RS-232 serial cable is unplugged during a bootlodable update by the bootloader via UART? Does the bootloader keep waiting for the next UART reception?
Since it's only halfway written to Flash, it may lead to corruption of the bootlodable. But if PSoC4 is reset and the Host System sends the bootloadable image again, I think it's possible to update the bootloadable.
Best regards
Show LessHi, we are preparing our device with a cyble 012011-00 ble module for RED certification testing. One of the test requires to turn the radio/transmitter off/idle, but the receiver should be on. How can we do that? We are using EZ-serial firmware on the cyble, but I can't find any setting or parameter to do this. (the test is the receiver spurious emission test)
Show LessI am unable to use CySmart1.2 with the CY5670 CySmart USB Dongle supplied with the Bluetooth low energy pioneer kit.
I have been using this device successfully (with CySmart1.2) until this morning when CySmart1.2 simply won't show up anything in the Select BLE Dongle Target pop-up window on start-up.
I believe the issue to be with the windows driver as I have updated the dongle to the latest version (KitProg Version 2.18) using PSoc Programmer 3.26. I've been using this program successfully for the entire time I've worked with the pioneer kit so have no reason to suppose the issue lies here.
When I open device manager I see the yellow warning triangle on the 'KitProg USBUART' symbol located in the 'Other devices' dropdown. This shows the driver is not installed correctly and when I try to update the driver using the automatic search it states that it cannot locate the driver software. I have downloaded and installed CypressDriverInstaller_1 which has not resolved the issue. I have tried uninstalling the drivers and reinstalling them with no success.
I am running windows 7 on a 64 bit machine.
Show LessHello,
I am using PSOC4100S MCU CY8C4147AZI-S445 with PSOC Creator 4.2.
I want to switch Pins(P3.0(RX) and P3.1(TX)) from UART SCB to Input pins.
I followed this link.
In this Uart port is stopped, but In Uart tx pin, it reads value 0, but on the it is 3.3V (tested with multimeter). I used following code:
temp = CY_GET_REG32 (CYREG_HSIOM_PORT_SEL3);
// Configure UART_Rx pin to be controlled in firmware
CY_SET_REG32 (CYREG_HSIOM_PORT_SEL3, CY_GET_REG32 (CYREG_HSIOM_PORT_SEL3) & 0xFFFFFF00);
// Set the drive mode of UART Rx pin
UART_1_tx_SetDriveMode(UART_1_tx_DM_RES_UP);
//CY_SET_REG32 (CYREG_HSIOM_PORT_SEL3, temp);
Please help me for this issue.
Thank You
Show Less