- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I have some problem on a psoc 4100 BLE (CYC84127) to configure UART RX pin with a pull-up by software.
Indeed, when using the provided function (UART_CONSOLE_rx_SetDriveMode(UART_CONSOLE_rx_DM_RES_UP) nothing happens on the pin.
Did I miss something or is it simply impossible to configure a pullup on the SCB-UART?
Thank you for your help.
Best regards
Arnaud
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arnaud,
When the pin assigned to UART, you can't use "UART_CONSOLE_rx_SetDriveMode(UART_CONSOLE_rx_DM_RES_UP" to control the pin.
If you want to change the UART pin drive mode, you need to config the HSIOM to let pin to GPIO.
Best regards
RING
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arnaud,
When the pin assigned to UART, you can't use "UART_CONSOLE_rx_SetDriveMode(UART_CONSOLE_rx_DM_RES_UP" to control the pin.
If you want to change the UART pin drive mode, you need to config the HSIOM to let pin to GPIO.
Best regards
RING
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RING,
Thank you for your reply.
Ok, but if I let the pin to GPIO, could you confirm I still can receive characters on UART pin?
Best Regards,
Arnaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, if the pin configured as GPIO, it can't receive data.
If you want to receive data, you can't control it as a GPIO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ring,
Sorry for my late reply.
Thank you for your help. We decided to let the UART pin as gpio in a way to have the pull-up setting.
Best Regards,
Arnaud